HPL3/Amnesia: Rebirth/Scripting/cMeshEntity
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 AddSocket
- 3.3 AlignBodiesToSkeleton
- 3.4 AnimationIsOver
- 3.5 CalculateTransformFromSkeleton
- 3.6 CalculateTransformFromSkeleton
- 3.7 CheckColliderShapeCollision
- 3.8 ClearSockets
- 3.9 CreateProcAnimation
- 3.10 FadeInLayer
- 3.11 FadeOutLayer
- 3.12 FadeSkeletonPhysicsWeight
- 3.13 GetActorAnimController
- 3.14 GetAnimationEnabled
- 3.15 GetAnimationState
- 3.16 GetAnimationStateFromName
- 3.17 GetAnimationStateIndex
- 3.18 GetAnimationStateNum
- 3.19 GetBoneState
- 3.20 GetBoneStateFromName
- 3.21 GetBoneStateIndex
- 3.22 GetBoneStateIndexFromPtr
- 3.23 GetBoneStateNum
- 3.24 GetBoneStateRoot
- 3.25 GetBoundingVolume
- 3.26 GetChildIterator
- 3.27 GetCoverageAmount
- 3.28 GetDiffuseColorMul
- 3.29 GetEntityParent
- 3.30 GetEntityType
- 3.31 GetID
- 3.32 GetIlluminationColor
- 3.33 GetLiquidAmount
- 3.34 GetLocalMatrix
- 3.35 GetLocalPosition
- 3.36 GetMesh
- 3.37 GetName
- 3.38 GetNodeState
- 3.39 GetNodeStateFromName
- 3.40 GetNodeStateIndex
- 3.41 GetNodeStateNum
- 3.42 GetNormalizeAnimationLayers
- 3.43 GetNormalizeAnimationWeights
- 3.44 GetProcAnimation
- 3.45 GetProcAnimationFromName
- 3.46 GetProcAnimationNum
- 3.47 GetRenderLayer
- 3.48 GetScriptableIsSaved
- 3.49 GetSkeletonCollidersActive
- 3.50 GetSkeletonPhysicsActive
- 3.51 GetSkeletonPhysicsCanSleep
- 3.52 GetSkeletonPhysicsWeight
- 3.53 GetSocket
- 3.54 GetSocketFromIndex
- 3.55 GetSocketIndex
- 3.56 GetSocketNum
- 3.57 GetSubMeshEntity
- 3.58 GetSubMeshEntityIndex
- 3.59 GetSubMeshEntityName
- 3.60 GetSubMeshEntityNum
- 3.61 GetTransformUpdateCount
- 3.62 GetUniqueID
- 3.63 GetWorldMatrix
- 3.64 GetWorldPosition
- 3.65 HasParent
- 3.66 IsActive
- 3.67 IsChild
- 3.68 IsStatic
- 3.69 IsVisible
- 3.70 Play
- 3.71 PlayFadeTo
- 3.72 PlayFadeToName
- 3.73 PlayName
- 3.74 PostUpdateLogic
- 3.75 ProcPlay
- 3.76 ProcPlayFadeTo
- 3.77 ProcPlayFadeToName
- 3.78 ProcPlayName
- 3.79 ProcStop
- 3.80 RemoveChild
- 3.81 ResetGraphicsUpdated
- 3.82 SetActive
- 3.83 SetAnimationEnabled
- 3.84 SetCoverageAmount
- 3.85 SetDiffuseColorMul
- 3.86 SetDisableSleep
- 3.87 SetIlluminationColor
- 3.88 SetIsOccluder
- 3.89 SetLayerWeight
- 3.90 SetLiquidAmount
- 3.91 SetMatrix
- 3.92 SetName
- 3.93 SetNormalizeAnimationLayers
- 3.94 SetNormalizeAnimationWeights
- 3.95 SetPosition
- 3.96 SetRenderFlagBit
- 3.97 SetRenderLayer
- 3.98 SetScriptableIsSaved
- 3.99 SetSkeletonCollidersActive
- 3.100 SetSkeletonPhysicsActive
- 3.101 SetSkeletonPhysicsCanSleep
- 3.102 SetSkeletonPhysicsWeight
- 3.103 SetStatic
- 3.104 SetUpdateBonesWhenCulled
- 3.105 SetVariableAnimationUpdate
- 3.106 SetVisible
- 3.107 SetWorldMatrix
- 3.108 SetWorldPosition
- 3.109 Stop
- 3.110 UpdateAnimation
- 3.111 UpdateLogic
- 3.112 UseAutomaticLiquidAmount
- 4 References
Fields
cMeshEntity has no public fields.
Functions
Details
AddChild
AddSocket
AlignBodiesToSkeleton
void AlignBodiesToSkeleton(bool abCalculateSpeed)
Parameters
- abCalculateSpeed (bool) —
Returns:
- void
AnimationIsOver
CalculateTransformFromSkeleton
cMatrixf CalculateTransformFromSkeleton()
Returns:
- cMatrixf—
CalculateTransformFromSkeleton
CheckColliderShapeCollision
bool CheckColliderShapeCollision(iPhysicsWorld@ apWorld,
iCollideShape@ apShape,
const cMatrixf &in a_mtxShape,
cVector3f avPosList,
int avBoneIndexList)
Parameters
- apWorld (iPhysicsWorld@) —
- apShape (iCollideShape@) —
- a_mtxShape (cMatrixf) —
- avPosList (cVector3f) —
- avBoneIndexList (int) —
Returns:
- bool—
ClearSockets
void ClearSockets()
Returns:
- void
CreateProcAnimation
cProcAnimation@ CreateProcAnimation(const tString &in asName)
Parameters
- asName (tString) —
Returns:
- cProcAnimation@—
FadeInLayer
void FadeInLayer(const tString &in asLayer,
float afTime)
Parameters
- asLayer (tString) —
- afTime (float) —
Returns:
- void
FadeOutLayer
void FadeOutLayer(const tString &in asLayer,
float afTime)
Parameters
- asLayer (tString) —
- afTime (float) —
Returns:
- void
FadeSkeletonPhysicsWeight
void FadeSkeletonPhysicsWeight(float afTime)
Parameters
- afTime (float) —
Returns:
- void
GetActorAnimController
cActorAnimController@ GetActorAnimController()
Returns:
- cActorAnimController@—
GetAnimationEnabled
bool GetAnimationEnabled()
Returns:
- bool—
GetAnimationState
cAnimationState@ GetAnimationState(int alIndex)
Parameters
- alIndex (int) —
Returns:
- cAnimationState@—
GetAnimationStateFromName
cAnimationState@ GetAnimationStateFromName(const tString &in asName)
Parameters
- asName (tString) —
Returns:
- cAnimationState@—
GetAnimationStateIndex
GetAnimationStateNum
int GetAnimationStateNum()
Returns:
- int—
GetBoneState
cBoneState@ GetBoneState(int alIndex)
Parameters
- alIndex (int) —
Returns:
- cBoneState@—
GetBoneStateFromName
cBoneState@ GetBoneStateFromName(const tString &in asName)
Parameters
- asName (tString) —
Returns:
- cBoneState@—
GetBoneStateIndex
GetBoneStateIndexFromPtr
int GetBoneStateIndexFromPtr(cBoneState@ apBoneState)
Parameters
- apBoneState (cBoneState@) —
Returns:
- int—
GetBoneStateNum
int GetBoneStateNum()
Returns:
- int—
GetBoneStateRoot
cNode3D@ GetBoneStateRoot()
Returns:
- cNode3D@—
GetBoundingVolume
cBoundingVolume@+ GetBoundingVolume()
Returns:
- cBoundingVolume@+—
GetChildIterator
cEntity3DIterator@ GetChildIterator()
Returns:
- cEntity3DIterator@—
GetCoverageAmount
float GetCoverageAmount()
Returns:
- float—
GetDiffuseColorMul
const cColor& GetDiffuseColorMul()
Returns:
- const cColor&—
GetEntityParent
iEntity3D@ GetEntityParent()
Returns:
- iEntity3D@—
GetEntityType
eEntityType GetEntityType()
Returns:
- eEntityType—
GetID
tID GetID()
Returns:
- tID—
GetIlluminationColor
const cColor& GetIlluminationColor()
Returns:
- const cColor&—
GetLiquidAmount
float GetLiquidAmount()
Returns:
- float—
GetLocalMatrix
cMatrixf& GetLocalMatrix()
Returns:
- cMatrixf&—
GetLocalPosition
cVector3f GetLocalPosition()
Returns:
- cVector3f—
GetMesh
cMesh@ GetMesh()
Returns:
- cMesh@—
GetName
const tString& GetName()
Returns:
- const tString&—
GetNodeState
cNode3D@ GetNodeState(int alIndex)
Parameters
- alIndex (int) —
Returns:
- cNode3D@—
GetNodeStateFromName
cNode3D@ GetNodeStateFromName(const tString &in asName)
Parameters
- asName (tString) —
Returns:
- cNode3D@—
GetNodeStateIndex
GetNodeStateNum
int GetNodeStateNum()
Returns:
- int—
GetNormalizeAnimationLayers
bool GetNormalizeAnimationLayers()
Returns:
- bool—
GetNormalizeAnimationWeights
bool GetNormalizeAnimationWeights()
Returns:
- bool—
GetProcAnimation
cProcAnimation@ GetProcAnimation(int alIdx)
Parameters
- alIdx (int) —
Returns:
- cProcAnimation@—
GetProcAnimationFromName
cProcAnimation@ GetProcAnimationFromName(const tString &in asName)
Parameters
- asName (tString) —
Returns:
- cProcAnimation@—
GetProcAnimationNum
int GetProcAnimationNum()
Returns:
- int—
GetRenderLayer
int GetRenderLayer()
Returns:
- int—
GetScriptableIsSaved
bool GetScriptableIsSaved()
Returns:
- bool—
GetSkeletonCollidersActive
bool GetSkeletonCollidersActive()
Returns:
- bool—
GetSkeletonPhysicsActive
bool GetSkeletonPhysicsActive()
Returns:
- bool—
GetSkeletonPhysicsCanSleep
bool GetSkeletonPhysicsCanSleep()
Returns:
- bool—
GetSkeletonPhysicsWeight
float GetSkeletonPhysicsWeight()
Returns:
- float—
GetSocket
GetSocketFromIndex
cNode3D@ GetSocketFromIndex(int alIdx)
Parameters
- alIdx (int) —
Returns:
- cNode3D@—
GetSocketIndex
GetSocketNum
int GetSocketNum()
Returns:
- int—
GetSubMeshEntity
cSubMeshEntity@ GetSubMeshEntity(uint alIdx)
Parameters
- alIdx (uint) —
Returns:
- cSubMeshEntity@—
GetSubMeshEntityIndex
GetSubMeshEntityName
cSubMeshEntity@ GetSubMeshEntityName(const tString &in asName)
Parameters
- asName (tString) —
Returns:
- cSubMeshEntity@—
GetSubMeshEntityNum
int GetSubMeshEntityNum()
Returns:
- int—
GetTransformUpdateCount
int GetTransformUpdateCount()
Returns:
- int—
GetUniqueID
int GetUniqueID()
Returns:
- int—
GetWorldMatrix
cMatrixf& GetWorldMatrix()
Returns:
- cMatrixf&—
GetWorldPosition
cVector3f GetWorldPosition()
Returns:
- cVector3f—
HasParent
bool HasParent()
Returns:
- bool—
IsActive
bool IsActive()
Returns:
- bool—
IsChild
IsStatic
bool IsStatic()
Returns:
- bool—
IsVisible
bool IsVisible()
Returns:
- bool—
Play
void Play(int alIndex,
bool abLoop,
bool bStopPrev)
Parameters
- alIndex (int) —
- abLoop (bool) —
- bStopPrev (bool) —
Returns:
- void
PlayFadeTo
void PlayFadeTo(int alIndex,
bool abLoop,
float afTime)
Parameters
- alIndex (int) —
- abLoop (bool) —
- afTime (float) —
Returns:
- void
PlayFadeToName
void PlayFadeToName(const tString &in asName,
bool abLoop,
float afTime)
Parameters
- asName (tString) —
- abLoop (bool) —
- afTime (float) —
Returns:
- void
PlayName
void PlayName(const tString &in asName,
bool abLoop,
bool bStopPrev)
Parameters
- asName (tString) —
- abLoop (bool) —
- bStopPrev (bool) —
Returns:
- void
PostUpdateLogic
void PostUpdateLogic(float afTimeStep)
Parameters
- afTimeStep (float) —
Returns:
- void
ProcPlay
void ProcPlay(int alIdx,
float afAnimTime,
bool abLoop,
bool abStopPrev)
Parameters
- alIdx (int) —
- afAnimTime (float) —
- abLoop (bool) —
- abStopPrev (bool) —
Returns:
- void
ProcPlayFadeTo
void ProcPlayFadeTo(int alIndex,
float afAnimTime,
bool abLoop,
float afFadeTime)
Parameters
- alIndex (int) —
- afAnimTime (float) —
- abLoop (bool) —
- afFadeTime (float) —
Returns:
- void
ProcPlayFadeToName
void ProcPlayFadeToName(const tString &in asName,
float afAnimTime,
bool abLoop,
float afFadeTime)
Parameters
- asName (tString) —
- afAnimTime (float) —
- abLoop (bool) —
- afFadeTime (float) —
Returns:
- void
ProcPlayName
void ProcPlayName(const tString &in asName,
float afAnimTime,
bool abLoop,
bool abStopPrev)
Parameters
- asName (tString) —
- afAnimTime (float) —
- abLoop (bool) —
- abStopPrev (bool) —
Returns:
- void
ProcStop
void ProcStop()
Returns:
- void
RemoveChild
ResetGraphicsUpdated
void ResetGraphicsUpdated()
Returns:
- void
SetActive
void SetActive(bool abActive)
Parameters
- abActive (bool) —
Returns:
- void
SetAnimationEnabled
void SetAnimationEnabled(bool abX)
Parameters
- abX (bool) —
Returns:
- void
SetCoverageAmount
void SetCoverageAmount(float afX)
Parameters
- afX (float) —
Returns:
- void
SetDiffuseColorMul
SetDisableSleep
void SetDisableSleep(bool abX)
Parameters
- abX (bool) —
Returns:
- void
SetIlluminationColor
SetIsOccluder
void SetIsOccluder(bool abX)
Parameters
- abX (bool) —
Returns:
- void
SetLayerWeight
void SetLayerWeight(const tString &in asLayer,
float afWeight)
Parameters
- asLayer (tString) —
- afWeight (float) —
Returns:
- void
SetLiquidAmount
void SetLiquidAmount(float afX)
Parameters
- afX (float) —
Returns:
- void
SetMatrix
void SetMatrix(const cMatrixf &in a_mtxTransform)
Parameters
- a_mtxTransform (cMatrixf) —
Returns:
- void
SetName
SetNormalizeAnimationLayers
void SetNormalizeAnimationLayers(bool abX)
Parameters
- abX (bool) —
Returns:
- void
SetNormalizeAnimationWeights
void SetNormalizeAnimationWeights(bool abX)
Parameters
- abX (bool) —
Returns:
- void
SetPosition
SetRenderFlagBit
void SetRenderFlagBit(int alFlagBit,
bool abSet)
Parameters
- alFlagBit (int) —
- abSet (bool) —
Returns:
- void
SetRenderLayer
void SetRenderLayer(int alX)
Parameters
- alX (int) —
Returns:
- void
SetScriptableIsSaved
void SetScriptableIsSaved(bool abX)
Parameters
- abX (bool) —
Returns:
- void
SetSkeletonCollidersActive
void SetSkeletonCollidersActive(bool abX)
Parameters
- abX (bool) —
Returns:
- void
SetSkeletonPhysicsActive
void SetSkeletonPhysicsActive(bool abX)
Parameters
- abX (bool) —
Returns:
- void
SetSkeletonPhysicsCanSleep
void SetSkeletonPhysicsCanSleep(bool abX)
Parameters
- abX (bool) —
Returns:
- void
SetSkeletonPhysicsWeight
void SetSkeletonPhysicsWeight(float afX)
Parameters
- afX (float) —
Returns:
- void
SetStatic
void SetStatic(bool abX)
Parameters
- abX (bool) —
Returns:
- void
SetUpdateBonesWhenCulled
void SetUpdateBonesWhenCulled(bool abValue)
Parameters
- abValue (bool) —
Returns:
- void
SetVariableAnimationUpdate
void SetVariableAnimationUpdate(bool abX)
Parameters
- abX (bool) —
Returns:
- void
SetVisible
void SetVisible(bool abVisible)
Parameters
- abVisible (bool) —
Returns:
- void
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
Stop
void Stop()
Returns:
- void
UpdateAnimation
void UpdateAnimation(float afTimeStep)
Parameters
- afTimeStep (float) —
Returns:
- void
UpdateLogic
void UpdateLogic(float afTimeStep)
Parameters
- afTimeStep (float) —
Returns:
- void
UseAutomaticLiquidAmount
void UseAutomaticLiquidAmount()
Returns:
- void
References
- HPL3/Amnesia: Rebirth/Scripting/Scripting Api (← 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/cLuxVisibilityPortal (← links)
- HPL3/Amnesia: Rebirth/Scripting/cMeshEntityIterator (← links)
- HPL3/Amnesia: Rebirth/Scripting/cPostEffect FearTentacles (← links)
- HPL3/Amnesia: Rebirth/Scripting/cWorld (← links)
- HPL3/Amnesia: Rebirth/Scripting/iLuxEntity (← links)
- HPL3/Amnesia: Rebirth/Scripting/Scripting Api/cLux (← links)
- HPL3/Amnesia: Rebirth/Scripting/Scripting Api/cScene (← links)
- HPL3/Amnesia: Rebirth/Scripting/Scripting Api/Map (← links)