本文整理汇总了C#中TrackedDeviceProperty类的典型用法代码示例。如果您正苦于以下问题:C# TrackedDeviceProperty类的具体用法?C# TrackedDeviceProperty怎么用?C# TrackedDeviceProperty使用的例子?那么恭喜您, 这里精选的类代码示例或许可以为您提供帮助。
TrackedDeviceProperty类属于命名空间,在下文中一共展示了TrackedDeviceProperty类的13个代码示例,这些例子默认根据受欢迎程度排序。您可以为喜欢或者感觉有用的代码点赞,您的评价将有助于我们的系统推荐出更棒的C#代码示例。
示例1: VR_IVRSystem_GetUint64TrackedDeviceProperty
internal static extern ulong VR_IVRSystem_GetUint64TrackedDeviceProperty(IntPtr instancePtr, uint unDeviceIndex, TrackedDeviceProperty prop, ref TrackedPropertyError pError);
开发者ID:billcrosbie,项目名称:openvr,代码行数:1,代码来源:openvr_api.cs
示例2: VR_IVRSystem_GetMatrix34TrackedDeviceProperty
internal static extern HmdMatrix34_t VR_IVRSystem_GetMatrix34TrackedDeviceProperty(IntPtr instancePtr, uint unDeviceIndex, TrackedDeviceProperty prop, ref TrackedPropertyError pError);
开发者ID:billcrosbie,项目名称:openvr,代码行数:1,代码来源:openvr_api.cs
示例3: VR_IVRSystem_GetStringTrackedDeviceProperty
internal static extern uint VR_IVRSystem_GetStringTrackedDeviceProperty(IntPtr instancePtr, uint unDeviceIndex, TrackedDeviceProperty prop, System.Text.StringBuilder pchValue, uint unBufferSize, ref TrackedPropertyError pError);
开发者ID:billcrosbie,项目名称:openvr,代码行数:1,代码来源:openvr_api.cs
示例4: GetUint64TrackedDeviceProperty
public abstract ulong GetUint64TrackedDeviceProperty(uint unDeviceIndex,TrackedDeviceProperty prop,ref TrackedPropertyError pError);
开发者ID:billcrosbie,项目名称:openvr,代码行数:1,代码来源:openvr_api.cs
示例5: VR_IVRSystem_GetFloatTrackedDeviceProperty
internal static extern float VR_IVRSystem_GetFloatTrackedDeviceProperty(IntPtr instancePtr, uint unDeviceIndex, TrackedDeviceProperty prop, ref TrackedPropertyError pError);
开发者ID:billcrosbie,项目名称:openvr,代码行数:1,代码来源:openvr_api.cs
示例6: GetMatrix34TrackedDeviceProperty
public abstract HmdMatrix34_t GetMatrix34TrackedDeviceProperty(uint unDeviceIndex,TrackedDeviceProperty prop,ref TrackedPropertyError pError);
开发者ID:billcrosbie,项目名称:openvr,代码行数:1,代码来源:openvr_api.cs
示例7: GetStringTrackedDeviceProperty
public abstract uint GetStringTrackedDeviceProperty(uint unDeviceIndex,TrackedDeviceProperty prop,System.Text.StringBuilder pchValue,uint unBufferSize,ref TrackedPropertyError pError);
开发者ID:billcrosbie,项目名称:openvr,代码行数:1,代码来源:openvr_api.cs
示例8: GetFloatTrackedDeviceProperty
public abstract float GetFloatTrackedDeviceProperty(uint unDeviceIndex,TrackedDeviceProperty prop,ref TrackedPropertyError pError);
开发者ID:billcrosbie,项目名称:openvr,代码行数:1,代码来源:openvr_api.cs
示例9: GetInt32TrackedDeviceProperty
public abstract int GetInt32TrackedDeviceProperty(uint unDeviceIndex,TrackedDeviceProperty prop,ref TrackedPropertyError pError);
开发者ID:billcrosbie,项目名称:openvr,代码行数:1,代码来源:openvr_api.cs
示例10: GetBoolTrackedDeviceProperty
public abstract bool GetBoolTrackedDeviceProperty(uint unDeviceIndex,TrackedDeviceProperty prop,ref TrackedPropertyError pError);
开发者ID:billcrosbie,项目名称:openvr,代码行数:1,代码来源:openvr_api.cs
示例11: GetStringProperty
string GetStringProperty(TrackedDeviceProperty prop)
{
var error = TrackedPropertyError.TrackedProp_Success;
var capactiy = hmd.GetStringTrackedDeviceProperty(OpenVR.k_unTrackedDeviceIndex_Hmd, prop, null, 0, ref error);
if (capactiy > 1)
{
var result = new System.Text.StringBuilder((int)capactiy);
hmd.GetStringTrackedDeviceProperty(OpenVR.k_unTrackedDeviceIndex_Hmd, prop, result, capactiy, ref error);
return result.ToString();
}
return (error != TrackedPropertyError.TrackedProp_Success) ? error.ToString() : "<unknown>";
}
开发者ID:8BitRain,项目名称:EcoWorld,代码行数:12,代码来源:SteamVR.cs
示例12: GetFloatProperty
float GetFloatProperty(TrackedDeviceProperty prop)
{
var error = TrackedPropertyError.TrackedProp_Success;
return hmd.GetFloatTrackedDeviceProperty(OpenVR.k_unTrackedDeviceIndex_Hmd, prop, ref error);
}
开发者ID:8BitRain,项目名称:EcoWorld,代码行数:5,代码来源:SteamVR.cs
示例13: SteamAPI_vr_IVRSystem_GetInt32TrackedDeviceProperty
internal static extern int SteamAPI_vr_IVRSystem_GetInt32TrackedDeviceProperty(IntPtr instancePtr, TrackedDeviceIndex_t unDeviceIndex, TrackedDeviceProperty prop, ref TrackedPropertyError pError);
开发者ID:vmoudy,项目名称:MultiplayerBook,代码行数:1,代码来源:steam_api_interop.cs
注:本文中的TrackedDeviceProperty类示例整理自Github/MSDocs等源码及文档管理平台,相关代码片段筛选自各路编程大神贡献的开源项目,源码版权归原作者所有,传播和使用请参考对应项目的License;未经允许,请勿转载。 |
请发表评论