CubeMesh
Class in Zigurous.Graphics
Declaration
public sealed class CubeMesh : MonoBehaviourDescription
Generates a new cube mesh and applies it to the mesh filter.
Static Properties
| sharedMesh | A cube mesh that can be shared across many objects (Read only). |
| triangles | The triangles of the cube (Read only). |
| corners | The corners of the cube (Read only). |
| vertices | The verticies of the cube (Read only). |
| uv | The UV coordinates of the cube (Read only). |
Methods
| Apply | Applies a new cube mesh to the mesh filter. |
| Create | Creates a new cube mesh. |