PrimitiveMesh
Inherited By: , CubeMesh, , PlaneMesh, , PrismMesh, , SphereMesh
Base class for all primitive meshes. Handles applying a to a primitive mesh.
Overrides the AABB with one defined by user for use with frustum culling. Especially useful to avoid unnexpected culling when using a shader to offset vertices.
- flip_faces
If set, the order of the vertices in each triangle are reversed resulting in the backside of the mesh being drawn.
- Material material
The current of the primitive mesh.
Returns mesh arrays used to constitute surface of Mesh. The result can be passed to to create a new surface. For example: