C#Code
C#Code
Public Member Functions | Static Public Attributes | Protected Member Functions | Protected Attributes
Libraries._3D.ModelVertexData.ExtractModelData.ModelDataPosNormTex Class Reference
Inheritance diagram for Libraries._3D.ModelVertexData.ExtractModelData.ModelDataPosNormTex:
Libraries._3D.ModelVertexData.BaseExtractedModelData Libraries._3D.ModelVertexData.BaseExtractedModelData

List of all members.

Public Member Functions

 ModelDataPosNormTex ()
bool Extract (string modelPath, Libraries.AssetManager assetM)
VertexPositionNormalTexture[] GetCopyOfVerticies ()
 ModelDataPosNormTex ()
bool Extract (string modelPath, Libraries.AssetManager assetM)
VertexPositionNormalTexture[] GetCopyOfVerticies ()

Static Public Attributes

static readonly
Libraries.StringType 
s_format = new Libraries.StringType("Position_Normal_Texture")
 ID of the format that is stored.

Protected Member Functions

void ExtractMeshPart (ModelMeshPart meshPart, Matrix transform)
void ExtractMeshPart (ModelMeshPart meshPart, Matrix transform)

Protected Attributes

VertexPositionNormalTexture[] m_verticies
 Vertex data.

Detailed Description

Extracts and stores model data in the format VertexPositionNormalTexture. Model data is assumed to be in one mesh with one mesh part.


Constructor & Destructor Documentation

Libraries._3D.ModelVertexData.ExtractModelData.ModelDataPosNormTex.ModelDataPosNormTex ( )

Default constructor.

Libraries._3D.ModelVertexData.ExtractModelData.ModelDataPosNormTex.ModelDataPosNormTex ( )

Default constructor.


Member Function Documentation

bool Libraries._3D.ModelVertexData.ExtractModelData.ModelDataPosNormTex.Extract ( string  modelPath,
Libraries.AssetManager  assetM 
)

Extracts and stores model data in the format VertexPositionNormalTexture.

modelPath - Path to the model to load.
assetM - Asset manager to use when loading the model.

Return:
Value is true if the extraction was successful, false if not.
bool Libraries._3D.ModelVertexData.ExtractModelData.ModelDataPosNormTex.Extract ( string  modelPath,
Libraries.AssetManager  assetM 
)

Extracts and stores model data in the format VertexPositionNormalTexture.

modelPath - Path to the model to load.
assetM - Asset manager to use when loading the model.

Return:
Value is true if the extraction was successful, false if not.
void Libraries._3D.ModelVertexData.ExtractModelData.ModelDataPosNormTex.ExtractMeshPart ( ModelMeshPart  meshPart,
Matrix  transform 
) [protected]

Extracts and stores model data in the format VertexPositionNormalTexture.

modelPath - Path to the model to load.
assetM - Asset manager to use when loading the model.

Return:
Value is true if the extraction was successful, false if not.
void Libraries._3D.ModelVertexData.ExtractModelData.ModelDataPosNormTex.ExtractMeshPart ( ModelMeshPart  meshPart,
Matrix  transform 
) [protected]

Extracts and stores model data in the format VertexPositionNormalTexture.

modelPath - Path to the model to load.
assetM - Asset manager to use when loading the model.

Return:
Value is true if the extraction was successful, false if not.
VertexPositionNormalTexture [] Libraries._3D.ModelVertexData.ExtractModelData.ModelDataPosNormTex.GetCopyOfVerticies ( )

Copies the stored verticies and returns them.

Return:
Value is a array copied from the stored array of verticies, null if no verticies are stored.

VertexPositionNormalTexture [] Libraries._3D.ModelVertexData.ExtractModelData.ModelDataPosNormTex.GetCopyOfVerticies ( )

Copies the stored verticies and returns them.

Return:
Value is a array copied from the stored array of verticies, null if no verticies are stored.


Member Data Documentation

Vertex data.

static readonly Libraries StringType Libraries::_3D::ModelVertexData.ExtractModelData.ModelDataPosNormTex::s_format = new Libraries.StringType("Position_Normal_Texture") [static]

ID of the format that is stored.


The documentation for this class was generated from the following files:
 All Classes Namespaces Files Functions Variables Enumerations Properties