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:556
Reference to a mesh to render (with submesh selection).
Properties
value
value: AssetRef<Mesh>;
Defined in: node_modules/@3dverse/livelink.core/dist/_prebuild/engine_types/components.d.ts:560
Referenced mesh (UUID).
submeshIndex
submeshIndex: Int32;
Defined in: node_modules/@3dverse/livelink.core/dist/_prebuild/engine_types/components.d.ts:565
Index of the submesh within 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:570
Shadow casting mode for this mesh.
Default Value
1;