Infrared


Descriptions

Add an Infrared to the current camera. Turn on or off the FX.

CameraPlay.Infrared_ON(float Time);

CameraPlay.Infrared_ON();

CameraPlay.Infrared_OFF(float Time);

CameraPlay.Infrared_OFF();

Parameters

Name Description Value Description Default
Time Set the time effect in second 1 = 1 Second 1 Second

Example:

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

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

Note:

Due to the On/Off system, you can only use 1 Fx at the time.

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.