public override vr::HmdMatrix34_t GetHeadFromEyePose(vr::Hmd_Eye eEye) { CheckIfUsable(); vr::HmdMatrix34_t result = NativeEntrypoints.SteamAPI_IHmd_GetHeadFromEyePose(m_hmd, eEye); return(result); }
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); }
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); }
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); }
public abstract vr::HmdMatrix34_t GetHeadFromEyePose(vr::Hmd_Eye eEye);
public abstract vr::DistortionCoordinates_t ComputeDistortion(vr::Hmd_Eye eEye, float fU, float fV);
public abstract void GetProjectionRaw(vr::Hmd_Eye eEye, out float pfLeft, out float pfRight, out float pfTop, out float pfBottom);
public abstract vr::HmdMatrix44_t GetProjectionMatrix(vr::Hmd_Eye eEye, float fNearZ, float fFarZ, vr::GraphicsAPIConvention eProjType);
public abstract void GetEyeOutputViewport(vr::Hmd_Eye eEye, out uint32_t pnX, out uint32_t pnY, out uint32_t pnWidth, out uint32_t pnHeight);
internal static extern vr::HmdMatrix34_t SteamAPI_IHmd_GetHeadFromEyePose(IntPtr instancePtr, vr::Hmd_Eye eEye);
internal static extern vr::DistortionCoordinates_t SteamAPI_IHmd_ComputeDistortion(IntPtr instancePtr, vr::Hmd_Eye eEye, float fU, float fV);
internal static extern void SteamAPI_IHmd_GetProjectionRaw(IntPtr instancePtr, vr::Hmd_Eye eEye, ref float pfLeft, ref float pfRight, ref float pfTop, ref float pfBottom);
internal static extern vr::HmdMatrix44_t SteamAPI_IHmd_GetProjectionMatrix(IntPtr instancePtr, vr::Hmd_Eye eEye, float fNearZ, float fFarZ, vr::GraphicsAPIConvention eProjType);
internal static extern void SteamAPI_IHmd_GetEyeOutputViewport(IntPtr instancePtr, vr::Hmd_Eye eEye, ref uint32_t pnX, ref uint32_t pnY, ref uint32_t pnWidth, ref uint32_t pnHeight);
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); }