HPL3/Amnesia: Rebirth/Scripting/cLightSpot
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 GetAspect
- 3.10 GetBoundingVolume
- 3.11 GetBrightness
- 3.12 GetCastDiffuseLight
- 3.13 GetCastShadows
- 3.14 GetCastSpecularLight
- 3.15 GetCastTerrainShadow
- 3.16 GetChildIterator
- 3.17 GetCosHalfFOV
- 3.18 GetCoverageAmount
- 3.19 GetDefaultBrightness
- 3.20 GetDefaultDiffuseColor
- 3.21 GetDestColor
- 3.22 GetDestRadius
- 3.23 GetDiffuseColor
- 3.24 GetEntityParent
- 3.25 GetEntityType
- 3.26 GetFalloffPow
- 3.27 GetFlickerActive
- 3.28 GetFlickerFade
- 3.29 GetFlickerOffColor
- 3.30 GetFlickerOffFadeMaxLength
- 3.31 GetFlickerOffFadeMinLength
- 3.32 GetFlickerOffMaxLength
- 3.33 GetFlickerOffMinLength
- 3.34 GetFlickerOffPS
- 3.35 GetFlickerOffRadius
- 3.36 GetFlickerOffSound
- 3.37 GetFlickerOnColor
- 3.38 GetFlickerOnFadeMaxLength
- 3.39 GetFlickerOnFadeMinLength
- 3.40 GetFlickerOnMaxLength
- 3.41 GetFlickerOnMinLength
- 3.42 GetFlickerOnPS
- 3.43 GetFlickerOnRadius
- 3.44 GetFlickerOnSound
- 3.45 GetFOV
- 3.46 GetFrustum
- 3.47 GetGoboAnimFrameTime
- 3.48 GetGoboAnimMode
- 3.49 GetGoboAnimStartTime
- 3.50 GetGoboNextFrame
- 3.51 GetGoboTexture
- 3.52 GetID
- 3.53 GetIlluminationColor
- 3.54 GetLightType
- 3.55 GetLiquidAmount
- 3.56 GetLocalMatrix
- 3.57 GetLocalPosition
- 3.58 GetMask
- 3.59 GetMaterial
- 3.60 GetMatrixUpdateCount
- 3.61 GetName
- 3.62 GetNearClipPlane
- 3.63 GetOcclusionCullShadowCasters
- 3.64 GetProjectionMatrix
- 3.65 GetRadius
- 3.66 GetRenderBV
- 3.67 GetRenderFlagBit
- 3.68 GetRenderFlags
- 3.69 GetRenderFrameCount
- 3.70 GetRenderLayer
- 3.71 GetRenderName
- 3.72 GetRenderType
- 3.73 GetScriptableIsSaved
- 3.74 GetShadowCasterDistance
- 3.75 GetShadowCastersAffected
- 3.76 GetShadowDistance
- 3.77 GetShadowMapBiasMul
- 3.78 GetShadowMapResolution
- 3.79 GetShadowMapSlopeScaleBiasMul
- 3.80 GetSourceRadius
- 3.81 GetSpecularColor
- 3.82 GetSpotFalloffPow
- 3.83 GetTanHalfFOV
- 3.84 GetTransformUpdateCount
- 3.85 GetTranslucency
- 3.86 GetUniqueID
- 3.87 GetVertexBuffer
- 3.88 GetViewMatrix
- 3.89 GetViewProjMatrix
- 3.90 GetVisibleVar
- 3.91 GetWorldCenterPosition
- 3.92 GetWorldMatrix
- 3.93 GetWorldPosition
- 3.94 HasParent
- 3.95 IsActive
- 3.96 IsChild
- 3.97 IsFading
- 3.98 IsOccluder
- 3.99 IsStatic
- 3.100 IsVisible
- 3.101 RemoveBillboard
- 3.102 RemoveChild
- 3.103 RemoveParticleSystem
- 3.104 SetActive
- 3.105 SetAspect
- 3.106 SetBrightness
- 3.107 SetCastDiffuseLight
- 3.108 SetCastShadows
- 3.109 SetCastSpecularLight
- 3.110 SetCastTerrainShadow
- 3.111 SetCoverageAmount
- 3.112 SetDefaultBrightness
- 3.113 SetDefaultDiffuseColor
- 3.114 SetDiffuseColor
- 3.115 SetFalloffPow
- 3.116 SetFlicker
- 3.117 SetFlickerActive
- 3.118 SetFlickerOnColor
- 3.119 SetFOV
- 3.120 SetGoboAnimFrameTime
- 3.121 SetGoboAnimMode
- 3.122 SetGoboAnimStartTime
- 3.123 SetGoboTexture
- 3.124 SetIlluminationColor
- 3.125 SetLiquidAmount
- 3.126 SetMask
- 3.127 SetMatrix
- 3.128 SetName
- 3.129 SetNearClipPlane
- 3.130 SetOcclusionCullShadowCasters
- 3.131 SetPosition
- 3.132 SetRadius
- 3.133 SetRenderFlagBit
- 3.134 SetRenderFrameCount
- 3.135 SetRenderLayer
- 3.136 SetScriptableIsSaved
- 3.137 SetShadowCasterDistance
- 3.138 SetShadowCastersAffected
- 3.139 SetShadowDistance
- 3.140 SetShadowMapBiasMul
- 3.141 SetShadowMapResolution
- 3.142 SetShadowMapSlopeScaleBiasMul
- 3.143 SetSourceRadius
- 3.144 SetSpecularColor
- 3.145 SetSpotFalloffPow
- 3.146 SetTranslucency
- 3.147 SetVisible
- 3.148 SetWorldMatrix
- 3.149 SetWorldPosition
- 3.150 StopFading
- 3.151 UpdateLogic
- 3.152 UseAutomaticLiquidAmount
- 4 References
Fields
cLightSpot 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
GetAspect
float GetAspect()
Returns:
- float—
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@—
GetCosHalfFOV
float GetCosHalfFOV()
Returns:
- float—
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&—
GetFOV
float GetFOV()
Returns:
- float—
GetFrustum
cFrustum@+ GetFrustum()
Returns:
- cFrustum@+—
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&—
GetNearClipPlane
float GetNearClipPlane()
Returns:
- float—
GetOcclusionCullShadowCasters
bool GetOcclusionCullShadowCasters()
Returns:
- bool—
GetProjectionMatrix
const cMatrixf& GetProjectionMatrix()
Returns:
- const cMatrixf&—
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—
GetShadowCasterDistance
float GetShadowCasterDistance()
Returns:
- float—
GetShadowCastersAffected
int GetShadowCastersAffected()
Returns:
- int—
GetShadowDistance
float GetShadowDistance()
Returns:
- float—
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&—
GetSpotFalloffPow
float GetSpotFalloffPow()
Returns:
- float—
GetTanHalfFOV
float GetTanHalfFOV()
Returns:
- float—
GetTransformUpdateCount
int GetTransformUpdateCount()
Returns:
- int—
GetTranslucency
float GetTranslucency()
Returns:
- float—
GetUniqueID
int GetUniqueID()
Returns:
- int—
GetVertexBuffer
iVertexBuffer@ GetVertexBuffer()
Returns:
- iVertexBuffer@—
GetViewMatrix
const cMatrixf& GetViewMatrix()
Returns:
- const cMatrixf&—
GetViewProjMatrix
const cMatrixf& GetViewProjMatrix()
Returns:
- const cMatrixf&—
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
SetAspect
void SetAspect(float afAngle)
Parameters
- afAngle (float) —
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
SetFOV
void SetFOV(float afAngle)
Parameters
- afAngle (float) —
Returns:
- void
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
SetNearClipPlane
void SetNearClipPlane(float afX)
Parameters
- afX (float) —
Returns:
- void
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
SetShadowCasterDistance
void SetShadowCasterDistance(float afX)
Parameters
- afX (float) —
Returns:
- void
SetShadowCastersAffected
void SetShadowCastersAffected(int alX)
Parameters
- alX (int) —
Returns:
- void
SetShadowDistance
void SetShadowDistance(float afX)
Parameters
- afX (float) —
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
SetSpotFalloffPow
void SetSpotFalloffPow(float afX)
Parameters
- afX (float) —
Returns:
- void
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