View source
class ZoomCameraSongEvent
package funkin.play.event
extends SongEvent
Available on all platforms
This class handles song events which change the zoom level of the camera.
Example: Zoom to 1.3x:
{
'e': 'ZoomCamera',
'v': 1.3
}Constructor
Methods
getEventSchema():SongEventSchema
{
'zoom': FLOAT, // Target zoom level.
'duration': FLOAT, // Duration in steps.
'mode': ENUM, // Whether zoom is relative to the stage or absolute zoom.
'ease': ENUM, // Easing function.
'easeDir': ENUM, // Easing function direction (In, Out, InOut).
}
Returns:
SongEventSchema