Skip to content

Mesh

Represents a mesh to be rendered. Internally the mesh is automatically instanced for performance.

Properties

.castShadow: Boolean

Whether this mesh should cast a shadow. Defaults to true.

.receiveShadow: Boolean

Whether this mesh should receive a shadow. Defaults to true.

.visible: Boolean

Whether the mesh is visible and rendered. Defaults to true.

.{...Node}

Inherits all Node properties