Vertices Engine  v1.9.2.92
A Cross Platform game engine developed by Virtex Edge Design.
Loading...
Searching...
No Matches
VerticesEngine.Graphics.vxModelMesh Class Reference

The model mesh. More...

Inheritance diagram for VerticesEngine.Graphics.vxModelMesh:
VerticesEngine.Graphics.vxLineRenderer.vxLineRendererMesh VerticesEngine.Graphics.vxTerrainModelMesh

Public Member Functions

Texture2D GetTexture (MeshTextureType type)
 
void AddTexture (MeshTextureType type, Texture2D texture)
 
 vxModelMesh ()
 Initializes a new instance of the T:VerticesEngine.Base.vxModelMesh class.
 
 vxModelMesh (vxModelMesh mesh)
 
 vxModelMesh (Vector3[] Vertices, int[] indices)
 
void Dispose ()
 
virtual void Draw (vxMaterial material)
 Draws a mesh with the specified material.
 
virtual void Draw (Effect drawEffect)
 Draws a mesh with the specified effect.
 

Public Attributes

string Name
 Mesh Name.
 
List< vxModelMeshPartMeshParts = new List<vxModelMeshPart>()
 The model mesh parts.
 

Protected Member Functions

virtual void OnDisposed ()
 

Detailed Description

The model mesh.

Constructor & Destructor Documentation

◆ vxModelMesh()

VerticesEngine.Graphics.vxModelMesh.vxModelMesh ( )

Initializes a new instance of the T:VerticesEngine.Base.vxModelMesh class.

Parameters
EngineEngine Reference

Member Function Documentation

◆ Draw() [1/2]

virtual void VerticesEngine.Graphics.vxModelMesh.Draw ( Effect drawEffect)
virtual

Draws a mesh with the specified effect.

Parameters
drawEffect

◆ Draw() [2/2]

virtual void VerticesEngine.Graphics.vxModelMesh.Draw ( vxMaterial material)
virtual

Draws a mesh with the specified material.

Parameters
material

Reimplemented in VerticesEngine.Graphics.vxLineRenderer.vxLineRendererMesh.


The documentation for this class was generated from the following file: