Magnetoculus
Visualisation de champs en VR avec Oculus
|
Public Member Functions | |
MeshInformation (Mesh mesh) | |
void | UpdateMesh () |
void | Reset () |
int | GetVerticesSize () |
Public Attributes | |
Mesh | m_Mesh |
List< Vector3 > | m_Vertices |
List< Vector2 > | m_UV |
List< Color > | m_Colors |
List< int > | m_Triangles |
int | m_VerticesIndex |
Class that manages a mesh. It stores a list of vertices, triangles and UV, and an index to help the generation process to compute those lists. Whenever the lists are ready the call to the method UpdateMesh will set up the mesh.
MeshInformation.MeshInformation | ( | Mesh | mesh | ) |
int MeshInformation.GetVerticesSize | ( | ) |
void MeshInformation.Reset | ( | ) |
void MeshInformation.UpdateMesh | ( | ) |
Clear the mesh and sets its vertices / triangles / UV.
List<Color> MeshInformation.m_Colors |
Mesh MeshInformation.m_Mesh |
List<int> MeshInformation.m_Triangles |
List<Vector2> MeshInformation.m_UV |
List<Vector3> MeshInformation.m_Vertices |
int MeshInformation.m_VerticesIndex |