Rain drop
Descriptions
Add an Rain drops FX to the current camera. Turn on or off the FX.
CameraPlay.Raindrop_ON(float Time);
CameraPlay.Raindrop_ON();
CameraPlay.Raindrop_OFF(float Time);
CameraPlay.Raindrop_OFF();
Parameters
Name | Description | Value Description | Default |
---|---|---|---|
Time | Set the time effect in second | 1 = 1 Second | 1 Second |
Example:
CameraPlay.Raindrop_ON(3); // Turn on the Raindrop FX with a fading-on of 1 second and the size of 8 pixel
CameraPlay.Raindrop_OFF(2); // Turn off the Raindrop 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.