DiodeControlComponent class
DiodeControlComponent
Inheritance
Base: game.ScriptableComponent
Derived
None.
Properties
| Property | Type | |
|---|---|---|
affectedLights | CName[] | scripted |
lightsState | bool | scripted |
primaryLightPreset | DiodeLightPreset | scripted |
secondaryLightPreset | DiodeLightPreset | scripted |
secondaryPresetActive | bool | scripted |
secondaryPresetRemovalID | game.DelayID | scripted |
Functions
bool OnRequestComponents(ent.EntityRequestComponentsInterface ri)RTTIbool OnDeath(game.events.DeathEvent evt)RTTIbool OnApplyDiodeLightPresetEvent(ApplyDiodeLightPresetEvent evt)RTTIvoid ApplyPrimaryPreset(DiodeLightPreset preset, float delay, bool force)RTTIvoid ApplySecondaryPreset(DiodeLightPreset preset, float delay, float duration)RTTIbool OnRemoveSecondaryDiodeLightPresetEvent(RemoveSecondaryDiodeLightPresetEvent evt)RTTIvoid ApplyPreset(DiodeLightPreset preset, float? delay)RTTIvoid QueueLightSettings(int[] colorValues, float strength, float time, CName curve, bool loop, float delay)RTTIbool OnChangeDiodeLightSettingsEvent(ChangeDiodeLightSettingsEvent evt)RTTIvoid ChangeLightSettings(int[] colorValues, float strength, float time, CName curve, bool loop)RTTIvoid ToggleDiodes(bool state)RTTIstatic void ActivateLightPreset(game.Object owner, WeakHandle<game.data.LightPreset_Record> lightPreset, float delay)staticRTTI global