Difference between revisions of "HPL3/Amnesia: Rebirth/Scripting/cNode3D"
(Created page with "{{ScriptingStub}} Have some helpful descriptions to add to this class? Edit this page and add your insight to the Wiki! ==Fields== cNode3D has no public fields. ==Functions...") |
(No difference)
|
Latest revision as of 22:44, 15 November 2020
|
|
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 GetChildIterator
- 3.12 GetCustomFlags
- 3.13 GetLocalMatrix
- 3.14 GetLocalPosition
- 3.15 GetName
- 3.16 GetParent
- 3.17 GetPostAnimTransform
- 3.18 GetPreAnimTransform
- 3.19 GetUsePostAnimTransform
- 3.20 GetUsePreAnimTransform
- 3.21 GetWorldMatrix
- 3.22 GetWorldPosition
- 3.23 IsActive
- 3.24 NormalizeRotation
- 3.25 RemoveChild
- 3.26 RemoveEntity
- 3.27 SetActive
- 3.28 SetCustomFlags
- 3.29 SetMatrix
- 3.30 SetParent
- 3.31 SetPosition
- 3.32 SetPostTransform
- 3.33 SetPostTransformReversed
- 3.34 SetPreTransform
- 3.35 SetUsePostTransform
- 3.36 SetUsePreTransform
- 3.37 SetVisible
- 3.38 SetWorldMatrix
- 3.39 SetWorldPosition
- 3.40 UpdateEntityChildren
- 3.41 UpdateMatrix
- 4 References
Fields
cNode3D has no public fields.
Functions
| Return Type | Function And Description |
|---|---|
| void | AddChild(cNode3D@ apChild) |
| bool | AddEntity(iEntity3D@ apEntity) |
| void | AddRotation(const cVector3f &in avRot, eEulerRotationOrder aOrder) |
| void | AddRotation(const cQuaternion &in aqRotation, bool abNormalize = true) |
| void | AddScale(const cVector3f &in avScale) |
| void | AddTranslation(const cVector3f &in avTrans) |
| void | ApplyPostAnimTransform(bool abSetChildrenUpdated) |
| void | ApplyPreAnimTransform(bool abSetChildrenUpdated) |
| void | ClearEntities() |
| cNode3D | CreateChild(const tString &in asName, bool abAutoDeleteChildren = true) |
| cNode3DIterator | GetChildIterator() |
| int | GetCustomFlags() |
| cMatrixf | GetLocalMatrix() |
| cVector3f | GetLocalPosition() |
| tString | GetName() |
| cNode3D | GetParent() |
| cMatrixf | GetPostAnimTransform() |
| cMatrixf | GetPreAnimTransform() |
| bool | GetUsePostAnimTransform() |
| bool | GetUsePreAnimTransform() |
| cMatrixf | GetWorldMatrix() |
| cVector3f | GetWorldPosition() |
| bool | IsActive() |
| void | NormalizeRotation(float afWeightMul = 1.0f) |
| void | RemoveChild(cNode3D@ apNode) |
| bool | RemoveEntity(iEntity3D@ apEntity) |
| void | SetActive(bool abX) |
| void | SetCustomFlags(int alX) |
| void | SetMatrix(const cMatrixf &in a_mtxTransform, bool abSetChildrenUpdated = true) |
| void | SetParent(cNode3D@ apNode) |
| void | SetPosition(const cVector3f &in avPos) |
| void | SetPostTransform(const cMatrixf &in a_mtxTransform) |
| void | SetPostTransformReversed(bool abX) |
| void | SetPreTransform(const cMatrixf &in a_mtxTransform) |
| void | SetUsePostTransform(bool abX) |
| void | SetUsePreTransform(bool abX) |
| int | SetVisible(bool abX, bool abCascade) |
| void | SetWorldMatrix(const cMatrixf &in a_mtxWorldTransform) |
| void | SetWorldPosition(const cVector3f &in avWorldPos) |
| void | UpdateEntityChildren() |
| void | UpdateMatrix(bool abSetChildrenUpdated) |
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@—
GetChildIterator
cNode3DIterator@ GetChildIterator()
Returns:
- cNode3DIterator@—
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
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
References
- HPL3/Amnesia: Rebirth/Scripting/cBoneState (← links)
- HPL3/Amnesia: Rebirth/Scripting/cCamera (← links)
- HPL3/Amnesia: Rebirth/Scripting/cLuxAgent (← links)
- HPL3/Amnesia: Rebirth/Scripting/cLuxArea (← links)
- HPL3/Amnesia: Rebirth/Scripting/cLuxCritter (← links)
- HPL3/Amnesia: Rebirth/Scripting/cLuxLiquidArea (← links)
- HPL3/Amnesia: Rebirth/Scripting/cLuxMap (← links)
- HPL3/Amnesia: Rebirth/Scripting/cLuxProp (← links)
- HPL3/Amnesia: Rebirth/Scripting/cLuxPushableFogArea (← links)
- HPL3/Amnesia: Rebirth/Scripting/cLuxSoundscapeArea (← links)
- HPL3/Amnesia: Rebirth/Scripting/cLuxVerletAnimation (← links)
- HPL3/Amnesia: Rebirth/Scripting/cLuxVisibilityPortal (← links)
- HPL3/Amnesia: Rebirth/Scripting/cMesh (← links)
- HPL3/Amnesia: Rebirth/Scripting/cMeshEntity (← links)
- HPL3/Amnesia: Rebirth/Scripting/cNode3DIterator (← links)
- HPL3/Amnesia: Rebirth/Scripting/cSubMeshEntity (← links)
- HPL3/Amnesia: Rebirth/Scripting/iLuxEntity (← links)