Meshcomponent

MeshComponent class

Mesh component, used to display simple meshes in the game (box, sphere, cylinder)

See MeshComponentData for the data schema used to create a mesh component

Signature:

export declare class MeshComponent extends Component3D<MeshComponentData> 

Extends: Component3D<MeshComponentData>

Properties

PropertyModifiersTypeDescription
meshMeshThis is the threejs mesh created from component data