PixelLightAPI
.
|
An anchor points holds the index to a vertex or bone. More...
#include <AnchorPoint.h>
Public Member Functions | |
PLMESH_API | AnchorPoint (const PLCore::String &sName="", bool bType=0, PLCore::uint32 nID=0, AnchorPointManager *pManager=nullptr) |
Constructor. | |
virtual PLMESH_API | ~AnchorPoint () |
Destructor. | |
PLMESH_API bool | GetType () const |
Returns the anchor type. | |
PLMESH_API void | SetType (bool bType=0) |
Sets the anchor type. | |
PLMESH_API PLCore::uint32 | GetID () const |
Returns the anchors vertex/bone ID. | |
PLMESH_API void | SetID (PLCore::uint32 nID=0) |
Sets the anchors vertex/bone ID. | |
virtual PLMESH_API AnchorPoint & | operator= (const AnchorPoint &cSource) |
An anchor points holds the index to a vertex or bone.
PLMESH_API PLMesh::AnchorPoint::AnchorPoint | ( | const PLCore::String & | sName = "" , |
bool | bType = 0 , |
||
PLCore::uint32 | nID = 0 , |
||
AnchorPointManager * | pManager = nullptr |
||
) |
Constructor.
[in] | sName | Name of the anchor point |
[in] | bType | Anchor type (0=vertex 1=bone) |
[in] | nID | ID of the vertex/bone the anchor is attached to |
[in] | pManager | Anchor point manager using this element, can be a null pointer |
virtual PLMESH_API PLMesh::AnchorPoint::~AnchorPoint | ( | ) | [virtual] |
Destructor.
PLMESH_API bool PLMesh::AnchorPoint::GetType | ( | ) | const |
Returns the anchor type.
PLMESH_API void PLMesh::AnchorPoint::SetType | ( | bool | bType = 0 | ) |
Sets the anchor type.
[in] | bType | Anchor type (0=vertex 1=bone) |
PLMESH_API PLCore::uint32 PLMesh::AnchorPoint::GetID | ( | ) | const |
Returns the anchors vertex/bone ID.
Reimplemented from PLCore::Element< AnchorPoint >.
PLMESH_API void PLMesh::AnchorPoint::SetID | ( | PLCore::uint32 | nID = 0 | ) |
Sets the anchors vertex/bone ID.
[in] | nID | ID of the vertex/bone the anchor is attached to |
virtual PLMESH_API AnchorPoint& PLMesh::AnchorPoint::operator= | ( | const AnchorPoint & | cSource | ) | [virtual] |
|