HPL3/Amnesia: Rebirth/Scripting/cSubMeshEntity
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 GetCoverageAmount
- 3.7 GetCustomMaterial
- 3.8 GetEntityParent
- 3.9 GetEntityType
- 3.10 GetID
- 3.11 GetIlluminationColor
- 3.12 GetLiquidAmount
- 3.13 GetLocalMatrix
- 3.14 GetLocalNode
- 3.15 GetLocalPosition
- 3.16 GetMaterial
- 3.17 GetMatrixUpdateCount
- 3.18 GetName
- 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 GetSubMesh
- 3.28 GetTransformUpdateCount
- 3.29 GetUniqueID
- 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 SetCoverageAmount
- 3.44 SetCustomMaterial
- 3.45 SetIlluminationColor
- 3.46 SetLiquidAmount
- 3.47 SetLocalNode
- 3.48 SetMatrix
- 3.49 SetName
- 3.50 SetPosition
- 3.51 SetRenderFlagBit
- 3.52 SetRenderFrameCount
- 3.53 SetRenderLayer
- 3.54 SetScriptableIsSaved
- 3.55 SetVisible
- 3.56 SetWorldMatrix
- 3.57 SetWorldPosition
- 3.58 UpdateLogic
- 3.59 UseAutomaticLiquidAmount
- 4 References
Fields
cSubMeshEntity has no public fields.
Functions
Details
AddChild
CollidesWithBV
CollidesWithFrustum
GetBoundingVolume
cBoundingVolume@+ GetBoundingVolume()
Returns:
- cBoundingVolume@+—
GetChildIterator
cEntity3DIterator@ GetChildIterator()
Returns:
- cEntity3DIterator@—
GetCoverageAmount
float GetCoverageAmount()
Returns:
- float—
GetCustomMaterial
cMaterial@ GetCustomMaterial()
Returns:
- cMaterial@—
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&—
GetLocalNode
cNode3D@ GetLocalNode()
Returns:
- cNode3D@—
GetLocalPosition
cVector3f GetLocalPosition()
Returns:
- cVector3f—
GetMaterial
cMaterial@ GetMaterial()
Returns:
- cMaterial@—
GetMatrixUpdateCount
int GetMatrixUpdateCount()
Returns:
- int—
GetName
const tString& GetName()
Returns:
- const tString&—
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—
GetSubMesh
cSubMesh@ GetSubMesh()
Returns:
- cSubMesh@—
GetTransformUpdateCount
int GetTransformUpdateCount()
Returns:
- int—
GetUniqueID
int GetUniqueID()
Returns:
- int—
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
SetCoverageAmount
void SetCoverageAmount(float afX)
Parameters
- afX (float) —
Returns:
- void
SetCustomMaterial
void SetCustomMaterial(cMaterial@ apMaterial,
bool abDestroyOldCustom)
Parameters
- apMaterial (cMaterial@) —
- abDestroyOldCustom (bool) —
Returns:
- void
SetIlluminationColor
SetLiquidAmount
void SetLiquidAmount(float afX)
Parameters
- afX (float) —
Returns:
- void
SetLocalNode
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
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