C#Code
C#Code
Classes | Public Member Functions | Protected Attributes
Libraries._3D.ModelVertexData.ExtractModelData Class Reference

List of all members.

Classes

class  ModelDataPosNormTex
struct  TriangleVertexIndices

Public Member Functions

bool ProcessPosNormTex (string modelPath, Libraries.AssetManager assetM)
VertexPositionNormalTexture[] ExtractPosNormTex (string modelPath, Libraries.AssetManager assetM)
bool ProcessPosNormTex (string modelPath, Libraries.AssetManager assetM)
VertexPositionNormalTexture[] ExtractPosNormTex (string modelPath, Libraries.AssetManager assetM)

Protected Attributes

Dictionary< string,
BaseExtractedModelData
m_assets = new Dictionary<string, BaseExtractedModelData>()
 Contains all the loaded model information sets.

Detailed Description

This is a model data extraction class. It extracts model data like verticies and stores it in a format outside of the model. It can also hold a copy of the data so that the model only needs to be loaded once. It can convert the model data to other formats, as needed.


Member Function Documentation

VertexPositionNormalTexture [] Libraries._3D.ModelVertexData.ExtractModelData.ExtractPosNormTex ( string  modelPath,
Libraries.AssetManager  assetM 
)

This is a model data extraction class. It extracts model data like verticies and stores it in a format outside of the model. It can also hold a copy of the data so that the model only needs to be loaded once. It can convert the model data to other formats, as needed. The model will be stored with the model path as the ID. modelPath - Path to the model to extract data from.

assetM - Asset manager to use.
VertexPositionNormalTexture [] Libraries._3D.ModelVertexData.ExtractModelData.ExtractPosNormTex ( string  modelPath,
Libraries.AssetManager  assetM 
)

This is a model data extraction class. It extracts model data like verticies and stores it in a format outside of the model. It can also hold a copy of the data so that the model only needs to be loaded once. It can convert the model data to other formats, as needed. The model will be stored with the model path as the ID. modelPath - Path to the model to extract data from.

assetM - Asset manager to use.
bool Libraries._3D.ModelVertexData.ExtractModelData.ProcessPosNormTex ( string  modelPath,
Libraries.AssetManager  assetM 
)

Load the given model, process and store the verticies. The format it is stored in is VertexPositionNormalTexture.

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

Return:
Value is true of the model was process or was already stored, false if a error occured.
bool Libraries._3D.ModelVertexData.ExtractModelData.ProcessPosNormTex ( string  modelPath,
Libraries.AssetManager  assetM 
)

Load the given model, process and store the verticies. The format it is stored in is VertexPositionNormalTexture.

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

Return:
Value is true of the model was process or was already stored, false if a error occured.

Member Data Documentation

Contains all the loaded model information sets.


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