PrimitiveMesh
Inherited By: , CubeMesh, , PlaneMesh, , QuadMesh,
Category: Core
Properties
Description
Base class for all primitive meshes. Handles applying a Material to a primitive mesh. Examples include , CubeMesh, , PlaneMesh, , QuadMesh, and .
- AABB custom_aabb
Overrides the with one defined by user for use with frustum culling. Especially useful to avoid unnexpected culling when using a shader to offset vertices.
- bool flip_faces
The current of the primitive mesh.
Method Descriptions
- Array get_mesh_arrays ( ) const
Returns mesh arrays used to constitute surface of . Mesh array can be used with ArrayMesh to create new surface.