Exemplo n.º 1
0
        public override int32_t GetD3D9AdapterIndex()
        {
            CheckIfUsable();
            int32_t result = NativeEntrypoints.SteamAPI_IHmd_GetD3D9AdapterIndex(m_hmd);

            return(result);
        }
Exemplo n.º 2
0
        public override uint32_t GetDisplayId(string pchBuffer, uint32_t unBufferLen)
        {
            CheckIfUsable();
            uint32_t result = NativeEntrypoints.SteamAPI_IHmd_GetDisplayId(m_hmd, pchBuffer, unBufferLen);

            return(result);
        }
Exemplo n.º 3
0
        public override vr::HmdMatrix34_t GetTrackerZeroPose()
        {
            CheckIfUsable();
            vr::HmdMatrix34_t result = NativeEntrypoints.SteamAPI_IHmd_GetTrackerZeroPose(m_hmd);

            return(result);
        }
Exemplo n.º 4
0
        public override bool WillDriftInYaw()
        {
            CheckIfUsable();
            bool result = NativeEntrypoints.SteamAPI_IHmd_WillDriftInYaw(m_hmd);

            return(result);
        }
Exemplo n.º 5
0
        public override bool GetTrackerFromHeadPose(float fPredictedSecondsFromNow, out vr::HmdMatrix34_t pmPose, out vr::HmdTrackingResult peResult)
        {
            CheckIfUsable();
            bool result = NativeEntrypoints.SteamAPI_IHmd_GetTrackerFromHeadPose(m_hmd, fPredictedSecondsFromNow, ref pmPose, ref peResult);

            return(result);
        }
Exemplo n.º 6
0
        public override bool GetLastTrackerFromHeadPose(out vr::HmdMatrix34_t pmPose)
        {
            CheckIfUsable();
            bool result = NativeEntrypoints.SteamAPI_IHmd_GetLastTrackerFromHeadPose(m_hmd, ref pmPose);

            return(result);
        }
Exemplo n.º 7
0
        public override bool GetViewMatrix(float fSecondsFromNow, out vr::HmdMatrix44_t pMatLeftView, out vr::HmdMatrix44_t pMatRightView, out vr::HmdTrackingResult peResult)
        {
            CheckIfUsable();
            bool result = NativeEntrypoints.SteamAPI_IHmd_GetViewMatrix(m_hmd, fSecondsFromNow, ref pMatLeftView, ref pMatRightView, ref peResult);

            return(result);
        }
Exemplo n.º 8
0
        public override vr::HmdMatrix34_t GetHeadFromEyePose(vr::Hmd_Eye eEye)
        {
            CheckIfUsable();
            vr::HmdMatrix34_t result = NativeEntrypoints.SteamAPI_IHmd_GetHeadFromEyePose(m_hmd, eEye);

            return(result);
        }
Exemplo n.º 9
0
        public override vr::DistortionCoordinates_t ComputeDistortion(vr::Hmd_Eye eEye, float fU, float fV)
        {
            CheckIfUsable();
            vr::DistortionCoordinates_t result = NativeEntrypoints.SteamAPI_IHmd_ComputeDistortion(m_hmd, eEye, fU, fV);

            return(result);
        }
Exemplo n.º 10
0
        public override vr::HmdMatrix44_t GetProjectionMatrix(vr::Hmd_Eye eEye, float fNearZ, float fFarZ, vr::GraphicsAPIConvention eProjType)
        {
            CheckIfUsable();
            vr::HmdMatrix44_t result = NativeEntrypoints.SteamAPI_IHmd_GetProjectionMatrix(m_hmd, eEye, fNearZ, fFarZ, eProjType);

            return(result);
        }
Exemplo n.º 11
0
 public override void GetProjectionRaw(vr::Hmd_Eye eEye, out float pfLeft, out float pfRight, out float pfTop, out float pfBottom)
 {
     CheckIfUsable();
     pfLeft   = 0;
     pfRight  = 0;
     pfTop    = 0;
     pfBottom = 0;
     NativeEntrypoints.SteamAPI_IHmd_GetProjectionRaw(m_hmd, eEye, ref pfLeft, ref pfRight, ref pfTop, ref pfBottom);
 }
Exemplo n.º 12
0
 public override void GetWindowBounds(out int32_t pnX, out int32_t pnY, out uint32_t pnWidth, out uint32_t pnHeight)
 {
     CheckIfUsable();
     NativeEntrypoints.SteamAPI_IHmd_GetWindowBounds(m_hmd, ref pnX, ref pnY, ref pnWidth, ref pnHeight);
 }
Exemplo n.º 13
0
 public override void ZeroTracker()
 {
     CheckIfUsable();
     NativeEntrypoints.SteamAPI_IHmd_ZeroTracker(m_hmd);
 }
Exemplo n.º 14
0
 public override void AttachToWindow(IntPtr hWnd)
 {
     CheckIfUsable();
     NativeEntrypoints.SteamAPI_IHmd_AttachToWindow(m_hmd, hWnd);
 }
Exemplo n.º 15
0
 public override void GetDXGIOutputInfo(out int32_t pnAdapterIndex, out int32_t pnAdapterOutputIndex)
 {
     CheckIfUsable();
     NativeEntrypoints.SteamAPI_IHmd_GetDXGIOutputInfo(m_hmd, ref pnAdapterIndex, ref pnAdapterOutputIndex);
 }
Exemplo n.º 16
0
 public override void GetRecommendedRenderTargetSize(out uint32_t pnWidth, out uint32_t pnHeight)
 {
     CheckIfUsable();
     NativeEntrypoints.SteamAPI_IHmd_GetRecommendedRenderTargetSize(m_hmd, ref pnWidth, ref pnHeight);
 }
Exemplo n.º 17
0
 public override void GetEyeOutputViewport(vr::Hmd_Eye eEye, out uint32_t pnX, out uint32_t pnY, out uint32_t pnWidth, out uint32_t pnHeight)
 {
     CheckIfUsable();
     NativeEntrypoints.SteamAPI_IHmd_GetEyeOutputViewport(m_hmd, eEye, ref pnX, ref pnY, ref pnWidth, ref pnHeight);
 }