HPL3/Amnesia: Rebirth/Scripting/cClothEntity
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 CollidesWithBV
- 3.3 CollidesWithFrustum
- 3.4 GetBoundingVolume
- 3.5 GetChildIterator
- 3.6 GetColor
- 3.7 GetCoverageAmount
- 3.8 GetEntityParent
- 3.9 GetEntityType
- 3.10 GetID
- 3.11 GetIlluminationColor
- 3.12 GetLiquidAmount
- 3.13 GetLocalMatrix
- 3.14 GetLocalPosition
- 3.15 GetMaterial
- 3.16 GetMatrixUpdateCount
- 3.17 GetName
- 3.18 GetPhysicsCloth
- 3.19 GetRenderBV
- 3.20 GetRenderFlagBit
- 3.21 GetRenderFlags
- 3.22 GetRenderFrameCount
- 3.23 GetRenderLayer
- 3.24 GetRenderName
- 3.25 GetRenderType
- 3.26 GetScriptableIsSaved
- 3.27 GetTransformUpdateCount
- 3.28 GetUniqueID
- 3.29 GetUVScale
- 3.30 GetVertexBuffer
- 3.31 GetVisibleVar
- 3.32 GetWorldCenterPosition
- 3.33 GetWorldMatrix
- 3.34 GetWorldPosition
- 3.35 HasParent
- 3.36 IsActive
- 3.37 IsChild
- 3.38 IsOccluder
- 3.39 IsStatic
- 3.40 IsVisible
- 3.41 RemoveChild
- 3.42 SetActive
- 3.43 SetColor
- 3.44 SetCoverageAmount
- 3.45 SetIlluminationColor
- 3.46 SetLiquidAmount
- 3.47 SetMaterial
- 3.48 SetMatrix
- 3.49 SetName
- 3.50 SetPosition
- 3.51 SetRenderFlagBit
- 3.52 SetRenderFrameCount
- 3.53 SetRenderLayer
- 3.54 SetScriptableIsSaved
- 3.55 SetUVScale
- 3.56 SetVisible
- 3.57 SetWorldMatrix
- 3.58 SetWorldPosition
- 3.59 UpdateLogic
- 3.60 UseAutomaticLiquidAmount
- 4 References
Fields
cClothEntity has no public fields.
Functions
Details
AddChild
CollidesWithBV
CollidesWithFrustum
GetBoundingVolume
cBoundingVolume@+ GetBoundingVolume()
Returns:
- cBoundingVolume@+—
GetChildIterator
cEntity3DIterator@ GetChildIterator()
Returns:
- cEntity3DIterator@—
GetColor
const cColor& GetColor()
Returns:
- const cColor&—
GetCoverageAmount
float GetCoverageAmount()
Returns:
- float—
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—
GetMaterial
cMaterial@ GetMaterial()
Returns:
- cMaterial@—
GetMatrixUpdateCount
int GetMatrixUpdateCount()
Returns:
- int—
GetName
const tString& GetName()
Returns:
- const tString&—
GetPhysicsCloth
iPhysicsCloth@ GetPhysicsCloth()
Returns:
- iPhysicsCloth@—
GetRenderBV
cBoundingVolume@+ GetRenderBV()
Returns:
- cBoundingVolume@+—
GetRenderFlagBit
bool GetRenderFlagBit(int alFlagBit)
Parameters
- alFlagBit (int) —
Returns:
- bool—
GetRenderFlags
int GetRenderFlags()
Returns:
- int—
GetRenderFrameCount
int GetRenderFrameCount()
Returns:
- int—
GetRenderLayer
int GetRenderLayer()
Returns:
- int—
GetRenderName
const tString& GetRenderName()
Returns:
- const tString&—
GetRenderType
eRenderableType GetRenderType()
Returns:
- eRenderableType—
GetScriptableIsSaved
bool GetScriptableIsSaved()
Returns:
- bool—
GetTransformUpdateCount
int GetTransformUpdateCount()
Returns:
- int—
GetUniqueID
int GetUniqueID()
Returns:
- int—
GetUVScale
cVector2f GetUVScale()
Returns:
- cVector2f—
GetVertexBuffer
iVertexBuffer@ GetVertexBuffer()
Returns:
- iVertexBuffer@—
GetVisibleVar
bool GetVisibleVar()
Returns:
- bool—
GetWorldCenterPosition
cVector3f GetWorldCenterPosition()
Returns:
- cVector3f—
GetWorldMatrix
cMatrixf& GetWorldMatrix()
Returns:
- cMatrixf&—
GetWorldPosition
cVector3f GetWorldPosition()
Returns:
- cVector3f—
HasParent
bool HasParent()
Returns:
- bool—
IsActive
bool IsActive()
Returns:
- bool—
IsChild
IsOccluder
bool IsOccluder()
Returns:
- bool—
IsStatic
bool IsStatic()
Returns:
- bool—
IsVisible
bool IsVisible()
Returns:
- bool—
RemoveChild
SetActive
void SetActive(bool abActive)
Parameters
- abActive (bool) —
Returns:
- void
SetColor
SetCoverageAmount
void SetCoverageAmount(float afX)
Parameters
- afX (float) —
Returns:
- void
SetIlluminationColor
SetLiquidAmount
void SetLiquidAmount(float afX)
Parameters
- afX (float) —
Returns:
- void
SetMaterial
SetMatrix
void SetMatrix(const cMatrixf &in a_mtxTransform)
Parameters
- a_mtxTransform (cMatrixf) —
Returns:
- void
SetName
SetPosition
SetRenderFlagBit
void SetRenderFlagBit(int alFlagBit,
bool abSet)
Parameters
- alFlagBit (int) —
- abSet (bool) —
Returns:
- void
SetRenderFrameCount
void SetRenderFrameCount(int alCount)
Parameters
- alCount (int) —
Returns:
- void
SetRenderLayer
void SetRenderLayer(int alX)
Parameters
- alX (int) —
Returns:
- void
SetScriptableIsSaved
void SetScriptableIsSaved(bool abX)
Parameters
- abX (bool) —
Returns:
- void
SetUVScale
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
UpdateLogic
void UpdateLogic(float afTimeStep)
Parameters
- afTimeStep (float) —
Returns:
- void
UseAutomaticLiquidAmount
void UseAutomaticLiquidAmount(float afTime = 0)
Parameters
- afTime (float) —
Returns:
- void