Table of Contents

Class GltfImportOptions

Namespace
S1MAPI.Gltf.Data
Assembly
S1MAPI_Mono.dll

Options for controlling GLTF import behavior. Create an instance and pass it to GltfImporter constructor, or use the fluent API on GltfImporter for inline configuration.

public sealed class GltfImportOptions
Inheritance
GltfImportOptions
Inherited Members

Constructors

GltfImportOptions()

public GltfImportOptions()

Properties

EmissionIntensity

Multiplier for emissive color intensity. Values greater than 1.0 create HDR emission for neon/glow effects. Default is 1.0 (no change).

public float EmissionIntensity { get; set; }

Property Value

float

GenerateMissingNormals

Whether to generate missing normals.

public bool GenerateMissingNormals { get; set; }

Property Value

bool

GenerateMissingTangents

Whether to generate missing tangents for normal mapping.

public bool GenerateMissingTangents { get; set; }

Property Value

bool

ImportAnimations

Whether to import animations.

public bool ImportAnimations { get; set; }

Property Value

bool

ImportBlendShapes

Whether to import morph targets (blend shapes).

public bool ImportBlendShapes { get; set; }

Property Value

bool

ImportCameras

Whether to import cameras.

public bool ImportCameras { get; set; }

Property Value

bool

ImportSkins

Whether to import skinned meshes with bone weights.

public bool ImportSkins { get; set; }

Property Value

bool

ReadableMeshes

Whether to set imported meshes readable (allows CPU access).

public bool ReadableMeshes { get; set; }

Property Value

bool

RootName

Name for the root GameObject.

public string RootName { get; set; }

Property Value

string

ScaleFactor

Scale factor applied to all positions.

public float ScaleFactor { get; set; }

Property Value

float

Shader

Shader to use for materials. If null, uses Standard shader.

public Shader? Shader { get; set; }

Property Value

Shader