HPL3/Amnesia: Rebirth/Scripting/cForceField
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 FadeOut
- 3.5 FadeTo
- 3.6 GetAutoRemove
- 3.7 GetBoundingVolume
- 3.8 GetChildIterator
- 3.9 GetCoverageAmount
- 3.10 GetEntityParent
- 3.11 GetEntityType
- 3.12 GetFalloffStartRadius
- 3.13 GetFinalFalloffStartRadius
- 3.14 GetFinalForce
- 3.15 GetFinalFreq
- 3.16 GetFinalRadius
- 3.17 GetForce
- 3.18 GetFreq
- 3.19 GetID
- 3.20 GetIlluminationColor
- 3.21 GetLiquidAmount
- 3.22 GetLocalMatrix
- 3.23 GetLocalPosition
- 3.24 GetMaterial
- 3.25 GetMatrixUpdateCount
- 3.26 GetName
- 3.27 GetPulsateActive
- 3.28 GetPulsateDecSpeed
- 3.29 GetPulsateForceMulMax
- 3.30 GetPulsateForceMulMin
- 3.31 GetPulsateIncSpeed
- 3.32 GetPulsateRadiusMulMax
- 3.33 GetPulsateRadiusMulMin
- 3.34 GetRadius
- 3.35 GetRenderBV
- 3.36 GetRenderFlagBit
- 3.37 GetRenderFlags
- 3.38 GetRenderFrameCount
- 3.39 GetRenderLayer
- 3.40 GetRenderName
- 3.41 GetRenderType
- 3.42 GetScriptableIsSaved
- 3.43 GetT
- 3.44 GetTransformUpdateCount
- 3.45 GetUniqueID
- 3.46 GetVertexBuffer
- 3.47 GetVisibleVar
- 3.48 GetWorldCenterPosition
- 3.49 GetWorldMatrix
- 3.50 GetWorldPosition
- 3.51 HasParent
- 3.52 IsActive
- 3.53 IsChild
- 3.54 IsOccluder
- 3.55 IsStatic
- 3.56 IsVisible
- 3.57 RemoveChild
- 3.58 SetActive
- 3.59 SetAutoRemove
- 3.60 SetCoverageAmount
- 3.61 SetFalloffStartRadius
- 3.62 SetForce
- 3.63 SetFreq
- 3.64 SetIlluminationColor
- 3.65 SetLiquidAmount
- 3.66 SetMatrix
- 3.67 SetName
- 3.68 SetPosition
- 3.69 SetPulsateActive
- 3.70 SetPulsateDecSpeed
- 3.71 SetPulsateForceMulMax
- 3.72 SetPulsateForceMulMin
- 3.73 SetPulsateIncSpeed
- 3.74 SetPulsateRadiusMulMax
- 3.75 SetPulsateRadiusMulMin
- 3.76 SetRadius
- 3.77 SetRenderFlagBit
- 3.78 SetRenderFrameCount
- 3.79 SetRenderLayer
- 3.80 SetScriptableIsSaved
- 3.81 SetVisible
- 3.82 SetWorldMatrix
- 3.83 SetWorldPosition
- 3.84 UpdateLogic
- 3.85 UseAutomaticLiquidAmount
- 4 References
Fields
cForceField has no public fields.
Functions
Details
AddChild
CollidesWithBV
CollidesWithFrustum
FadeOut
void FadeOut(float afTime)
Parameters
- afTime (float) —
Returns:
- void
FadeTo
void FadeTo(float afAmount,
float afTime)
Parameters
- afAmount (float) —
- afTime (float) —
Returns:
- void
GetAutoRemove
bool GetAutoRemove()
Returns:
- bool—
GetBoundingVolume
cBoundingVolume@+ GetBoundingVolume()
Returns:
- cBoundingVolume@+—
GetChildIterator
cEntity3DIterator@ GetChildIterator()
Returns:
- cEntity3DIterator@—
GetCoverageAmount
float GetCoverageAmount()
Returns:
- float—
GetEntityParent
iEntity3D@ GetEntityParent()
Returns:
- iEntity3D@—
GetEntityType
eEntityType GetEntityType()
Returns:
- eEntityType—
GetFalloffStartRadius
float GetFalloffStartRadius()
Returns:
- float—
GetFinalFalloffStartRadius
float GetFinalFalloffStartRadius()
Returns:
- float—
GetFinalForce
float GetFinalForce()
Returns:
- float—
GetFinalFreq
float GetFinalFreq()
Returns:
- float—
GetFinalRadius
float GetFinalRadius()
Returns:
- float—
GetForce
float GetForce()
Returns:
- float—
GetFreq
float GetFreq()
Returns:
- float—
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&—
GetPulsateActive
bool GetPulsateActive()
Returns:
- bool—
GetPulsateDecSpeed
const cVector2f& GetPulsateDecSpeed()
Returns:
- const cVector2f&—
GetPulsateForceMulMax
const cVector2f& GetPulsateForceMulMax()
Returns:
- const cVector2f&—
GetPulsateForceMulMin
const cVector2f& GetPulsateForceMulMin()
Returns:
- const cVector2f&—
GetPulsateIncSpeed
const cVector2f& GetPulsateIncSpeed()
Returns:
- const cVector2f&—
GetPulsateRadiusMulMax
const cVector2f& GetPulsateRadiusMulMax()
Returns:
- const cVector2f&—
GetPulsateRadiusMulMin
const cVector2f& GetPulsateRadiusMulMin()
Returns:
- const cVector2f&—
GetRadius
float GetRadius()
Returns:
- float—
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—
GetT
float GetT()
Returns:
- float—
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
SetAutoRemove
void SetAutoRemove(bool abX)
Parameters
- abX (bool) —
Returns:
- void
SetCoverageAmount
void SetCoverageAmount(float afX)
Parameters
- afX (float) —
Returns:
- void
SetFalloffStartRadius
void SetFalloffStartRadius(float afX)
Parameters
- afX (float) —
Returns:
- void
SetForce
void SetForce(float afX)
Parameters
- afX (float) —
Returns:
- void
SetFreq
void SetFreq(float afX)
Parameters
- afX (float) —
Returns:
- void
SetIlluminationColor
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
SetPosition
SetPulsateActive
void SetPulsateActive(bool abX)
Parameters
- abX (bool) —
Returns:
- void
SetPulsateDecSpeed
SetPulsateForceMulMax
SetPulsateForceMulMin
SetPulsateIncSpeed
SetPulsateRadiusMulMax
SetPulsateRadiusMulMin
SetRadius
void SetRadius(float afX)
Parameters
- afX (float) —
Returns:
- void
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
References
- HPL3/Amnesia: Rebirth/Scripting/Scripting Api (← links)
- HPL3/Amnesia: Rebirth/Scripting/cForceFieldIterator (← links)
- HPL3/Amnesia: Rebirth/Scripting/cWorld (← links)
- HPL3/Amnesia: Rebirth/Scripting/Scripting Api/cLux (← links)
- HPL3/Amnesia: Rebirth/Scripting/Scripting Api/cScene (← links)