NodeMesh
From Crumbled World Wiki
Inheritance
Static functions
| return | function | description |
|---|---|---|
| NodeMesh | new() | Create a new Instance of the the NodeMesh |
| NodeMesh | new(RenderMode renderMode) | Create a new Instance of the the NodeMesh |
Functions
| return | function | description |
|---|---|---|
| clearMesh() | ||
| setVertexType(VertexType in1) | ||
| setVertexType(VertexType in1, VertexType in2) | ||
| setVertexType(VertexType in1, VertexType in2, VertexType in3) | ||
| setVertexType(VertexType in1, VertexType in2, VertexType in3, VertexType in4) | ||
| setVertexType(VertexType in1, VertexType in2, VertexType in3, VertexType in4, VertexType in5) | ||
| setVertexType(VertexType in1, VertexType in2, VertexType in3, VertexType in4, VertexType in5, VertexType in6) | ||
| setVertexType(VertexType in1, VertexType in2, VertexType in3, VertexType in4, VertexType in5, VertexType in6, VertexType in7) | ||
| setVertexType(VertexType in1, VertexType in2, VertexType in3, VertexType in4, VertexType in5, VertexType in6, VertexType in7, VertexType in8) | ||
| bindVertexToShaderName(string name1) | ||
| bindVertexToShaderName(string name1, string name2) | ||
| bindVertexToShaderName(string name1, string name2, string name3) | ||
| bindVertexToShaderName(string name1, string name2, string name3, string name4) | ||
| bindVertexToShaderName(string name1, string name2, string name3, string name4, string name5) | ||
| bindVertexToShaderName(string name1, string name2, string name3, string name4, string name5, string name6) | ||
| bindVertexToShaderName(string name1, string name2, string name3, string name4, string name5, string name6, string name7) | ||
| bindVertexToShaderName(string name1, string name2, string name3, string name4, string name5, string name6, string name7, string name8) | ||
| Vec4 | getVertex(int index) | |
| Vec4 | getNormal(int index) | |
| Vec2 | getUvCoord(int index) | |
| Vec4 | getColor(int index) | |
| Vec4 | getTangent(int index) | |
| int | getIndex(int index) | |
| int | getNumVertex() | |
| int | getNumNormal() | |
| int | getNumUvCoord() | |
| int | getNumColor() | |
| int | getNumTangents() | |
| int | getNumIndex() | |
| removeVertex() | ||
| removeNormal() | ||
| removeUvCoord() | ||
| removeColor() | ||
| removeTangent() | ||
| removeIndex() | ||
| setVertex(int index, Vec4 vertex) | ||
| setNormal(int index, Vec4 normal) | ||
| setUvCoord(int index, Vec2 uvCoord) | ||
| setColor(int index, Vec4 color) | ||
| setTangent(int index, Vec4 tangent) | ||
| setIndex(int index, int index) | ||
| addVertex(Object in1) | When the setVertexType has been set this function can be used to add an entire vertex at once. | |
| addVertex(Object in1, Object in2,) | When the setVertexType has been set this function can be used to add an entire vertex at once. | |
| addVertex(Object in1, Object in2, Object in3) | When the setVertexType has been set this function can be used to add an entire vertex at once. | |
| addVertex(Object in1, Object in2, Object in3, Object in4) | When the setVertexType has been set this function can be used to add an entire vertex at once. | |
| addVertex(Object in1, Object in2, Object in3, Object in4, Object in5) | When the setVertexType has been set this function can be used to add an entire vertex at once. | |
| addVertex(Object in1, Object in2, Object in3, Object in4, Object in5, Object in6) | When the setVertexType has been set this function can be used to add an entire vertex at once. | |
| addVertex(Object in1, Object in2, Object in3, Object in4, Object in5, Object in6, Object in7) | When the setVertexType has been set this function can be used to add an entire vertex at once. | |
| addVertex(Object in1, Object in2, Object in3, Object in4, Object in5, Object in6, Object in7, Object in8) | When the setVertexType has been set this function can be used to add an entire vertex at once. | |
| addPosition(Vec3 vertex) | ||
| addPosition(Vec4 vertex) | ||
| addNormal(Vec3 normal) | ||
| addNormal(Vec4 normal) | ||
| addUvCoord(Vec2 uvCoord) | ||
| addColor(Vec3 color) | ||
| addColor(Vec4 color) | ||
| addTangent(Vec3 tangent) | ||
| addTangent(Vec4 tangent) | ||
| addIndex(int index) | ||
| addTriangleIndex(int index1, int index2, int index3) | ||
| bool | addMesh(Mesh mesh) | This will make a copy of the mesh in the original position of the mesh.
Returns true when a copy was made else return false. |
| compile() |