Laugh

class Laugh(val strength: Double, val oscillations: Int, val framesPerSecond: Int) : Animation

Provides an animation which has a shaking effect with a specified strength and number of oscillations. The strength 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(strength: Double, oscillations: Int, framesPerSecond: Int)

Properties

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

Functions

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