SceneAsset#
- class gs_nyx.nyx_py_sdk.SceneAsset#
Bases:
objectTop-level scene container holding all instances, lights, cameras, environment maps, animations and light fields.
Constructors
Construct an empty scene using the SDK’s default allocator.
Methods
Resize the animation array to the given length.
Return the number of animation entries.
Resize the camera array to the given length.
Return the number of camera entries.
Resize the env_map array to the given length.
Return the number of env_map entries.
Return the animation at the given index.
Return the camera at the given index.
Return the env_map at the given index.
Return the instance at the given index.
Return the light at the given index.
Return the light_field at the given index.
Resize the instance array to the given length.
Return the number of instance entries.
Resize the light_field array to the given length.
Return the number of light_field entries.
Resize the light array to the given length.
Return the number of light entries.
Replace the animation at the given index.
Replace the camera at the given index.
Replace the env_map at the given index.
Replace the instance at the given index.
Replace the light at the given index.
Replace the light_field at the given index.
Attributes
Root folder used to resolve relative asset paths within the scene.
Scene file format version.