BxFlasher Class Reference

Inherits BxBasicLamp.

Public Member Functions

override void Start ()
 Use this for initialization.
- Public Member Functions inherited from BxBasicLamp
override void SetState (bool b)
 Activate or deactivate the lamp.
override void OverrideState (bool b)
 Activate or deactivate the lamp without changing internal state.
override void SetValue (int v)
 Set the lamp value.
- Public Member Functions inherited from BxActivable
void TurnOn ()
 Activate the object.
void TurnOff ()
 Dectivate the object.
virtual BxActivable Invert (bool b=true)
bool GetState ()
virtual void SetStateCB (int slot, bool b)
virtual void SetValueCB (int slot, int v)
void SetActivated (bool b)
bool IsBlinking ()
 Start Blinking process.
void StartBlinking ()
 Start Blinking process.
void StopBlinking ()
 Stop Blinking process.
virtual void BehaviourStateCB (BxActivable a, bool b)
virtual void AddBehaviourStateCallBack (BxTableManager.BehaviourStateCallBack dest)
virtual void RemoveBehaviourStateCallBack (BxTableManager.BehaviourStateCallBack dest)
virtual BxActivable LinkTo (BxActivable dest)

Additional Inherited Members

- Public Attributes inherited from BxBasicLamp
Color m_lit
 color when lamp is lit
Color m_unlit
 color when lamp is unlit
float m_onTime = 0.02f
 time taken by the lamp to reach full intensity (in s, 0 for instant lighting)
float m_offTime = 0.02f
 time taken by the lamp to reach full intensity (in s, 0 for instant unlighting)
Color m_tint = new Color(1.0f,1.0f,0.8f)
 color tint (incandescent by default)
- Public Attributes inherited from BxActivable
bool m_overrideMode =false
 overriding mode
string m_blinkPattern = "10"
 Blink Pattern.
int m_blinkInterval = 60
 Blink interval (ms)
int m_flashForMs = -1
 Blink duration (<0 means infinite)
bool m_flashForMsEndState = false
 State to set after flash for ms is finished.
- Protected Member Functions inherited from BxBasicLamp
virtual void UpdateState ()
- Protected Attributes inherited from BxBasicLamp
FP_Lamp fpImport
 FP Import script.
Light m_halo = null
 point to halo (faster access)
float m_r =1f
 current intensity ratio
float m_rt =0f
 target intensity ratio
- Protected Attributes inherited from BxActivable
bool m_state =false
 current state of the Object
int m_value =8
 object's "value"
bool m_CBactivated =true
 activation flag
bool m_savedState =true
 state before desactivation
int m_savedValue =8
 value before desactivation
bool m_invertBehaviour = false
 behaviour inversion (true is false and false is true)
- Protected Attributes inherited from BxBehaviour
ImporterParams m_ip = null
- Properties inherited from BxBehaviour
ImporterParams Params [get]

The documentation for this class was generated from the following file: