Class GameObjectSceneInstance
Descriptor of a glTF scene instance
Inherited Members
Namespace: GLTFast
Syntax
public class GameObjectSceneInstance
Properties
Cameras
List of instantiated cameras
Declaration
public IReadOnlyList<Camera> Cameras { get; }
Property Value
Type | Description |
---|---|
IReadOnlyList<Camera> |
LegacyAnimation
Animation component. Is null if scene has no animation clips. Only available if the built-in Animation module is enabled.
Declaration
public Animation LegacyAnimation { get; }
Property Value
Type | Description |
---|---|
Animation |
Lights
List of instantiated lights
Declaration
public IReadOnlyList<Light> Lights { get; }
Property Value
Type | Description |
---|---|
IReadOnlyList<Light> |