Public Member Functions | |
| cNode3D (const tString &asName="", bool abAutoDeleteChildren=true) | |
| iNode * | CreateChild () |
| cNode3D * | CreateChild3D (const tString &asName="", bool abAutoDeleteChildren=true) |
| cVector3f | GetLocalPosition () |
| cMatrixf & | GetLocalMatrix () |
| cVector3f | GetWorldPosition () |
| cMatrixf & | GetWorldMatrix () |
| void | SetPosition (const cVector3f &avPos) |
| void | SetMatrix (const cMatrixf &a_mtxTransform, bool abSetChildrenUpdated=true) |
| void | SetWorldPosition (const cVector3f &avWorldPos) |
| void | SetWorldMatrix (const cMatrixf &a_mtxWorldTransform) |
| const char * | GetName () |
| cNode3D * | GetParent () |
| void | AddRotation (const cVector3f &avRot, eEulerRotationOrder aOrder) |
| void | AddRotation (const cQuaternion &aqRotation) |
| void | AddScale (const cVector3f &avScale) |
| void | AddTranslation (const cVector3f &avTrans) |
| void | SetSource (const tString &asSource) |
| const char * | GetSource () |
| void | UpdateMatrix (bool abSetChildrenUpdated) |
| void | SetParent (cNode3D *apNode) |
| void | AddChild (cNode3D *apChild) |
| virtual iSaveData * | CreateSaveData () |
| virtual void | SaveToSaveData (iSaveData *apSaveData) |
| virtual void | LoadFromSaveData (iSaveData *apSaveData) |
| virtual void | SaveDataSetup (cSaveObjectHandler *apSaveObjectHandler, cGame *apGame) |
| void | UpdateWorldTransform () |
| void | SetWorldTransformUpdated () |
Public Member Functions inherited from hpl::iNode | |
| int | SetVisible (bool abX, bool abCascade) |
| bool | AddEntity (iEntity *apEntity) |
| bool | RemoveEntity (iEntity *apEntity) |
| void | ClearEntities () |
| void | SetActive (bool abX) |
| bool | IsActive () |
| cNodeIterator | GetChildIterator () |
| cEntityIterator | GetEntityIterator () |
Public Member Functions inherited from hpl::iSaveObject | |
| int | GetSaveObjectId () |
| void | SetIsSaved (bool abX) |
| bool | IsSaved () |
Additional Inherited Members | |
Protected Attributes inherited from hpl::iNode | |
| tEntityList | mlstEntity |
| tNodeList | mlstNode |
| bool | mbActive |
Protected Attributes inherited from hpl::iSaveObject | |
| iSaveData * | mpSaveData |
| void hpl::cNode3D::UpdateMatrix | ( | bool | abSetChildrenUpdated | ) |
Updates the matrix with the added scales, translations and rotation. It also resets these values.
|
virtual |
Creates the SaveData that this class uses.
Reimplemented from hpl::iNode.
|
virtual |
Save it's data to a SaveData
Reimplemented from hpl::iNode.
|
virtual |
Load it's data from a SaveData
Reimplemented from hpl::iNode.
|
virtual |
After all objects have been created, this function is called to enable setup.
Reimplemented from hpl::iNode.