Tilt Five Unity SDK 1.4.2
Loading...
Searching...
No Matches
TiltFive.Glasses.DisplayInfo Class Reference

Public Member Functions

 DisplayInfo (Vector2Int framebufferDimensions)

Public Attributes

readonly int depthBuffer = 24
 The depth buffer's precision.
readonly RenderTextureFormat nativeTextureFormat = RenderTextureFormat.ARGB32

Properties

int monoWidth [get]
 The display width for a single eye.
int stereoWidth [get]
 The display width for two eyes.
int height [get]
 The display height.
float monoWidthToHeightRatio [get]
 The display aspect ratio.
float stereoWidthToHeightRatio [get]
 The double-width display aspect ratio.

Constructor & Destructor Documentation

◆ DisplayInfo()

TiltFive.Glasses.DisplayInfo.DisplayInfo ( Vector2Int framebufferDimensions)
inline

Member Data Documentation

◆ depthBuffer

readonly int TiltFive.Glasses.DisplayInfo.depthBuffer = 24

The depth buffer's precision.

◆ nativeTextureFormat

readonly RenderTextureFormat TiltFive.Glasses.DisplayInfo.nativeTextureFormat = RenderTextureFormat.ARGB32

Property Documentation

◆ height

int TiltFive.Glasses.DisplayInfo.height
get

The display height.

◆ monoWidth

int TiltFive.Glasses.DisplayInfo.monoWidth
get

The display width for a single eye.

◆ monoWidthToHeightRatio

float TiltFive.Glasses.DisplayInfo.monoWidthToHeightRatio
get

The display aspect ratio.

◆ stereoWidth

int TiltFive.Glasses.DisplayInfo.stereoWidth
get

The display width for two eyes.

◆ stereoWidthToHeightRatio

float TiltFive.Glasses.DisplayInfo.stereoWidthToHeightRatio
get

The double-width display aspect ratio.


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