ex_camera_set_fade_easing(cameraHandle, easing)
| Argument | Description |
|---|---|
| cameraHandle | The camera handle |
| easing | The easing script, pass it without arguments and brackets |
By default the camera uses a smoothstep animation. This function gives more control over this and sets the easing algorithm for all fade effect functions in order to achieve a smoother animation or other effects. You are required to import the supplied scripts first before using an easing function. You may also import only the ones you plan to use.
//Set the easing method for the following fade effect ex_camera_set_fade_easing(global._camera, ease_out_elastic);