Next: , Previous: , Up: Lighting   [Contents][Index]


11.3 Strobe

Component: Strobe

This component turns a light and optionally a lens flare on and off based on timers. To use, add it to an object with a Light component or to an object which you wish to manage a child light (in this case, assign ’Target Light’ in the Inspector). You can also add a lens flare component to control that if you wish. Next, set a Blink Rate and optionally Timer Offset to tell the Strobe how fast it should blink and when to start. By combining multiple strobes in sequence you can create dancing light effects, wing beacons for aircraft, police lights or pulsing muzzle flashes. Be creative!

Optional Field of Strobe: LensFlare lensFlare

Are we also using a lens flare?

Field of Strobe: float blinkRate

How fast should we blink?

Default value: 1.0f

Field of Strobe: float timerOffset

How long after spawning should we wait before we begin flashing?

Default value: 0.0f

Field of Strobe: bool onLine

Is this light on or off?

Default value: true

Field of Strobe: DayNightManager dayNightManager

Optional reference to a Day Night Manager object, will assign itself automatically if one is in the scene at start

Optional Field of Strobe: LensFlare lensFlare

Are we also using a lens flare?

Field of Strobe: float blinkRate

How fast should we blink?

Default value: 1.0f

Field of Strobe: float timerOffset

How long after spawning should we wait before we begin flashing?

Default value: 0.0f

Field of Strobe: bool onLine

Is this light on or off?

Default value: true

Field of Strobe: DayNightManager dayNightManager

Optional reference to a Day Night Manager object, will assign itself automatically if one is in the scene at start


Next: , Previous: , Up: Lighting   [Contents][Index]