This class handles song events which change the zoom level of the camera.

Example: Zoom to 1.3x:

{
  'e': 'ZoomCamera',
  'v': 1.3
}

Constructor

new()

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

Inherited Variables

Defined by SongEvent

id:String

The internal song event ID that this handler is responsible for.

Inherited Methods

Defined by SongEvent

getIconPath():String

Retrieves the asset path to the icon this event type should use in the chart editor. To customize this, override getIconPath().

Returns:

The path to the icon to display.

toString():String