PixelLightAPI  .
Public Member Functions
PLMesh::VertexWeights Class Reference

Vertex weights class for managing a list of weights per vertex. More...

#include <VertexWeights.h>

List of all members.

Public Member Functions

PLMESH_API VertexWeights ()
 Constructor.
PLMESH_API ~VertexWeights ()
 Destructor.
PLMESH_API PLCore::Array
< PLCore::uint32 > & 
GetWeights ()
 Get the vertex weight indices array.
PLMESH_API const PLCore::Array
< PLCore::uint32 > & 
GetWeights () const
PLMESH_API VertexWeightsoperator= (const VertexWeights &cSource)
 Copy operator.
PLMESH_API bool operator== (const VertexWeights &cVertexWeights) const
 Compares two vertex weights.

Detailed Description

Vertex weights class for managing a list of weights per vertex.

Note:
  • A vertex can have multiple weights

Constructor & Destructor Documentation

Constructor.

Destructor.


Member Function Documentation

PLMESH_API PLCore::Array<PLCore::uint32>& PLMesh::VertexWeights::GetWeights ( )

Get the vertex weight indices array.

Returns:
Vertex weight indices array
Note:
PLMESH_API const PLCore::Array<PLCore::uint32>& PLMesh::VertexWeights::GetWeights ( ) const
PLMESH_API VertexWeights& PLMesh::VertexWeights::operator= ( const VertexWeights cSource)

Copy operator.

Parameters:
[in]cSourceSource to copy from
Returns:
This vertex weights
PLMESH_API bool PLMesh::VertexWeights::operator== ( const VertexWeights cVertexWeights) const

Compares two vertex weights.

Parameters:
[in]cVertexWeightsVertex weights to compare with
Returns:
'true' if both vertex weights are equal, else 'false'

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


PixelLight PixelLight 0.9.10-R1
Copyright (C) 2002-2011 by The PixelLight Team
Last modified Fri Dec 23 2011 15:51:21
The content of this PixelLight document is published under the
Creative Commons Attribution-NonCommercial-ShareAlike 3.0 Unported