Class InstantiationSettings
Instantiation settings
Inherited Members
Namespace: GLTFast
Syntax
[Serializable]
public class InstantiationSettings
Properties
Layer
Instantiated objects will be assigned to this layer.
Declaration
public int Layer { get; set; }
Property Value
Type | Description |
---|---|
Int32 |
LightIntensityFactor
Light intensity values are multiplied by this factor.
Declaration
public float LightIntensityFactor { get; set; }
Property Value
Type | Description |
---|---|
Single |
Mask
Can be used to exclude component instantiation based on type.
Declaration
public ComponentType Mask { get; set; }
Property Value
Type | Description |
---|---|
ComponentType |
SceneObjectCreation
Scene object creation method. Determines whether or when a GameObject/Entity representing the scene should get created.
Declaration
public SceneObjectCreation SceneObjectCreation { get; set; }
Property Value
Type | Description |
---|---|
SceneObjectCreation |
SkinUpdateWhenOffscreen
Corresponds to updateWhenOffscreen When true, calculate the mesh bounds on every frame, even when the mesh is not visible.
Declaration
public bool SkinUpdateWhenOffscreen { get; set; }
Property Value
Type | Description |
---|---|
Boolean |