Skip to main content

Type Alias: MeshRef

type MeshRef = {
value: AssetRef<Mesh>;
submeshIndex: Int32;
shadowCastingMode: UInt8;
};

Defined in: node_modules/@3dverse/livelink.core/dist/_prebuild/engine_types/components.d.ts:547

Reference to a mesh.

Properties

value

value: AssetRef<Mesh>;

Defined in: node_modules/@3dverse/livelink.core/dist/_prebuild/engine_types/components.d.ts:551

UUID of the referenced mesh.


submeshIndex

submeshIndex: Int32;

Defined in: node_modules/@3dverse/livelink.core/dist/_prebuild/engine_types/components.d.ts:556

Index of the submesh inside the mesh's submesh array.

Default Value

0;

shadowCastingMode

shadowCastingMode: UInt8;

Defined in: node_modules/@3dverse/livelink.core/dist/_prebuild/engine_types/components.d.ts:561

Whether or not this mesh casts shadows.

Default Value

1;