HPL3/Amnesia: Rebirth/Scripting/cLightPoint
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 AttachBillboard
- 3.3 AttachParticleSystem
- 3.4 CollidesWithBV
- 3.5 CollidesWithFrustum
- 3.6 FadeBrightnessTo
- 3.7 FadeBrightnessToDefault
- 3.8 FadeTo
- 3.9 GetBoundingVolume
- 3.10 GetBrightness
- 3.11 GetCastDiffuseLight
- 3.12 GetCastShadows
- 3.13 GetCastSpecularLight
- 3.14 GetCastTerrainShadow
- 3.15 GetChildIterator
- 3.16 GetCoverageAmount
- 3.17 GetDefaultBrightness
- 3.18 GetDefaultDiffuseColor
- 3.19 GetDestColor
- 3.20 GetDestRadius
- 3.21 GetDiffuseColor
- 3.22 GetEntityParent
- 3.23 GetEntityType
- 3.24 GetFalloffPow
- 3.25 GetFlickerActive
- 3.26 GetFlickerFade
- 3.27 GetFlickerOffColor
- 3.28 GetFlickerOffFadeMaxLength
- 3.29 GetFlickerOffFadeMinLength
- 3.30 GetFlickerOffMaxLength
- 3.31 GetFlickerOffMinLength
- 3.32 GetFlickerOffPS
- 3.33 GetFlickerOffRadius
- 3.34 GetFlickerOffSound
- 3.35 GetFlickerOnColor
- 3.36 GetFlickerOnFadeMaxLength
- 3.37 GetFlickerOnFadeMinLength
- 3.38 GetFlickerOnMaxLength
- 3.39 GetFlickerOnMinLength
- 3.40 GetFlickerOnPS
- 3.41 GetFlickerOnRadius
- 3.42 GetFlickerOnSound
- 3.43 GetGoboAnimFrameTime
- 3.44 GetGoboAnimMode
- 3.45 GetGoboAnimStartTime
- 3.46 GetGoboNextFrame
- 3.47 GetGoboTexture
- 3.48 GetID
- 3.49 GetIlluminationColor
- 3.50 GetLightType
- 3.51 GetLiquidAmount
- 3.52 GetLocalMatrix
- 3.53 GetLocalPosition
- 3.54 GetMask
- 3.55 GetMaterial
- 3.56 GetMatrixUpdateCount
- 3.57 GetName
- 3.58 GetOcclusionCullShadowCasters
- 3.59 GetRadius
- 3.60 GetRenderBV
- 3.61 GetRenderFlagBit
- 3.62 GetRenderFlags
- 3.63 GetRenderFrameCount
- 3.64 GetRenderLayer
- 3.65 GetRenderName
- 3.66 GetRenderType
- 3.67 GetScriptableIsSaved
- 3.68 GetShadowCastersAffected
- 3.69 GetShadowMapBiasMul
- 3.70 GetShadowMapResolution
- 3.71 GetShadowMapSlopeScaleBiasMul
- 3.72 GetSourceRadius
- 3.73 GetSpecularColor
- 3.74 GetTransformUpdateCount
- 3.75 GetTranslucency
- 3.76 GetUniqueID
- 3.77 GetVertexBuffer
- 3.78 GetVisibleVar
- 3.79 GetWorldCenterPosition
- 3.80 GetWorldMatrix
- 3.81 GetWorldPosition
- 3.82 HasParent
- 3.83 IsActive
- 3.84 IsChild
- 3.85 IsFading
- 3.86 IsOccluder
- 3.87 IsStatic
- 3.88 IsVisible
- 3.89 RemoveBillboard
- 3.90 RemoveChild
- 3.91 RemoveParticleSystem
- 3.92 SetActive
- 3.93 SetBrightness
- 3.94 SetCastDiffuseLight
- 3.95 SetCastShadows
- 3.96 SetCastSpecularLight
- 3.97 SetCastTerrainShadow
- 3.98 SetCoverageAmount
- 3.99 SetDefaultBrightness
- 3.100 SetDefaultDiffuseColor
- 3.101 SetDiffuseColor
- 3.102 SetFalloffPow
- 3.103 SetFlicker
- 3.104 SetFlickerActive
- 3.105 SetFlickerOnColor
- 3.106 SetGoboAnimFrameTime
- 3.107 SetGoboAnimMode
- 3.108 SetGoboAnimStartTime
- 3.109 SetGoboTexture
- 3.110 SetIlluminationColor
- 3.111 SetLiquidAmount
- 3.112 SetMask
- 3.113 SetMatrix
- 3.114 SetName
- 3.115 SetOcclusionCullShadowCasters
- 3.116 SetPosition
- 3.117 SetRadius
- 3.118 SetRenderFlagBit
- 3.119 SetRenderFrameCount
- 3.120 SetRenderLayer
- 3.121 SetScriptableIsSaved
- 3.122 SetShadowCastersAffected
- 3.123 SetShadowMapBiasMul
- 3.124 SetShadowMapResolution
- 3.125 SetShadowMapSlopeScaleBiasMul
- 3.126 SetSourceRadius
- 3.127 SetSpecularColor
- 3.128 SetTranslucency
- 3.129 SetVisible
- 3.130 SetWorldMatrix
- 3.131 SetWorldPosition
- 3.132 StopFading
- 3.133 UpdateLogic
- 3.134 UseAutomaticLiquidAmount
- 4 References
Fields
cLightPoint has no public fields.
Functions
Details
AddChild
AttachBillboard
void AttachBillboard(cBillboard@ apBillboard,
const cColor &in aBaseColor,
float afBaseBrightness)
Parameters
- apBillboard (cBillboard@) —
- aBaseColor (cColor) —
- afBaseBrightness (float) —
Returns:
- void
AttachParticleSystem
CollidesWithBV
CollidesWithFrustum
FadeBrightnessTo
void FadeBrightnessTo(float afBrightness,
float afTime,
eEasing aEasing = eEasing_Linear)
Parameters
- afBrightness (float) —
- afTime (float) —
- aEasing (eEasing) —
Returns:
- void
FadeBrightnessToDefault
void FadeBrightnessToDefault(float afTime,
eEasing aEasing = eEasing_Linear)
Parameters
- afTime (float) —
- aEasing (eEasing) —
Returns:
- void
FadeTo
void FadeTo(const cColor &in aCol,
float afRadius,
float afTime)
Parameters
- aCol (cColor) —
- afRadius (float) —
- afTime (float) —
Returns:
- void
GetBoundingVolume
cBoundingVolume@+ GetBoundingVolume()
Returns:
- cBoundingVolume@+—
GetBrightness
float GetBrightness()
Returns:
- float—
GetCastDiffuseLight
bool GetCastDiffuseLight()
Returns:
- bool—
GetCastShadows
bool GetCastShadows()
Returns:
- bool—
GetCastSpecularLight
bool GetCastSpecularLight()
Returns:
- bool—
GetCastTerrainShadow
bool GetCastTerrainShadow()
Returns:
- bool—
GetChildIterator
cEntity3DIterator@ GetChildIterator()
Returns:
- cEntity3DIterator@—
GetCoverageAmount
float GetCoverageAmount()
Returns:
- float—
GetDefaultBrightness
float GetDefaultBrightness()
Returns:
- float—
GetDefaultDiffuseColor
const cColor& GetDefaultDiffuseColor()
Returns:
- const cColor&—
GetDestColor
const cColor& GetDestColor()
Returns:
- const cColor&—
GetDestRadius
float GetDestRadius()
Returns:
- float—
GetDiffuseColor
const cColor& GetDiffuseColor()
Returns:
- const cColor&—
GetEntityParent
iEntity3D@ GetEntityParent()
Returns:
- iEntity3D@—
GetEntityType
eEntityType GetEntityType()
Returns:
- eEntityType—
GetFalloffPow
float GetFalloffPow()
Returns:
- float—
GetFlickerActive
bool GetFlickerActive()
Returns:
- bool—
GetFlickerFade
bool GetFlickerFade()
Returns:
- bool—
GetFlickerOffColor
const cColor& GetFlickerOffColor()
Returns:
- const cColor&—
GetFlickerOffFadeMaxLength
float GetFlickerOffFadeMaxLength()
Returns:
- float—
GetFlickerOffFadeMinLength
float GetFlickerOffFadeMinLength()
Returns:
- float—
GetFlickerOffMaxLength
float GetFlickerOffMaxLength()
Returns:
- float—
GetFlickerOffMinLength
float GetFlickerOffMinLength()
Returns:
- float—
GetFlickerOffPS
const tString& GetFlickerOffPS()
Returns:
- const tString&—
GetFlickerOffRadius
float GetFlickerOffRadius()
Returns:
- float—
GetFlickerOffSound
const tString& GetFlickerOffSound()
Returns:
- const tString&—
GetFlickerOnColor
const cColor& GetFlickerOnColor()
Returns:
- const cColor&—
GetFlickerOnFadeMaxLength
float GetFlickerOnFadeMaxLength()
Returns:
- float—
GetFlickerOnFadeMinLength
float GetFlickerOnFadeMinLength()
Returns:
- float—
GetFlickerOnMaxLength
float GetFlickerOnMaxLength()
Returns:
- float—
GetFlickerOnMinLength
float GetFlickerOnMinLength()
Returns:
- float—
GetFlickerOnPS
const tString& GetFlickerOnPS()
Returns:
- const tString&—
GetFlickerOnRadius
float GetFlickerOnRadius()
Returns:
- float—
GetFlickerOnSound
const tString& GetFlickerOnSound()
Returns:
- const tString&—
GetGoboAnimFrameTime
float GetGoboAnimFrameTime()
Returns:
- float—
GetGoboAnimMode
eTextureAnimMode GetGoboAnimMode()
Returns:
- eTextureAnimMode—
GetGoboAnimStartTime
float GetGoboAnimStartTime()
Returns:
- float—
GetGoboNextFrame
int GetGoboNextFrame()
Returns:
- int—
GetGoboTexture
iTexture@ GetGoboTexture()
Returns:
- iTexture@—
GetID
tID GetID()
Returns:
- tID—
GetIlluminationColor
const cColor& GetIlluminationColor()
Returns:
- const cColor&—
GetLightType
eLightType GetLightType()
Returns:
- eLightType—
GetLiquidAmount
float GetLiquidAmount()
Returns:
- float—
GetLocalMatrix
cMatrixf& GetLocalMatrix()
Returns:
- cMatrixf&—
GetLocalPosition
cVector3f GetLocalPosition()
Returns:
- cVector3f—
GetMask
cLightMaskBox@ GetMask()
Returns:
- cLightMaskBox@—
GetMaterial
cMaterial@ GetMaterial()
Returns:
- cMaterial@—
GetMatrixUpdateCount
int GetMatrixUpdateCount()
Returns:
- int—
GetName
const tString& GetName()
Returns:
- const tString&—
GetOcclusionCullShadowCasters
bool GetOcclusionCullShadowCasters()
Returns:
- bool—
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—
GetShadowCastersAffected
int GetShadowCastersAffected()
Returns:
- int—
GetShadowMapBiasMul
float GetShadowMapBiasMul()
Returns:
- float—
GetShadowMapResolution
eShadowMapResolution GetShadowMapResolution()
Returns:
- eShadowMapResolution—
GetShadowMapSlopeScaleBiasMul
float GetShadowMapSlopeScaleBiasMul()
Returns:
- float—
GetSourceRadius
float GetSourceRadius()
Returns:
- float—
GetSpecularColor
const cColor& GetSpecularColor()
Returns:
- const cColor&—
GetTransformUpdateCount
int GetTransformUpdateCount()
Returns:
- int—
GetTranslucency
float GetTranslucency()
Returns:
- float—
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
IsFading
bool IsFading()
Returns:
- bool—
IsOccluder
bool IsOccluder()
Returns:
- bool—
IsStatic
bool IsStatic()
Returns:
- bool—
IsVisible
bool IsVisible()
Returns:
- bool—
RemoveBillboard
RemoveChild
RemoveParticleSystem
SetActive
void SetActive(bool abActive)
Parameters
- abActive (bool) —
Returns:
- void
SetBrightness
void SetBrightness(float afX)
Parameters
- afX (float) —
Returns:
- void
SetCastDiffuseLight
void SetCastDiffuseLight(bool afX)
Parameters
- afX (bool) —
Returns:
- void
SetCastShadows
void SetCastShadows(bool afX)
Parameters
- afX (bool) —
Returns:
- void
SetCastSpecularLight
void SetCastSpecularLight(bool afX)
Parameters
- afX (bool) —
Returns:
- void
SetCastTerrainShadow
void SetCastTerrainShadow(bool abX)
Parameters
- abX (bool) —
Returns:
- void
SetCoverageAmount
void SetCoverageAmount(float afX)
Parameters
- afX (float) —
Returns:
- void
SetDefaultBrightness
void SetDefaultBrightness(float afX)
Parameters
- afX (float) —
Returns:
- void
SetDefaultDiffuseColor
SetDiffuseColor
SetFalloffPow
void SetFalloffPow(float afX)
Parameters
- afX (float) —
Returns:
- void
SetFlicker
void SetFlicker(const cColor &in aOffCol,
float afOffRadius,
float afOnMinLength,
float afOnMaxLength,
const tString &in asOnSound,
const tString &in asOnPS,
float afOffMinLength,
float afOffMaxLength,
const tString &in asOffSound,
const tString &in asOffPS,
bool abFade,
float afOnFadeMinLength,
float afOnFadeMaxLength,
float afOffFadeMinLength,
float afOffFadeMaxLength)
Parameters
- aOffCol (cColor) —
- afOffRadius (float) —
- afOnMinLength (float) —
- afOnMaxLength (float) —
- asOnSound (tString) —
- asOnPS (tString) —
- afOffMinLength (float) —
- afOffMaxLength (float) —
- asOffSound (tString) —
- asOffPS (tString) —
- abFade (bool) —
- afOnFadeMinLength (float) —
- afOnFadeMaxLength (float) —
- afOffFadeMinLength (float) —
- afOffFadeMaxLength (float) —
Returns:
- void
SetFlickerActive
void SetFlickerActive(bool abX)
Parameters
- abX (bool) —
Returns:
- void
SetFlickerOnColor
SetGoboAnimFrameTime
void SetGoboAnimFrameTime(float afX)
Parameters
- afX (float) —
Returns:
- void
SetGoboAnimMode
SetGoboAnimStartTime
void SetGoboAnimStartTime(float afX)
Parameters
- afX (float) —
Returns:
- void
SetGoboTexture
SetIlluminationColor
SetLiquidAmount
void SetLiquidAmount(float afX)
Parameters
- afX (float) —
Returns:
- void
SetMask
SetMatrix
void SetMatrix(const cMatrixf &in a_mtxTransform)
Parameters
- a_mtxTransform (cMatrixf) —
Returns:
- void
SetName
SetOcclusionCullShadowCasters
void SetOcclusionCullShadowCasters(bool abX)
Parameters
- abX (bool) —
Returns:
- void
SetPosition
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
SetShadowCastersAffected
void SetShadowCastersAffected(int alX)
Parameters
- alX (int) —
Returns:
- void
SetShadowMapBiasMul
void SetShadowMapBiasMul(float afX)
Parameters
- afX (float) —
Returns:
- void
SetShadowMapResolution
void SetShadowMapResolution(eShadowMapResolution aQuality)
Parameters
- aQuality (eShadowMapResolution) —
Returns:
- void
SetShadowMapSlopeScaleBiasMul
void SetShadowMapSlopeScaleBiasMul(float afX)
Parameters
- afX (float) —
Returns:
- void
SetSourceRadius
void SetSourceRadius(float afX)
Parameters
- afX (float) —
Returns:
- void
SetSpecularColor
SetTranslucency
void SetTranslucency(float afX)
Parameters
- afX (float) —
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
StopFading
void StopFading()
Returns:
- void
UpdateLogic
void UpdateLogic(float afTimeStep)
Parameters
- afTimeStep (float) —
Returns:
- void
UseAutomaticLiquidAmount
void UseAutomaticLiquidAmount(float afTime = 0)
Parameters
- afTime (float) —
Returns:
- void