Wide Screen


Descriptions

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

CameraPlay.WidescreenH_ON(Color col, float time);

CameraPlay.WidescreenH_ON(float time);

CameraPlay.WidescreenH_ON(Color col);

CameraPlay.WidescreenH_ON();

CameraPlay.WidescreenH_OFF(Color col, float time);

CameraPlay.WidescreenH_OFF(float time);

CameraPlay.WidescreenH_OFF(Color col);

CameraPlay.WidescreenH_OFF();

Parameters

Name Description Value Description Default
Time Set the apparition time in second 1 = 1 Second 0.5 second
Color Set the color of the wide screen Set the color in RGBA The color by default is black

Example:

CameraPlay.WidescreenH_ON(1); // Turn on the Wide Screen FX with a fading-on of 1 second.

CameraPlay.WidescreenH_OFF(0.5f); // Turn off the Wide Screen 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.