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

Imports an *.obj file, parsing out the Vertices, Texture UV Coordinates as well as Vertice Normals. More...

Public Member Functions

 vxModelVoxel (string path)
 Load's a *.OBJ File.
 

Public Attributes

List< Vector3 > Vertices
 Gets or sets the collection of Vertices.
 
List< Vector3 > Normals
 Gets or sets the collection of Normals.
 
List< Vector2 > TextureUVCoordinate
 Gets or sets the collection of texture UV coordinates.
 
List< VertexPositionNormalTexture > MeshVertices
 Gets or sets the collection of Mesh Vertices.
 

Properties

Texture2D Texture [get, set]
 The Model Texture.
 

Detailed Description

Imports an *.obj file, parsing out the Vertices, Texture UV Coordinates as well as Vertice Normals.

Constructor & Destructor Documentation

◆ vxModelVoxel()

VerticesEngine.Graphics.vxModelVoxel.vxModelVoxel ( string path)

Load's a *.OBJ File.

Parameters
pathPath.

Member Data Documentation

◆ MeshVertices

List<VertexPositionNormalTexture> VerticesEngine.Graphics.vxModelVoxel.MeshVertices

Gets or sets the collection of Mesh Vertices.

The collection of Mesh Verteices which hold all of the arraies of Vertex, Normal, UV Coordinate Data to be passed as one large pool of data to the graphics card to limit draw calls as well as allowing for a psuedo Instance Mesh look on Multiple Platforms.

◆ Normals

List<Vector3> VerticesEngine.Graphics.vxModelVoxel.Normals

Gets or sets the collection of Normals.

The vertices.

◆ TextureUVCoordinate

List<Vector2> VerticesEngine.Graphics.vxModelVoxel.TextureUVCoordinate

Gets or sets the collection of texture UV coordinates.

The texture UV coordinate.

◆ Vertices

List<Vector3> VerticesEngine.Graphics.vxModelVoxel.Vertices

Gets or sets the collection of Vertices.

The vertices.

Property Documentation

◆ Texture

Texture2D VerticesEngine.Graphics.vxModelVoxel.Texture
getset

The Model Texture.

The texture.


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