Tilt Five Unity SDK 1.4.2
Loading...
Searching...
No Matches
TiltFive.Display Class Reference
Inheritance diagram for TiltFive.Display:
TiltFive.SingletonComponent< T >

Static Public Member Functions

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)

Protected Member Functions

override void Awake ()

Additional Inherited Members

Properties inherited from TiltFive.SingletonComponent< T >
static T Instance [get]

Member Function Documentation

◆ Awake()

override void TiltFive.Display.Awake ( )
inlineprotectedvirtual

Reimplemented from TiltFive.SingletonComponent< T >.

◆ 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: