Untold Engine
Beta v0.0.16
docs
|
The U4DVertexData represents attribute data for a 3D entity. More...
Public Member Functions | |
U4DVertexData () | |
Constructor for the class. | |
~U4DVertexData () | |
Destructor for the class. | |
void | addVerticesDataToContainer (U4DVector3n &uData) |
Method which adds the entity's mesh vertices into a container. More... | |
void | addNormalDataToContainer (U4DVector3n &uData) |
Method which adds the entity's mesh normal vertices into a container. More... | |
void | addUVDataToContainer (U4DVector2n &uData) |
Method which adds the entity's mesh uv coordinates into a container. More... | |
void | addTangetDataToContainer (U4DVector4n &uData) |
Method which adds the entity's mesh tangent vertices into a container. More... | |
void | addIndexDataToContainer (U4DIndex &uData) |
Method which adds the entity's mesh indices into a container. More... | |
void | addConvexHullVerticesToContainer (U4DVector3n &uData) |
Method which adds the entity's mesh convex-hull vertices into a container. More... | |
void | addVertexWeightsToContainer (U4DVector4n &uData) |
Method which adds the entity's mesh bone weights into a container. More... | |
void | addBoneIndicesToContainer (U4DVector4n &uData) |
Method which adds the entity's mesh bone indices into a container. More... | |
void | addConvexHullEdgesDataToContainer (U4DSegment &uData) |
Method which adds the entity's mesh convex-hull edges into a container. More... | |
void | addConvexHullFacesDataToContainer (U4DTriangle &uData) |
Method which adds the entity's mesh convex-hull faces into a container. More... | |
void | setModelDimension (U4DVector3n &uData) |
Method which sets the entity's mesh dimension. More... | |
std::vector< U4DVector3n > | getVerticesDataFromContainer () |
Method which returns the container holding the entity's mesh vertices. More... | |
std::vector< U4DVector3n > | getConvexHullVerticesFromContainer () |
Method which returns the container holding the entity's mesh convex-hull vertices. More... | |
std::vector< U4DSegment > | getConvexHullEdgesDataFromContainer () |
Method which returns the container holding the entity's mesh convex-hull edges. More... | |
std::vector< U4DTriangle > | getConvexHullFacesDataFromContainer () |
Method which returns the container holding the entity's mesh convex-hull faces. More... | |
U4DVector3n | getModelDimension () |
Method which returns the entity's mesh dimension. More... | |
Public Attributes | |
std::vector< U4DVector3n > | verticesContainer |
Vector containing the entity's mesh vertices. | |
std::vector< U4DVector3n > | normalContainer |
Vector containing the entity's mesh normal vertices. | |
std::vector< U4DVector2n > | uVContainer |
Vector containing the entity's mesh uv coordinates. | |
std::vector< U4DVector4n > | tangentContainer |
Vector containing the entity's mesh tangent vertices. | |
std::vector< U4DIndex > | indexContainer |
Vector containing the entity's mesh indices. | |
std::vector< U4DVector3n > | convexHullVerticesContainer |
Vector containing the entity's mesh convex-hull vertices. | |
std::vector< U4DVector4n > | vertexWeightsContainer |
Vector containing the entity's mesh bone weight vertices. | |
std::vector< U4DVector4n > | boneIndicesContainer |
Vector containing the entity's mesh bone indices. | |
std::vector< U4DSegment > | convexHullEdgesContainer |
Vector containing the entity's mesh convex-hull edges. | |
std::vector< U4DTriangle > | convexHullFacesContainer |
Vector containing the entity's mesh convex-hull faces. | |
U4DVector3n | modelDimension |
3D vector containing the dimensions of the mesh | |
The U4DVertexData represents attribute data for a 3D entity.
void U4DEngine::U4DVertexData::addBoneIndicesToContainer | ( | U4DVector4n & | uData | ) |
Method which adds the entity's mesh bone indices into a container.
uData | Entity's mesh bone indices |
void U4DEngine::U4DVertexData::addConvexHullEdgesDataToContainer | ( | U4DSegment & | uData | ) |
Method which adds the entity's mesh convex-hull edges into a container.
uData | Entity's mesh convex-hull edges |
void U4DEngine::U4DVertexData::addConvexHullFacesDataToContainer | ( | U4DTriangle & | uData | ) |
Method which adds the entity's mesh convex-hull faces into a container.
uData | Entity's mesh convex-hull faces |
void U4DEngine::U4DVertexData::addConvexHullVerticesToContainer | ( | U4DVector3n & | uData | ) |
Method which adds the entity's mesh convex-hull vertices into a container.
uData | Entity's mesh convex-hull vertices |
void U4DEngine::U4DVertexData::addIndexDataToContainer | ( | U4DIndex & | uData | ) |
Method which adds the entity's mesh indices into a container.
uData | Entity's mesh indices |
void U4DEngine::U4DVertexData::addNormalDataToContainer | ( | U4DVector3n & | uData | ) |
Method which adds the entity's mesh normal vertices into a container.
uData | Entity's mesh normal vertices |
void U4DEngine::U4DVertexData::addTangetDataToContainer | ( | U4DVector4n & | uData | ) |
Method which adds the entity's mesh tangent vertices into a container.
uData | Entity's mesh tangent vertices |
void U4DEngine::U4DVertexData::addUVDataToContainer | ( | U4DVector2n & | uData | ) |
Method which adds the entity's mesh uv coordinates into a container.
uData | Entity's mesh uv coordinates |
void U4DEngine::U4DVertexData::addVertexWeightsToContainer | ( | U4DVector4n & | uData | ) |
Method which adds the entity's mesh bone weights into a container.
uData | Entity's mesh bone weights |
void U4DEngine::U4DVertexData::addVerticesDataToContainer | ( | U4DVector3n & | uData | ) |
Method which adds the entity's mesh vertices into a container.
uData | Entity's mesh vertices |
std::vector< U4DSegment > U4DEngine::U4DVertexData::getConvexHullEdgesDataFromContainer | ( | ) |
Method which returns the container holding the entity's mesh convex-hull edges.
std::vector< U4DTriangle > U4DEngine::U4DVertexData::getConvexHullFacesDataFromContainer | ( | ) |
Method which returns the container holding the entity's mesh convex-hull faces.
std::vector< U4DVector3n > U4DEngine::U4DVertexData::getConvexHullVerticesFromContainer | ( | ) |
Method which returns the container holding the entity's mesh convex-hull vertices.
U4DVector3n U4DEngine::U4DVertexData::getModelDimension | ( | ) |
Method which returns the entity's mesh dimension.
std::vector< U4DVector3n > U4DEngine::U4DVertexData::getVerticesDataFromContainer | ( | ) |
Method which returns the container holding the entity's mesh vertices.
void U4DEngine::U4DVertexData::setModelDimension | ( | U4DVector3n & | uData | ) |
Method which sets the entity's mesh dimension.
uData | 3D vector holding the length, width and height of the entity's mesh |