![]() |
KudanAR - Android
|
Collaboration diagram for ARMesh:Public Member Functions | |
| ARMesh () | |
| void | setVertextBuffer (ARVertexBuffer vertexBuffer) |
| int | getNumbumberOfVertices () |
| int | getVertexDataStride () |
| void | setBones (List< ARBoneNode > bones) |
| void | addBone (ARBoneNode bone) |
| List< ARBoneNode > | getBones () |
| ARMesh (NativeMesh nativeMesh) | |
| ARMesh (int nativeVertexBuffer, int nativeIndexBuffer, boolean hasNormals, boolean hasUVs, boolean hasTangents, int maxBonesPerVertex) | |
| void | createTestMeshNoUV (float width, float height) |
| void | createTestMesh (float width, float height) |
| ARVertexBuffer | getVertexBuffer () |
| void | createTestMesh2 (float width, float height) |
| void | createTestMeshWithUvs (float width, float height, float u, float u2, float v, float v2, boolean rotate, boolean update) |
| void | createTestMeshWithUvs (float width, float height, float u, float u2, float v, float v2) |
| boolean | prepareRenderer (ARMeshNode meshNode) |
| int | getNumberOfIndices () |
| void | addBlendShapeChannel (ARBlendShapeChannel channel) |
A class that represents a mesh on a model
|
inline |
Initialises an ARMesh with a NativeMesh.
| nativeMesh |
|
inline |
Create a mesh with natively allocated vertex and index buffers
| nativeVertexBuffer | |
| nativeIndexBuffer | |
| hasNormals | |
| hasUVs | |
| hasTangents | |
| maxBonesPerVertex |
|
inline |
Adds a ARBlendShapeChannel to the ARMesh's ARBlendShapeChannel. Used for adding blend shape deformations.
| channel | The blend shape channel added. |
|
inline |
Adds ARBoneNode to the list of ARBoneNodes in the ARMesh.
| bone | a single ARBoneNode |
|
inline |
Creates a flat mesh with UV map with coordinates in range(0..1,0..1).
| width | Mesh width. |
| height | Mesh height. |
|
inline |
Initialises flat mesh with UV map with coordinates in range(0..1,0..1).
| width | Mesh width. |
| height | Mesh height. |
|
inline |
Creates a flat mesh with no UV map.
| width | Mesh width. |
| height | Mesh height. |
|
inline |
Initialises flat mesh with two UV maps with coordinates in range(0..u,0...v) and (0..u2,0...v2)..
| width | Mesh width. |
| height | Mesh height. |
| u | UV map width. |
| v | UV map height. |
| u2 | UV2 map width. |
| v2 | UV2 map height. |
| rotate | |
| update | Whetehr the mesh should update the vertex buffer. |
|
inline |
Initialises flat mesh with two UV map with coordinates in range(0..u,0...v) and (0..u2,0...v2)..
| width | Mesh width. |
| height | Mesh height. |
| u | UV map width. |
| v | UV map height. |
|
inline |
Returns a list of the ARBoneNodes
|
inline |
Return the number of indices that are in the mesh.
|
inline |
Return the number of vertices in the mesh.
|
inline |
Returns the ARMesh's vertex buffer
|
inline |
Return the vertex data stride for the mesh.
|
inline |
|
inline |
Sets list of ARBoneNodes in an ARMesh.
| bones | a List of ARBoneNones |
|
inline |
Set vertex buffer for the mesh.
| vertexBuffer |