CubeMesh3
Class in Zigurous.Graphics
Declaration
public sealed class CubeMesh3 : MonoBehaviour
Description
Generates a new cube mesh with 3 submeshes (one for each axis) and applies it to the mesh filter.
Static Properties
trianglesX | The triangles of the cube for the faces in the x-axis (Read only). |
trianglesY | The triangles of the cube for the faces in the y-axis (Read only). |
trianglesZ | The triangles of the cube for the faces in the z-axis (Read only). |
Methods
Apply | Applies a new cube mesh to the mesh filter. |
Create | Creates a new cube mesh with 3 submeshes (one for each axis). |