BlackICE Scripting

class game

LightComponent

game.LightComponent

  • 15 properties
  • 28 functions
  • 1 derived class

Extends ent.LightComponent ent.IVisualComponent ent.IPlacedComponent ent.IComponent IScriptable ISerializable

Properties

PropertyTypeOffset
emissiveOnlybool0x200
materialZonegame.EMaterialZone0x202
meshBrokenAppearanceCName0x208
onStrengthfloat0x210
turnOnByDefaultbool0x201
turnOnTimefloat0x214
turnOnCurveCName0x218
turnOffTimefloat0x220
turnOffCurveCName0x228
loopTimefloat0x230
loopCurveCName0x238
synchronizedLoopbool0x240
isDestructiblebool0x241
colliderNameCName0x248
colliderTagCName0x250

Functions

  • void ToggleLight(bool on, bool? loop) RTTI
  • void SetParameters(game.LightSettings settings, float? inTime, CName? interpolationCurve, bool? loop) RTTI
  • void SetStrength(float strength, float? inTime) RTTI
  • void SetColor(Color color, float? inTime) RTTI
  • void SetRadius(float radius, float? inTime) RTTI
  • void SetAngles(float innerAngle, float outerAngle, float? inTime) RTTI
  • void SetIntensity(float intensity, float? inTime) RTTI
  • bool IsOn() RTTI
  • void Destroy(bool? forceDestroy, bool? skipVFX) RTTI
  • bool IsDestroyed() RTTI
  • bool IsDestructible() RTTI
  • void SetDestructible(bool isDestructible) RTTI
  • bool GetOnStrength() RTTI
  • game.LightSettings GetDefaultSettings() RTTI
  • game.LightSettings GetCurrentSettings() RTTI
  • float GetTurnOnTime() RTTI
  • CName GetTurnOnCurve() RTTI
  • float GetTurnOffTime() RTTI
  • CName GetTurnOffCurve() RTTI
  • bool OnToggleLight(ToggleLightEvent evt) overrideRTTI
  • bool OnToggleLightByName(ToggleLightByNameEvent evt) overrideRTTI
  • bool OnChangeLight(ChangeLightEvent evt) RTTI
  • bool OnChangeLightByName(ChangeLightByNameEvent evt) RTTI
  • void SetupLightSettings(EditableGameLightSettings inputData, out game.LightSettings outputData) RTTI
  • bool OnAdvanceChangeLight(AdvanceChangeLightEvent evt) RTTI
  • bool OnChangeCurveEvent(ChangeCurveEvent evt) RTTI
  • static void ChangeLightSettingByRefs(game.LightComponent[] lightRefs, ScriptLightSettings setting, float inTime, CName interpolationCurve, bool loop) staticRTTI global
  • static void ChangeAllLightsSettings(WeakHandle<game.Object> owner, ScriptLightSettings settings, float time, CName curve, bool loop) staticRTTI global