Companion

external object Companion(source)

Properties

Link copied to clipboard
external var defaultSettings: JsAny

The default frame rate monitoring settings. These settings are used when FrameRateMonitor.fromScene needs to create a new frame rate monitor, and for any settings that are not passed to the FrameRateMonitor constructor.

Functions

Link copied to clipboard
external fun fromScene(scene: Scene): FrameRateMonitor

Gets the FrameRateMonitor for a given scene. If the scene does not yet have a FrameRateMonitor, one is created with the FrameRateMonitor.defaultSettings.