Colored


Descriptions

Add a Colored FX to the current camera. Turn on or off the FX.

CameraPlay.Colored_ON(Color color, float Time);

CameraPlay.Colored_ON(float Time);

CameraPlay.Colored_ON(Color color);

CameraPlay.Colored_ON();

CameraPlay.Colored_OFF(Color color, float Time);

CameraPlay.Colored_OFF(float Time);

CameraPlay.Colored_OFF(Color color);

CameraPlay.Colored_OFF();

Parameters

Name Description Value Description Default
Time Time duration of the effect animation in second. 1 = 1 Second 1 second
Color Set the color Color in RGBA By default the color is red

Example:

CameraPlay.Colored_ON(8,1); // Turn on the Colored FX with a fading-on of 1 second and the size of 8 pixel

CameraPlay.Colored_OFF(0.5f); // Turn off the Colored FX with a fading-on of 0.5 second.

Note:

The effect is set by default on the main camera, if you want to change the current camera us CameraPlay.CurrentCamera and select the new camera All the other effect will use the new current camera.