本文整理汇总了C#中Valve.VR.HmdMatrix34_t类的典型用法代码示例。如果您正苦于以下问题:C# HmdMatrix34_t类的具体用法?C# HmdMatrix34_t怎么用?C# HmdMatrix34_t使用的例子?那么恭喜您, 这里精选的类代码示例或许可以为您提供帮助。
HmdMatrix34_t类属于Valve.VR命名空间,在下文中一共展示了HmdMatrix34_t类的20个代码示例,这些例子默认根据受欢迎程度排序。您可以为喜欢或者感觉有用的代码点赞,您的评价将有助于我们的系统推荐出更棒的C#代码示例。
示例1: GetWorkingStandingZeroPoseToRawTrackingPose
public bool GetWorkingStandingZeroPoseToRawTrackingPose(ref HmdMatrix34_t pmatStandingZeroPoseToRawTrackingPose)
{
bool result = FnTable.GetWorkingStandingZeroPoseToRawTrackingPose(ref pmatStandingZeroPoseToRawTrackingPose);
return result;
}
开发者ID:apekshadarbari,项目名称:PokerFace,代码行数:5,代码来源:openvr_api.cs
示例2: GetLiveSeatedZeroPoseToRawTrackingPose
public abstract bool GetLiveSeatedZeroPoseToRawTrackingPose(ref HmdMatrix34_t pmatSeatedZeroPoseToRawTrackingPose);
开发者ID:Black4Blade,项目名称:NewtonVR,代码行数:1,代码来源:openvr_api.cs
示例3: GetOverlayTransformTrackedDeviceRelative
public abstract EVROverlayError GetOverlayTransformTrackedDeviceRelative(ulong ulOverlayHandle,ref uint punTrackedDevice,ref HmdMatrix34_t pmatTrackedDeviceToOverlayTransform);
开发者ID:Black4Blade,项目名称:NewtonVR,代码行数:1,代码来源:openvr_api.cs
示例4: ApplyTransform
public abstract void ApplyTransform(ref TrackedDevicePose_t pOutputPose,ref TrackedDevicePose_t pTrackedDevicePose,ref HmdMatrix34_t pTransform);
开发者ID:Black4Blade,项目名称:NewtonVR,代码行数:1,代码来源:openvr_api.cs
示例5: GetWorkingStandingZeroPoseToRawTrackingPose
public abstract bool GetWorkingStandingZeroPoseToRawTrackingPose(ref HmdMatrix34_t pmatStandingZeroPoseToRawTrackingPose);
开发者ID:Black4Blade,项目名称:NewtonVR,代码行数:1,代码来源:openvr_api.cs
示例6: VR_IVRChaperoneSetup_SetWorkingStandingZeroPoseToRawTrackingPose
internal static extern void VR_IVRChaperoneSetup_SetWorkingStandingZeroPoseToRawTrackingPose(IntPtr instancePtr, ref HmdMatrix34_t pMatStandingZeroPoseToRawTrackingPose);
开发者ID:Black4Blade,项目名称:NewtonVR,代码行数:1,代码来源:openvr_api.cs
示例7: VR_IVROverlay_GetOverlayTransformAbsolute
internal static extern EVROverlayError VR_IVROverlay_GetOverlayTransformAbsolute(IntPtr instancePtr, ulong ulOverlayHandle, ref ETrackingUniverseOrigin peTrackingOrigin, ref HmdMatrix34_t pmatTrackingOriginToOverlayTransform);
开发者ID:Black4Blade,项目名称:NewtonVR,代码行数:1,代码来源:openvr_api.cs
示例8: SetKeyboardTransformAbsolute
public void SetKeyboardTransformAbsolute(ETrackingUniverseOrigin eTrackingOrigin,ref HmdMatrix34_t pmatTrackingOriginToKeyboardTransform)
{
FnTable.SetKeyboardTransformAbsolute(eTrackingOrigin,ref pmatTrackingOriginToKeyboardTransform);
}
开发者ID:apekshadarbari,项目名称:PokerFace,代码行数:4,代码来源:openvr_api.cs
示例9: VR_IVRChaperoneSetup_GetWorkingTagPoseByName
internal static extern bool VR_IVRChaperoneSetup_GetWorkingTagPoseByName(IntPtr instancePtr, string pchTagName, ref HmdMatrix34_t pmatTagPose, ref float pflScale);
开发者ID:billcrosbie,项目名称:openvr,代码行数:1,代码来源:openvr_api.cs
示例10: GetOverlayTransformTrackedDeviceRelative
public EVROverlayError GetOverlayTransformTrackedDeviceRelative(ulong ulOverlayHandle,ref uint punTrackedDevice,ref HmdMatrix34_t pmatTrackedDeviceToOverlayTransform)
{
punTrackedDevice = 0;
EVROverlayError result = FnTable.GetOverlayTransformTrackedDeviceRelative(ulOverlayHandle,ref punTrackedDevice,ref pmatTrackedDeviceToOverlayTransform);
return result;
}
开发者ID:apekshadarbari,项目名称:PokerFace,代码行数:6,代码来源:openvr_api.cs
示例11: GetTransformForOverlayCoordinates
public EVROverlayError GetTransformForOverlayCoordinates(ulong ulOverlayHandle,ETrackingUniverseOrigin eTrackingOrigin,HmdVector2_t coordinatesInOverlay,ref HmdMatrix34_t pmatTransform)
{
EVROverlayError result = FnTable.GetTransformForOverlayCoordinates(ulOverlayHandle,eTrackingOrigin,coordinatesInOverlay,ref pmatTransform);
return result;
}
开发者ID:apekshadarbari,项目名称:PokerFace,代码行数:5,代码来源:openvr_api.cs
示例12: GetOverlayTransformAbsolute
public EVROverlayError GetOverlayTransformAbsolute(ulong ulOverlayHandle,ref ETrackingUniverseOrigin peTrackingOrigin,ref HmdMatrix34_t pmatTrackingOriginToOverlayTransform)
{
EVROverlayError result = FnTable.GetOverlayTransformAbsolute(ulOverlayHandle,ref peTrackingOrigin,ref pmatTrackingOriginToOverlayTransform);
return result;
}
开发者ID:apekshadarbari,项目名称:PokerFace,代码行数:5,代码来源:openvr_api.cs
示例13: GetLiveSeatedZeroPoseToRawTrackingPose
public bool GetLiveSeatedZeroPoseToRawTrackingPose(ref HmdMatrix34_t pmatSeatedZeroPoseToRawTrackingPose)
{
bool result = FnTable.GetLiveSeatedZeroPoseToRawTrackingPose(ref pmatSeatedZeroPoseToRawTrackingPose);
return result;
}
开发者ID:apekshadarbari,项目名称:PokerFace,代码行数:5,代码来源:openvr_api.cs
示例14: SetWorkingStandingZeroPoseToRawTrackingPose
public void SetWorkingStandingZeroPoseToRawTrackingPose(ref HmdMatrix34_t pMatStandingZeroPoseToRawTrackingPose)
{
FnTable.SetWorkingStandingZeroPoseToRawTrackingPose(ref pMatStandingZeroPoseToRawTrackingPose);
}
开发者ID:apekshadarbari,项目名称:PokerFace,代码行数:4,代码来源:openvr_api.cs
示例15: GetOverlayTransformAbsolute
public override EVROverlayError GetOverlayTransformAbsolute(ulong ulOverlayHandle,ref ETrackingUniverseOrigin peTrackingOrigin,ref HmdMatrix34_t pmatTrackingOriginToOverlayTransform)
{
CheckIfUsable();
EVROverlayError result = VRNativeEntrypoints.VR_IVROverlay_GetOverlayTransformAbsolute(m_pVROverlay,ulOverlayHandle,ref peTrackingOrigin,ref pmatTrackingOriginToOverlayTransform);
return result;
}
开发者ID:Black4Blade,项目名称:NewtonVR,代码行数:6,代码来源:openvr_api.cs
示例16: RigidTransform
public RigidTransform(HmdMatrix34_t pose)
{
var m = Matrix4x4.identity;
m[0, 0] = pose.m0;
m[0, 1] = pose.m1;
m[0, 2] = -pose.m2;
m[0, 3] = pose.m3;
m[1, 0] = pose.m4;
m[1, 1] = pose.m5;
m[1, 2] = -pose.m6;
m[1, 3] = pose.m7;
m[2, 0] = -pose.m8;
m[2, 1] = -pose.m9;
m[2, 2] = pose.m10;
m[2, 3] = -pose.m11;
this.pos = m.GetPosition();
this.rot = m.GetRotation();
}
开发者ID:ConstLiu,项目名称:openvr,代码行数:22,代码来源:SteamVR_Utils.cs
示例17: ToHmdMatrix34
public HmdMatrix34_t ToHmdMatrix34()
{
var m = Matrix4x4.TRS(pos, rot, Vector3.one);
var pose = new HmdMatrix34_t();
pose.m0 = m[0, 0];
pose.m1 = m[0, 1];
pose.m2 = -m[0, 2];
pose.m3 = m[0, 3];
pose.m4 = m[1, 0];
pose.m5 = m[1, 1];
pose.m6 = -m[1, 2];
pose.m7 = m[1, 3];
pose.m8 = -m[2, 0];
pose.m9 = -m[2, 1];
pose.m10 = m[2, 2];
pose.m11 = -m[2, 3];
return pose;
}
开发者ID:ConstLiu,项目名称:openvr,代码行数:22,代码来源:SteamVR_Utils.cs
示例18: VR_IVRChaperoneSetup_GetLiveSeatedZeroPoseToRawTrackingPose
internal static extern bool VR_IVRChaperoneSetup_GetLiveSeatedZeroPoseToRawTrackingPose(IntPtr instancePtr, ref HmdMatrix34_t pmatSeatedZeroPoseToRawTrackingPose);
开发者ID:Black4Blade,项目名称:NewtonVR,代码行数:1,代码来源:openvr_api.cs
示例19: SteamAPI_vr_IHmd_GetTrackerFromHeadPose
internal static extern bool SteamAPI_vr_IHmd_GetTrackerFromHeadPose(IntPtr instancePtr, float fPredictedSecondsFromNow, ref HmdMatrix34_t pmPose, ref HmdTrackingResult peResult);
开发者ID:Reticulatas,项目名称:MochaEngineFinal,代码行数:1,代码来源:steam_api_interop.cs
示例20: VR_IVROverlay_GetOverlayTransformTrackedDeviceRelative
internal static extern EVROverlayError VR_IVROverlay_GetOverlayTransformTrackedDeviceRelative(IntPtr instancePtr, ulong ulOverlayHandle, ref uint punTrackedDevice, ref HmdMatrix34_t pmatTrackedDeviceToOverlayTransform);
开发者ID:Black4Blade,项目名称:NewtonVR,代码行数:1,代码来源:openvr_api.cs
注:本文中的Valve.VR.HmdMatrix34_t类示例由纯净天空整理自Github/MSDocs等源码及文档管理平台,相关代码片段筛选自各路编程大神贡献的开源项目,源码版权归原作者所有,传播和使用请参考对应项目的License;未经允许,请勿转载。 |
请发表评论