Class GltfImportOptions
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
GenerateMissingNormals
Whether to generate missing normals.
public bool GenerateMissingNormals { get; set; }
Property Value
GenerateMissingTangents
Whether to generate missing tangents for normal mapping.
public bool GenerateMissingTangents { get; set; }
Property Value
ImportAnimations
Whether to import animations.
public bool ImportAnimations { get; set; }
Property Value
ImportBlendShapes
Whether to import morph targets (blend shapes).
public bool ImportBlendShapes { get; set; }
Property Value
ImportCameras
Whether to import cameras.
public bool ImportCameras { get; set; }
Property Value
ImportSkins
Whether to import skinned meshes with bone weights.
public bool ImportSkins { get; set; }
Property Value
ReadableMeshes
Whether to set imported meshes readable (allows CPU access).
public bool ReadableMeshes { get; set; }
Property Value
RootName
Name for the root GameObject.
public string RootName { get; set; }
Property Value
ScaleFactor
Scale factor applied to all positions.
public float ScaleFactor { get; set; }
Property Value
Shader
Shader to use for materials. If null, uses Standard shader.
public Shader? Shader { get; set; }
Property Value
- Shader