Skip to content

textmode.js / Textmodifier / frameRate

Method: frameRate() ​

ts
frameRate(fps?): number | void;

Set the target frame rate, or get the current measured frame rate when called without arguments.

Parameters ​

ParameterTypeDescription
fps?numberMaximum frames per second for rendering.

Returns ​

number | void

Example ​