Unity SDK Docs 1.5.0-beta.6
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.

Detailed Description

Definition at line 68 of file Glasses.cs.

Constructor & Destructor Documentation

◆ DisplayInfo()

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

Definition at line 70 of file Glasses.cs.

Member Data Documentation

◆ depthBuffer

readonly int TiltFive.Glasses.DisplayInfo.depthBuffer = 24

The depth buffer's precision.

Definition at line 86 of file Glasses.cs.

◆ nativeTextureFormat

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

Definition at line 89 of file Glasses.cs.

Property Documentation

◆ height

int TiltFive.Glasses.DisplayInfo.height
get

The display height.

Definition at line 80 of file Glasses.cs.

◆ monoWidth

int TiltFive.Glasses.DisplayInfo.monoWidth
get

The display width for a single eye.

Definition at line 76 of file Glasses.cs.

◆ monoWidthToHeightRatio

float TiltFive.Glasses.DisplayInfo.monoWidthToHeightRatio
get

The display aspect ratio.

Definition at line 82 of file Glasses.cs.

◆ stereoWidth

int TiltFive.Glasses.DisplayInfo.stereoWidth
get

The display width for two eyes.

Definition at line 78 of file Glasses.cs.

◆ stereoWidthToHeightRatio

float TiltFive.Glasses.DisplayInfo.stereoWidthToHeightRatio
get

The double-width display aspect ratio.

Definition at line 84 of file Glasses.cs.


The documentation for this class was generated from the following file:
  • C:/Users/mail1/Documents/t5sw/sdk/unity/unity_package/Runtime/Player/Glasses/Glasses.cs