This class handles song events which change how the camera bops to the beat of the song.

Example: Bop the camera twice as hard, once per beat (rather than once every four beats).

{
  'e': 'SetCameraBop',
  'v': {
   'intensity': 2.0,
   'rate': 1,
  }
}

Example: Reset the camera bop to default values.

{
  'e': 'SetCameraBop',
	 'v': {}
}

Constructor

new()

Methods

getEventSchema():SongEventSchema

{
  'intensity': FLOAT, // Zoom amount
  'rate': INT, // Zoom rate (beats/zoom)
}

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