C4 Engine Terathon Software C4 Engine API Documentation

• Extras Plugin

API Links
Developer Links

class FlashController

Defined in:  C4FlashController.h
The FlashController class manages a light that flashes momentarily.
Definition

class FlashController : public Controller

Constructor

FlashController(const ColorRGB& color, float init, long duration);

Parameters
color The brightest color that the light will attain.
init The initial intensity of the light (in the range 0.0 to 1.0).
duration The duration of the flash, in milliseconds.
Description


Base Classes
Controller A FlashController is a specific type of controller.
See Also

ColorRGB