Tilt Five™ Unity API  1.4.1
TiltFive.GraphicsSettings Class Reference

GraphicsSettings encapsulates configuration data related to the project's graphics settings, such as target framerate, vsync, etc. More...

Public Attributes

bool matchGlassesFramerate = true
 Determines whether the Tilt Five SDK should optimize the project's framerate and vsync for sending frames to the glasses at a rate that the glasses can handle, reducing visible temporal artifacts like animations stuttering. More...
 

Detailed Description

GraphicsSettings encapsulates configuration data related to the project's graphics settings, such as target framerate, vsync, etc.

Definition at line 24 of file GraphicsSettings.cs.

Member Data Documentation

◆ matchGlassesFramerate

bool TiltFive.GraphicsSettings.matchGlassesFramerate = true

Determines whether the Tilt Five SDK should optimize the project's framerate and vsync for sending frames to the glasses at a rate that the glasses can handle, reducing visible temporal artifacts like animations stuttering.

This setting ensures that a stable stream of frames reaches the glasses and helps to prevent animations from stuttering. It does this by limiting the maximum frames per second to the glasses' preferred framerate, preventing stalls / dropped frames. It also disables VSync so the frames don't need to wait for the user's monitor to refresh before being sent to the glasses.

Definition at line 35 of file GraphicsSettings.cs.


The documentation for this class was generated from the following file: