Static Public Member Functions | |
static bool | SetApplicationInfo () |
static bool | GetGlassesAvailability () |
Get whether any glasses are available More... | |
static bool | PresentStereoImages (PlayerIndex playerIndex, IntPtr leftTexHandle, IntPtr rightTexHandle, int texWidth_PIX, int texHeight_PIX, bool isSrgb, float fovYDegrees, float widthToHeightRatio, Quaternion rotToUGBD_ULVC, Vector3 posOfULVC_UGBD, Quaternion rotToUGBD_URVC, Vector3 posOfURVC_UGBD) |
static bool | GetDisplayDimensions (ref Vector2Int displayDimensions) |
static bool | GetGlassesIPD (UInt64 glassesHandle, ref float glassesIPD) |
Protected Member Functions | |
override void | Awake () |
Private Member Functions | |
void | LogVersion () |
bool | PresentStereoImagesImpl (UInt64 glassesHandle, IntPtr leftTexHandle, IntPtr rightTexHandle, int texWidth_PIX, int texHeight_PIX, bool isSrgb, float fovYDegrees, float widthToHeightRatio, Quaternion rotToUGBD_ULVC, Vector3 posOfULVC_UGBD, Quaternion rotToUGBD_URVC, Vector3 posOfURVC_UGBD) |
bool | GetDisplayDimensionsImpl (ref Vector2Int displayDimensions) |
bool | GetGlassesIPDImpl (UInt64 glassesHandle, ref float glassesIPD) |
Private Attributes | |
int[] | _displaySettings = new int[2] |
IntPtr | _sendFrameCallback = IntPtr.Zero |
Additional Inherited Members | |
Properties inherited from TiltFive.SingletonComponent< Display > | |
static T | Instance [get] |
Definition at line 65 of file Display.cs.
|
protectedvirtual |
Reimplemented from TiltFive.SingletonComponent< Display >.
Definition at line 74 of file Display.cs.
References TiltFive.Display._sendFrameCallback, TiltFive.Logging.Log.Error(), TiltFive.Logging.Log.Info(), and TiltFive.Display.LogVersion().
|
static |
Definition at line 326 of file Display.cs.
References TiltFive.SingletonComponent< Display >.Instance.
Referenced by TiltFive.DisplaySettings.DisplaySettings().
|
private |
Definition at line 331 of file Display.cs.
References TiltFive.Display._displaySettings, TiltFive.Logging.Log.Error(), and TiltFive.Logging.Log.Warn().
|
static |
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.
true
if glasses are available, false
otherwise.Definition at line 144 of file Display.cs.
References TiltFive.Player.IsConnected().
Referenced by TiltFive.Display.GetGlassesIPDImpl().
|
static |
Definition at line 352 of file Display.cs.
References TiltFive.SingletonComponent< Display >.Instance.
Referenced by TiltFive.Glasses.GlassesCore.Update().
|
private |
Definition at line 357 of file Display.cs.
References TiltFive.Logging.Log.Error(), TiltFive.Display.GetGlassesAvailability(), and TiltFive.Logging.Log.Warn().
|
private |
Definition at line 97 of file Display.cs.
References TiltFive.Logging.Log.Info().
Referenced by TiltFive.Display.Awake().
|
static |
Definition at line 150 of file Display.cs.
Referenced by TiltFive.SplitStereoCamera.PresentStereoImages().
|
private |
Definition at line 206 of file Display.cs.
References TiltFive.Display._sendFrameCallback, and TiltFive.Logging.Log.Error().
|
static |
Definition at line 134 of file Display.cs.
|
private |
Definition at line 68 of file Display.cs.
Referenced by TiltFive.Display.GetDisplayDimensionsImpl().
|
private |
Definition at line 72 of file Display.cs.
Referenced by TiltFive.Display.Awake(), and TiltFive.Display.PresentStereoImagesImpl().