@halone/sdk / DisplayState
Interface: DisplayState
Properties
rates
ts
rates: DisplayRate[];The rates the connected glasses can be switched to; empty when Halone cannot switch them.
refreshHz
ts
refreshHz: number | null;The rate the glasses' display runs at, or null when not running.
renderFps
ts
renderFps: number | null;Frames Halone actually drew over the last second, or null when not running.
restartNeeded
ts
restartNeeded: boolean;The refresh rate or 3D settings changed while running; they apply from the next start.
running
ts
running: boolean;Whether the environment is running on the glasses.
stereo
ts
stereo: boolean;True while the environment is drawn in 3D, one image per eye; false in 2D, or when not running.
