Capped

data class Capped(val framesPerSecond: Float) : RiveFrameRate

Render at no more than framesPerSecond.

Parameters

framesPerSecond

Maximum frames per second. Must be finite and greater than zero.

Throws

If framesPerSecond is not finite or is less than or equal to zero.

Constructors

Link copied to clipboard
constructor(framesPerSecond: Float)

Properties

Link copied to clipboard