The model mesh part which holds the Geometry data such as Vertices, Normal, UV Texture Coordinates, Binormal and Tangent data.
More...
|
| | vxModelMeshPart (string modelPath, ModelMeshPart part) |
| | Initializes a new instance of the T:VerticesEngine.Base.vxModelMeshPart class.
|
| |
| | vxModelMeshPart (vxMeshVertex[] vertices, ushort[] indices, int primitiveCount) |
| | Initializes a new instance of the T:VerticesEngine.Graphics.vxModelMeshPart class.
|
| |
|
| vxModelMeshPart (Vector3[] vertices, ushort[] indices, int primitiveCount) |
| |
|
virtual void | SetData (vxMeshVertex[] vertices, ushort[] indices) |
| |
|
virtual void | GetData (out vxMeshVertex[] vertices, out ushort[] indices) |
| |
| virtual void | Draw (Effect drawEffect) |
| | Draws this mesh with the given effect.
|
| |
|
void | Dispose () |
| |
|
|
int | TriangleCount = 0 |
| |
|
int | VertexCount |
| |
|
VertexBuffer | VertexBuffer |
| | The vertex buffer.
|
| |
|
IndexBuffer | IndexBuffer |
| | The index buffer.
|
| |
|
object | Tag |
| | Mesh Name.
|
| |
|
int | StartIndex = 0 |
| |
|
int | VertexOffset = 0 |
| |
The model mesh part which holds the Geometry data such as Vertices, Normal, UV Texture Coordinates, Binormal and Tangent data.
◆ vxModelMeshPart() [1/2]
| VerticesEngine.Graphics.vxModelMeshPart.vxModelMeshPart |
( |
string | modelPath, |
|
|
ModelMeshPart | part ) |
Initializes a new instance of the T:VerticesEngine.Base.vxModelMeshPart class.
- Parameters
-
| Engine | Engine. |
| part | The part to extract the Position, Normal, UV, Tangent and BiNormal data from. |
◆ vxModelMeshPart() [2/2]
| VerticesEngine.Graphics.vxModelMeshPart.vxModelMeshPart |
( |
vxMeshVertex[] | vertices, |
|
|
ushort[] | indices, |
|
|
int | primitiveCount ) |
Initializes a new instance of the T:VerticesEngine.Graphics.vxModelMeshPart class.
- Parameters
-
| Engine | Engine. |
| vertices | Vertices. |
| indices | Indices. |
| primitiveCount | Primitive count. |
◆ Draw()
| virtual void VerticesEngine.Graphics.vxModelMeshPart.Draw |
( |
Effect | drawEffect | ) |
|
|
virtual |
Draws this mesh with the given effect.
- Parameters
-
◆ NumVertices
| int VerticesEngine.Graphics.vxModelMeshPart.NumVertices |
|
get |
Gets the number vertices.
The number vertices.
The documentation for this class was generated from the following file:
- /github/workspace/src/VerticesEngine/src.shared/Graphics/Model/vxModelMeshPart.cs