|
static bool | SetApplicationInfo () |
static bool | GetGlassesAvailability () |
| Get whether any glasses are available.
|
static bool | PresentStereoImages (PlayerIndex playerIndex, IntPtr leftTexHandle, IntPtr rightTexHandle, int texWidth_PIX, int texHeight_PIX, bool isSrgb, float fovYDegrees, float widthToHeightRatio, Quaternion rotToUSTAGE_ULVC, Vector3 posOfULVC_USTAGE, Quaternion rotToUSTAGE_URVC, Vector3 posOfURVC_USTAGE) |
static bool | GetDisplayDimensions (ref Vector2Int displayDimensions) |
static bool | GetDisplayDimensions (PlayerIndex playerIndex, ref Vector2Int displayDimensions) |
static bool | GetGlassesIPD (UInt64 glassesHandle, ref float glassesIPD) |
◆ Awake()
override void TiltFive.Display.Awake |
( |
| ) |
|
|
inlineprotectedvirtual |
◆ GetDisplayDimensions() [1/2]
bool TiltFive.Display.GetDisplayDimensions |
( |
PlayerIndex | playerIndex, |
|
|
ref Vector2Int | displayDimensions ) |
|
inlinestatic |
◆ GetDisplayDimensions() [2/2]
bool TiltFive.Display.GetDisplayDimensions |
( |
ref Vector2Int | displayDimensions | ) |
|
|
inlinestatic |
◆ GetGlassesAvailability()
bool TiltFive.Display.GetGlassesAvailability |
( |
| ) |
|
|
inlinestatic |
Get whether any glasses are available.
If you want to check whether glasses for a specific player index are available, use T:TiltFive.Player.IsConnected instead.
- Returns
true
if glasses are available, false
otherwise.
◆ GetGlassesIPD()
bool TiltFive.Display.GetGlassesIPD |
( |
UInt64 | glassesHandle, |
|
|
ref float | glassesIPD ) |
|
inlinestatic |
◆ PresentStereoImages()
bool TiltFive.Display.PresentStereoImages |
( |
PlayerIndex | playerIndex, |
|
|
IntPtr | leftTexHandle, |
|
|
IntPtr | rightTexHandle, |
|
|
int | texWidth_PIX, |
|
|
int | texHeight_PIX, |
|
|
bool | isSrgb, |
|
|
float | fovYDegrees, |
|
|
float | widthToHeightRatio, |
|
|
Quaternion | rotToUSTAGE_ULVC, |
|
|
Vector3 | posOfULVC_USTAGE, |
|
|
Quaternion | rotToUSTAGE_URVC, |
|
|
Vector3 | posOfURVC_USTAGE ) |
|
inlinestatic |
◆ SetApplicationInfo()
bool TiltFive.Display.SetApplicationInfo |
( |
| ) |
|
|
inlinestatic |
The documentation for this class was generated from the following file: