C++ Java Unity
Java Reference
Mesh Class Reference

Public Member Functions

boolean equals (Object obj)
 
int getNumVertices ()
 Get the number of vertices. More...
 
boolean hasPositions ()
 Returns true if the mesh contains positions. More...
 
ByteBuffer getPositions ()
 Provides access to the array of positions. More...
 
boolean hasNormals ()
 Returns true if the mesh contains surface normals. More...
 
ByteBuffer getNormals ()
 Provides access to the array of surface normals. More...
 
boolean hasUVs ()
 Returns true if the mesh contains texture coordinates. More...
 
ByteBuffer getUVs ()
 Provides access to the array of texture coordinates. More...
 
int getNumTriangles ()
 Returns the number of triangles. More...
 
ByteBuffer getTriangles ()
 Provides access to the array triangle indices. More...
 

Member Function Documentation

boolean equals ( Object  obj)
int getNumVertices ( )

Get the number of vertices.

boolean hasPositions ( )

Returns true if the mesh contains positions.

ByteBuffer getPositions ( )

Provides access to the array of positions.

boolean hasNormals ( )

Returns true if the mesh contains surface normals.

ByteBuffer getNormals ( )

Provides access to the array of surface normals.

boolean hasUVs ( )

Returns true if the mesh contains texture coordinates.

ByteBuffer getUVs ( )

Provides access to the array of texture coordinates.

int getNumTriangles ( )

Returns the number of triangles.

ByteBuffer getTriangles ( )

Provides access to the array triangle indices.