|
|
void | setNBones (int nBones) |
| |
|
int | getNBones () |
| |
| void | setVerticesWeight (vector< vector< float >> weights) |
| |
|
void | setInitialPosition (vector< glm::mat4 > initialPos) |
| |
| | Mesh () |
| |
| | Mesh (float *indices, float *normalPoints, float *uv, unsigned int *triangles, int nPoints, int nTriangles) |
| |
| | Mesh (vector< MeshVertex > vertex, vector< unsigned short > triangles) |
| |
| | Mesh (vector< glm::vec3 > vertices, vector< int > usedIndex, vector< int > usedTris) |
| |
| virtual | ~Mesh () |
| |
| void | setScaleFactor (float f) |
| |
| float | getScaleFactor () |
| |
| glm::vec3 | getBoundsMin () |
| |
| glm::vec3 | getBoundsMax () |
| |
| glm::vec3 | getAverageCenter () |
| |
| float | getVertexArrayID () |
| |
| float | getVertexBuffer () |
| |
| float | getTrianglesBuffer () |
| |
| int | getTrianglesCount () |
| |
| int | getVerticesCount () |
| |
| void | addVertex (glm::vec3 position, glm::vec2 uv, glm::vec3 normal) |
| |
| void | addTriangle (int vertexIndex) |
| |
|
void | setVertices (vector< MeshVertex > meshVertices) |
| |
|
void | setTriangles (vector< unsigned short > triangles) |
| |
| void | createBuffers () |
| |
| void | calculateBounds () |
| |
| vector< glm::vec3 > | getNonDuplicateMeshVertex () |
| |
| | Asset () |
| |
| virtual | ~Asset () |
| |
| void | setAssetID (unsigned int newAssetID) |
| |
| unsigned int | getAssetID () const |
| |
| string | getPath () |
| |
| void | setPath (string newPath) |
| |
| void | setName (string name) |
| |
| string | getName () |
| |
| void | setCRC (int crc) |
| |
| int | setCRC () |
| |
| void SkinnedMesh::setVerticesWeight |
( |
vector< vector< float >> |
weights | ) |
|
Adds a new vertex to the mesh
The documentation for this class was generated from the following files:
- /Users/guilherme_cunha/Dev/GITHUB/GUInity/Source/SkinnedMesh.hpp
- /Users/guilherme_cunha/Dev/GITHUB/GUInity/Source/SkinnedMesh.cpp