Display settings constants. More...
Static Public Attributes | |
const int | depthBuffer = 24 |
The depth buffer's precision. More... | |
const RenderTextureFormat | nativeTextureFormat = RenderTextureFormat.ARGB32 |
Properties | |
static DisplaySettings | Instance [get, set] |
static int | monoWidth [get] |
The display width for a single eye. More... | |
static int | stereoWidth [get] |
The display width for two eyes. More... | |
static int | height [get] |
The display height. More... | |
static float | monoWidthToHeightRatio [get] |
The display aspect ratio. More... | |
static float | stereoWidthToHeightRatio [get] |
The double-width display aspect ratio. More... | |
Private Member Functions | |
DisplaySettings () | |
Private Attributes | |
readonly Vector2Int | defaultDimensions = new Vector2Int(2432, 768) |
Static Private Attributes | |
static DisplaySettings | instance |
Display settings constants.
Definition at line 35 of file SplitStereoCamera.cs.
|
private |
Definition at line 51 of file SplitStereoCamera.cs.
References TiltFive.DisplaySettings.defaultDimensions, TiltFive.Display.GetDisplayDimensions(), and TiltFive.Logging.Log.Warn().
|
private |
Definition at line 76 of file SplitStereoCamera.cs.
Referenced by TiltFive.DisplaySettings.DisplaySettings().
|
static |
The depth buffer's precision.
Definition at line 70 of file SplitStereoCamera.cs.
Referenced by TiltFive.SplitStereoTextures.Initialize().
|
staticprivate |
Definition at line 37 of file SplitStereoCamera.cs.
|
static |
Definition at line 73 of file SplitStereoCamera.cs.
Referenced by TiltFive.SplitStereoTextures.Initialize().
|
staticget |
The display height.
Definition at line 64 of file SplitStereoCamera.cs.
Referenced by TiltFive.SplitStereoTextures.Initialize().
|
staticgetsetprivate |
Definition at line 38 of file SplitStereoCamera.cs.
|
staticget |
The display width for a single eye.
Definition at line 60 of file SplitStereoCamera.cs.
Referenced by TiltFive.SplitStereoTextures.Initialize().
|
staticget |
The display aspect ratio.
Definition at line 66 of file SplitStereoCamera.cs.
Referenced by TiltFive.SplitStereoCamera.OnPreRender(), TiltFive.SplitStereoCamera.PresentStereoImages(), and TiltFive.SplitStereoCamera.SyncFields().
|
staticget |
The display width for two eyes.
Definition at line 62 of file SplitStereoCamera.cs.
Referenced by TiltFive.SplitStereoTextures.Initialize().
|
staticget |
The double-width display aspect ratio.
Definition at line 68 of file SplitStereoCamera.cs.
Referenced by TiltFive.SplitStereoCamera.OnPreRender().