struct

Term2::WithFPS

Inherits Term2::ProgramOption < Struct < Value < Object

Configures the frame rate for rendering.

# Set to 30 FPS
Term2::WithFPS.new(30.0)

Constructors

new(fps : Float64)
Source

Instance methods

apply(program : Program) : Nil

Apply this option to a program instance.

Source