Space Engineers
Classes | Public Member Functions | Static Public Member Functions | Static Public Attributes | Static Protected Member Functions | Properties | List of all members
VRage.OpenVRWrapper.MyOpenVR Class Reference

Classes

struct  Timer
 

Public Member Functions

 MyOpenVR ()
 
void DisplayEye (IntPtr nativePointer)
 

Static Public Member Functions

static void TimeSinceVsync (ref float m_timeSinceLastVsync, ref ulong m_currFrame)
 
static bool GetFrameTiming (ref Compositor_FrameTiming pTiming, uint unFramesAgo)
 
static ulong CreateOverlay (string key)
 
static bool ShowOverlay (string key, bool show)
 
static bool SetOverlayTransform (string key, ref Matrix posMatrix, uint?controllerId, float width)
 
static void DisplayToOverlay (string key, IntPtr texture)
 
static void SetOverlayTexture (ulong handle, IntPtr texture)
 
static void FrameDone ()
 
static void WaitForNextStart ()
 
static ControllerState GetControllerState (bool secondController)
 
static void ClearButtonStates ()
 
static string GetButtonName (int buttonId)
 
static unsafe void PollEvents ()
 
static void FadeToColor (float sec, Color color)
 
static void UnFade (float sec)
 
static Vector2[] GetStencilMask ()
 
static void LMUAdd (MatrixD?leftMult, MatrixD origin, ControllerRole role, int reference)
 
static void LMUMatrixGetOrigin (ref MatrixD origin, int reference)
 
static void LMUMatrixUpdate (ref MatrixD matrix, int reference)
 

Static Public Attributes

static float FloorOffset = -0.05f
 
static bool LmuDebugOnOff = true
 
static bool Debug2DImage = false
 
static bool SyncWait = true
 
static ulong MissedFramesCount = 0
 
static float WaitTimeMs
 

Static Protected Member Functions

static void SetIPD (float ipd)
 

Properties

static MyOpenVR Static [get]
 
static Matrix ViewHMD [get]
 
static Matrix HeadsetMatrixD [get]
 
static Matrix Controller1Matrix [get]
 
static ControllerState Controller1State [get]
 
static Matrix Controller2Matrix [get]
 
static ControllerState Controller2State [get]
 
static float Ipd_2 [get]
 
static ulong FrameCount [get]
 
static bool IsActive [get]
 

Detailed Description

Definition at line 30 of file MyOpenVR.cs.

Constructor & Destructor Documentation

VRage.OpenVRWrapper.MyOpenVR.MyOpenVR ( )
inline

Definition at line 187 of file MyOpenVR.cs.

Member Function Documentation

static void VRage.OpenVRWrapper.MyOpenVR.ClearButtonStates ( )
inlinestatic

Definition at line 662 of file MyOpenVR.cs.

static ulong VRage.OpenVRWrapper.MyOpenVR.CreateOverlay ( string  key)
inlinestatic

Definition at line 423 of file MyOpenVR.cs.

void VRage.OpenVRWrapper.MyOpenVR.DisplayEye ( IntPtr  nativePointer)
inline

Definition at line 719 of file MyOpenVR.cs.

static void VRage.OpenVRWrapper.MyOpenVR.DisplayToOverlay ( string  key,
IntPtr  texture 
)
inlinestatic

Definition at line 550 of file MyOpenVR.cs.

static void VRage.OpenVRWrapper.MyOpenVR.FadeToColor ( float  sec,
Color  color 
)
inlinestatic

Definition at line 742 of file MyOpenVR.cs.

static void VRage.OpenVRWrapper.MyOpenVR.FrameDone ( )
inlinestatic

Definition at line 613 of file MyOpenVR.cs.

static string VRage.OpenVRWrapper.MyOpenVR.GetButtonName ( int  buttonId)
inlinestatic

Definition at line 667 of file MyOpenVR.cs.

static ControllerState VRage.OpenVRWrapper.MyOpenVR.GetControllerState ( bool  secondController)
inlinestatic

Definition at line 657 of file MyOpenVR.cs.

static bool VRage.OpenVRWrapper.MyOpenVR.GetFrameTiming ( ref Compositor_FrameTiming  pTiming,
uint  unFramesAgo 
)
inlinestatic

Definition at line 255 of file MyOpenVR.cs.

static Vector2 [] VRage.OpenVRWrapper.MyOpenVR.GetStencilMask ( )
inlinestatic

Definition at line 771 of file MyOpenVR.cs.

static void VRage.OpenVRWrapper.MyOpenVR.LMUAdd ( MatrixD leftMult,
MatrixD  origin,
ControllerRole  role,
int  reference 
)
inlinestatic

Definition at line 811 of file MyOpenVR.cs.

static void VRage.OpenVRWrapper.MyOpenVR.LMUMatrixGetOrigin ( ref MatrixD  origin,
int  reference 
)
inlinestatic

Definition at line 816 of file MyOpenVR.cs.

static void VRage.OpenVRWrapper.MyOpenVR.LMUMatrixUpdate ( ref MatrixD  matrix,
int  reference 
)
inlinestatic

Definition at line 824 of file MyOpenVR.cs.

static unsafe void VRage.OpenVRWrapper.MyOpenVR.PollEvents ( )
inlinestatic

Definition at line 672 of file MyOpenVR.cs.

static void VRage.OpenVRWrapper.MyOpenVR.SetIPD ( float  ipd)
inlinestaticprotected

Definition at line 753 of file MyOpenVR.cs.

static void VRage.OpenVRWrapper.MyOpenVR.SetOverlayTexture ( ulong  handle,
IntPtr  texture 
)
inlinestatic

Definition at line 562 of file MyOpenVR.cs.

static bool VRage.OpenVRWrapper.MyOpenVR.SetOverlayTransform ( string  key,
ref Matrix  posMatrix,
uint?  controllerId,
float  width 
)
inlinestatic

Definition at line 482 of file MyOpenVR.cs.

static bool VRage.OpenVRWrapper.MyOpenVR.ShowOverlay ( string  key,
bool  show 
)
inlinestatic

Definition at line 465 of file MyOpenVR.cs.

static void VRage.OpenVRWrapper.MyOpenVR.TimeSinceVsync ( ref float  m_timeSinceLastVsync,
ref ulong  m_currFrame 
)
inlinestatic

Definition at line 251 of file MyOpenVR.cs.

static void VRage.OpenVRWrapper.MyOpenVR.UnFade ( float  sec)
inlinestatic

Definition at line 746 of file MyOpenVR.cs.

static void VRage.OpenVRWrapper.MyOpenVR.WaitForNextStart ( )
inlinestatic

Definition at line 630 of file MyOpenVR.cs.

Member Data Documentation

bool VRage.OpenVRWrapper.MyOpenVR.Debug2DImage = false
static

Definition at line 137 of file MyOpenVR.cs.

float VRage.OpenVRWrapper.MyOpenVR.FloorOffset = -0.05f
static

Definition at line 134 of file MyOpenVR.cs.

bool VRage.OpenVRWrapper.MyOpenVR.LmuDebugOnOff = true
static

Definition at line 136 of file MyOpenVR.cs.

ulong VRage.OpenVRWrapper.MyOpenVR.MissedFramesCount = 0
static

Definition at line 627 of file MyOpenVR.cs.

bool VRage.OpenVRWrapper.MyOpenVR.SyncWait = true
static

Definition at line 138 of file MyOpenVR.cs.

float VRage.OpenVRWrapper.MyOpenVR.WaitTimeMs
static

Definition at line 628 of file MyOpenVR.cs.

Property Documentation

Matrix VRage.OpenVRWrapper.MyOpenVR.Controller1Matrix
staticget

Definition at line 112 of file MyOpenVR.cs.

ControllerState VRage.OpenVRWrapper.MyOpenVR.Controller1State
staticget

Definition at line 116 of file MyOpenVR.cs.

Matrix VRage.OpenVRWrapper.MyOpenVR.Controller2Matrix
staticget

Definition at line 121 of file MyOpenVR.cs.

ControllerState VRage.OpenVRWrapper.MyOpenVR.Controller2State
staticget

Definition at line 125 of file MyOpenVR.cs.

ulong VRage.OpenVRWrapper.MyOpenVR.FrameCount
staticget

Definition at line 141 of file MyOpenVR.cs.

Matrix VRage.OpenVRWrapper.MyOpenVR.HeadsetMatrixD
staticget

Definition at line 107 of file MyOpenVR.cs.

float VRage.OpenVRWrapper.MyOpenVR.Ipd_2
staticget

Definition at line 130 of file MyOpenVR.cs.

bool VRage.OpenVRWrapper.MyOpenVR.IsActive
staticget

Definition at line 177 of file MyOpenVR.cs.

MyOpenVR VRage.OpenVRWrapper.MyOpenVR.Static
staticget

Definition at line 98 of file MyOpenVR.cs.

Matrix VRage.OpenVRWrapper.MyOpenVR.ViewHMD
staticget

Definition at line 103 of file MyOpenVR.cs.


The documentation for this class was generated from the following file: