textmode.js / Textmodifier / targetFrameRate
Method: targetFrameRate()
ts
targetFrameRate(fps?): number | void;Set or get the target frame rate limit.
Unlike frameRate, the getter returns the configured target instead of the measured rate.
Parameters
| Parameter | Type | Description |
|---|---|---|
fps? | number | New target frame rate. |
Returns
number | void
Current target frame rate when called without arguments.