InstanceAsset#
- class gs_nyx.nyx_py_sdk.InstanceAsset#
Bases:
objectAn instance placed in the scene. The active fields depend on ‘type’; type-specific accessors raise RuntimeError when used on the wrong type.
Constructors
Construct a default-initialized instance asset.
Attributes
If True, convert from Z-up source data to the engine's Y-up convention on import.
If True, the dynamic mesh connectivity (triangle indices) can change at runtime, it's used for surfaces that are remeshed every frame.
Number of triangles in the dynamic mesh buffer.
Number of vertices in the dynamic mesh buffer.
If False, the instance is excluded from rendering.
Per-instance material override.
Path to the mesh file.
Human-readable name of the instance.
World-space position of the instance.
Shape of the 3D primitive.
World-space rotation of the instance.
World-space scale of the instance.
If True, generate smooth shading normals on import.
Path to the referenced scene file.
Kind of instance; selects which type-specific fields are valid.
Unique identifier of the instance.