HPL3/Amnesia: Rebirth/Scripting/cBoneState
This page has been automatically generated, but it needs descriptions added to the various fields/functions in order to be complete. |
Have some helpful descriptions to add to this class? Edit this page and add your insight to the Wiki!
Contents
- 1 Fields
- 2 Functions
- 3 Details
- 3.1 AddChild
- 3.2 AddEntity
- 3.3 AddRotation
- 3.4 AddRotation
- 3.5 AddScale
- 3.6 AddTranslation
- 3.7 ApplyPostAnimTransform
- 3.8 ApplyPreAnimTransform
- 3.9 ClearEntities
- 3.10 CreateChild
- 3.11 GetBody
- 3.12 GetChildIterator
- 3.13 GetColliderBody
- 3.14 GetCustomFlags
- 3.15 GetLocalMatrix
- 3.16 GetLocalPosition
- 3.17 GetName
- 3.18 GetParent
- 3.19 GetPostAnimTransform
- 3.20 GetPreAnimTransform
- 3.21 GetUsePostAnimTransform
- 3.22 GetUsePreAnimTransform
- 3.23 GetWorldMatrix
- 3.24 GetWorldPosition
- 3.25 IsActive
- 3.26 NormalizeRotation
- 3.27 RemoveChild
- 3.28 RemoveEntity
- 3.29 SetActive
- 3.30 SetBody
- 3.31 SetColliderBody
- 3.32 SetCustomFlags
- 3.33 SetMatrix
- 3.34 SetParent
- 3.35 SetPosition
- 3.36 SetPostTransform
- 3.37 SetPostTransformReversed
- 3.38 SetPreTransform
- 3.39 SetUsePostTransform
- 3.40 SetUsePreTransform
- 3.41 SetVisible
- 3.42 SetWorldMatrix
- 3.43 SetWorldPosition
- 3.44 UpdateEntityChildren
- 3.45 UpdateMatrix
- 4 References
Fields
cBoneState has no public fields.
Functions
Details
AddChild
AddEntity
AddRotation
void AddRotation(const cVector3f &in avRot,
eEulerRotationOrder aOrder)
Parameters
- avRot (cVector3f) —
- aOrder (eEulerRotationOrder) —
Returns:
- void
AddRotation
void AddRotation(const cQuaternion &in aqRotation,
bool abNormalize = true)
Parameters
- aqRotation (cQuaternion) —
- abNormalize (bool) —
Returns:
- void
AddScale
AddTranslation
ApplyPostAnimTransform
void ApplyPostAnimTransform(bool abSetChildrenUpdated)
Parameters
- abSetChildrenUpdated (bool) —
Returns:
- void
ApplyPreAnimTransform
void ApplyPreAnimTransform(bool abSetChildrenUpdated)
Parameters
- abSetChildrenUpdated (bool) —
Returns:
- void
ClearEntities
void ClearEntities()
Returns:
- void
CreateChild
cNode3D@ CreateChild(const tString &in asName,
bool abAutoDeleteChildren = true)
Parameters
- asName (tString) —
- abAutoDeleteChildren (bool) —
Returns:
- cNode3D@—
GetBody
iPhysicsBody@ GetBody()
Returns:
- iPhysicsBody@—
GetChildIterator
cNode3DIterator@ GetChildIterator()
Returns:
- cNode3DIterator@—
GetColliderBody
iPhysicsBody@ GetColliderBody()
Returns:
- iPhysicsBody@—
GetCustomFlags
int GetCustomFlags()
Returns:
- int—
GetLocalMatrix
const cMatrixf& GetLocalMatrix()
Returns:
- const cMatrixf&—
GetLocalPosition
cVector3f GetLocalPosition()
Returns:
- cVector3f—
GetName
const tString& GetName()
Returns:
- const tString&—
GetParent
cNode3D@ GetParent()
Returns:
- cNode3D@—
GetPostAnimTransform
const cMatrixf& GetPostAnimTransform()
Returns:
- const cMatrixf&—
GetPreAnimTransform
const cMatrixf& GetPreAnimTransform()
Returns:
- const cMatrixf&—
GetUsePostAnimTransform
bool GetUsePostAnimTransform()
Returns:
- bool—
GetUsePreAnimTransform
bool GetUsePreAnimTransform()
Returns:
- bool—
GetWorldMatrix
const cMatrixf& GetWorldMatrix()
Returns:
- const cMatrixf&—
GetWorldPosition
cVector3f GetWorldPosition()
Returns:
- cVector3f—
IsActive
bool IsActive()
Returns:
- bool—
NormalizeRotation
void NormalizeRotation(float afWeightMul = 1.0f)
Parameters
- afWeightMul (float) —
Returns:
- void
RemoveChild
RemoveEntity
SetActive
void SetActive(bool abX)
Parameters
- abX (bool) —
Returns:
- void
SetBody
SetColliderBody
SetCustomFlags
void SetCustomFlags(int alX)
Parameters
- alX (int) —
Returns:
- void
SetMatrix
void SetMatrix(const cMatrixf &in a_mtxTransform,
bool abSetChildrenUpdated = true)
Parameters
- a_mtxTransform (cMatrixf) —
- abSetChildrenUpdated (bool) —
Returns:
- void
SetParent
SetPosition
SetPostTransform
void SetPostTransform(const cMatrixf &in a_mtxTransform)
Parameters
- a_mtxTransform (cMatrixf) —
Returns:
- void
SetPostTransformReversed
void SetPostTransformReversed(bool abX)
Parameters
- abX (bool) —
Returns:
- void
SetPreTransform
void SetPreTransform(const cMatrixf &in a_mtxTransform)
Parameters
- a_mtxTransform (cMatrixf) —
Returns:
- void
SetUsePostTransform
void SetUsePostTransform(bool abX)
Parameters
- abX (bool) —
Returns:
- void
SetUsePreTransform
void SetUsePreTransform(bool abX)
Parameters
- abX (bool) —
Returns:
- void
SetVisible
int SetVisible(bool abX,
bool abCascade)
Parameters
- abX (bool) —
- abCascade (bool) —
Returns:
- int—
SetWorldMatrix
void SetWorldMatrix(const cMatrixf &in a_mtxWorldTransform)
Parameters
- a_mtxWorldTransform (cMatrixf) —
Returns:
- void
SetWorldPosition
void SetWorldPosition(const cVector3f &in avWorldPos)
Parameters
- avWorldPos (cVector3f) —
Returns:
- void
UpdateEntityChildren
void UpdateEntityChildren()
Returns:
- void
UpdateMatrix
void UpdateMatrix(bool abSetChildrenUpdated)
Parameters
- abSetChildrenUpdated (bool) —
Returns:
- void