Interface: BoxMeshProps
WebSG.BoxMeshProps
BoxMeshProps is an interface for defining properties of a box mesh.
Table of contents
Properties
Properties
material
• Optional material: Material
The material to use for the mesh.
Defined in
segments
• Optional segments: ArrayLike<number>
The number of segments to use in the x,y,z directions.
Defined in
size
• Optional size: ArrayLike<number>
The size of the mesh in meters in the x,y,z directions.