Shake

class Shake(val strengthX: Double, val strengthY: Double, val oscillations: Int, val framesPerSecond: Int) : Animation

Provides an animation which has a shaking effect with a specified strengthX, strengthY and number of oscillations. The strengthX and strengthY should be specified within the normalised range of 0-1. The framesPerSecond specifies how many frames of the animation are displayed per second.

Constructors

Link copied to clipboard
constructor(strengthX: Double, strengthY: Double, oscillations: Int, framesPerSecond: Int)

Properties

Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard

Functions

Link copied to clipboard
open override fun toString(): String