本文整理汇总了C#中ETrackedPropertyError类的典型用法代码示例。如果您正苦于以下问题:C# ETrackedPropertyError类的具体用法?C# ETrackedPropertyError怎么用?C# ETrackedPropertyError使用的例子?那么恭喜您, 这里精选的类代码示例或许可以为您提供帮助。
ETrackedPropertyError类属于命名空间,在下文中一共展示了ETrackedPropertyError类的20个代码示例,这些例子默认根据受欢迎程度排序。您可以为喜欢或者感觉有用的代码点赞,您的评价将有助于我们的系统推荐出更棒的C#代码示例。
示例1: VR_IVRSystem_GetFloatTrackedDeviceProperty
internal static extern float VR_IVRSystem_GetFloatTrackedDeviceProperty(IntPtr instancePtr, uint unDeviceIndex, ETrackedDeviceProperty prop, ref ETrackedPropertyError pError);
开发者ID:Black4Blade,项目名称:NewtonVR,代码行数:1,代码来源:openvr_api.cs
示例2: GetStringTrackedDeviceProperty
public abstract uint GetStringTrackedDeviceProperty(uint unDeviceIndex,ETrackedDeviceProperty prop,System.Text.StringBuilder pchValue,uint unBufferSize,ref ETrackedPropertyError pError);
开发者ID:Black4Blade,项目名称:NewtonVR,代码行数:1,代码来源:openvr_api.cs
示例3: GetPropErrorNameFromEnum
public abstract string GetPropErrorNameFromEnum(ETrackedPropertyError error);
开发者ID:Black4Blade,项目名称:NewtonVR,代码行数:1,代码来源:openvr_api.cs
示例4: GetBoolTrackedDeviceProperty
public bool GetBoolTrackedDeviceProperty(uint unDeviceIndex,ETrackedDeviceProperty prop,ref ETrackedPropertyError pError)
{
bool result = FnTable.GetBoolTrackedDeviceProperty(unDeviceIndex,prop,ref pError);
return result;
}
开发者ID:apekshadarbari,项目名称:PokerFace,代码行数:5,代码来源:openvr_api.cs
示例5: VR_IVRSystem_GetStringTrackedDeviceProperty
internal static extern uint VR_IVRSystem_GetStringTrackedDeviceProperty(IntPtr instancePtr, uint unDeviceIndex, ETrackedDeviceProperty prop, System.Text.StringBuilder pchValue, uint unBufferSize, ref ETrackedPropertyError pError);
开发者ID:Black4Blade,项目名称:NewtonVR,代码行数:1,代码来源:openvr_api.cs
示例6: GetUint64TrackedDeviceProperty
public override ulong GetUint64TrackedDeviceProperty(uint unDeviceIndex,ETrackedDeviceProperty prop,ref ETrackedPropertyError pError)
{
CheckIfUsable();
ulong result = VRNativeEntrypoints.VR_IVRSystem_GetUint64TrackedDeviceProperty(m_pVRSystem,unDeviceIndex,prop,ref pError);
return result;
}
开发者ID:Black4Blade,项目名称:NewtonVR,代码行数:6,代码来源:openvr_api.cs
示例7: GetPropErrorNameFromEnum
public string GetPropErrorNameFromEnum(ETrackedPropertyError error)
{
IntPtr result = FnTable.GetPropErrorNameFromEnum(error);
return (string) Marshal.PtrToStructure(result, typeof(string));
}
开发者ID:apekshadarbari,项目名称:PokerFace,代码行数:5,代码来源:openvr_api.cs
示例8: GetBoolTrackedDeviceProperty
public abstract bool GetBoolTrackedDeviceProperty(uint unDeviceIndex,ETrackedDeviceProperty prop,ref ETrackedPropertyError pError);
开发者ID:Black4Blade,项目名称:NewtonVR,代码行数:1,代码来源:openvr_api.cs
示例9: GetMatrix34TrackedDeviceProperty
public HmdMatrix34_t GetMatrix34TrackedDeviceProperty(uint unDeviceIndex,ETrackedDeviceProperty prop,ref ETrackedPropertyError pError)
{
HmdMatrix34_t result = FnTable.GetMatrix34TrackedDeviceProperty(unDeviceIndex,prop,ref pError);
return result;
}
开发者ID:apekshadarbari,项目名称:PokerFace,代码行数:5,代码来源:openvr_api.cs
示例10: GetStringTrackedDeviceProperty
public uint GetStringTrackedDeviceProperty(uint unDeviceIndex,ETrackedDeviceProperty prop,System.Text.StringBuilder pchValue,uint unBufferSize,ref ETrackedPropertyError pError)
{
uint result = FnTable.GetStringTrackedDeviceProperty(unDeviceIndex,prop,pchValue,unBufferSize,ref pError);
return result;
}
开发者ID:apekshadarbari,项目名称:PokerFace,代码行数:5,代码来源:openvr_api.cs
示例11: GetUint64TrackedDeviceProperty
public ulong GetUint64TrackedDeviceProperty(uint unDeviceIndex,ETrackedDeviceProperty prop,ref ETrackedPropertyError pError)
{
ulong result = FnTable.GetUint64TrackedDeviceProperty(unDeviceIndex,prop,ref pError);
return result;
}
开发者ID:apekshadarbari,项目名称:PokerFace,代码行数:5,代码来源:openvr_api.cs
示例12: GetInt32TrackedDeviceProperty
public int GetInt32TrackedDeviceProperty(uint unDeviceIndex,ETrackedDeviceProperty prop,ref ETrackedPropertyError pError)
{
int result = FnTable.GetInt32TrackedDeviceProperty(unDeviceIndex,prop,ref pError);
return result;
}
开发者ID:apekshadarbari,项目名称:PokerFace,代码行数:5,代码来源:openvr_api.cs
示例13: GetFloatTrackedDeviceProperty
public float GetFloatTrackedDeviceProperty(uint unDeviceIndex,ETrackedDeviceProperty prop,ref ETrackedPropertyError pError)
{
float result = FnTable.GetFloatTrackedDeviceProperty(unDeviceIndex,prop,ref pError);
return result;
}
开发者ID:apekshadarbari,项目名称:PokerFace,代码行数:5,代码来源:openvr_api.cs
示例14: VR_IVRSystem_GetUint64TrackedDeviceProperty
internal static extern ulong VR_IVRSystem_GetUint64TrackedDeviceProperty(IntPtr instancePtr, uint unDeviceIndex, ETrackedDeviceProperty prop, ref ETrackedPropertyError pError);
开发者ID:Black4Blade,项目名称:NewtonVR,代码行数:1,代码来源:openvr_api.cs
示例15: GetFloatTrackedDeviceProperty
public abstract float GetFloatTrackedDeviceProperty(uint unDeviceIndex,ETrackedDeviceProperty prop,ref ETrackedPropertyError pError);
开发者ID:Black4Blade,项目名称:NewtonVR,代码行数:1,代码来源:openvr_api.cs
示例16: VR_IVRSystem_GetMatrix34TrackedDeviceProperty
internal static extern HmdMatrix34_t VR_IVRSystem_GetMatrix34TrackedDeviceProperty(IntPtr instancePtr, uint unDeviceIndex, ETrackedDeviceProperty prop, ref ETrackedPropertyError pError);
开发者ID:Black4Blade,项目名称:NewtonVR,代码行数:1,代码来源:openvr_api.cs
示例17: GetInt32TrackedDeviceProperty
public abstract int GetInt32TrackedDeviceProperty(uint unDeviceIndex,ETrackedDeviceProperty prop,ref ETrackedPropertyError pError);
开发者ID:Black4Blade,项目名称:NewtonVR,代码行数:1,代码来源:openvr_api.cs
示例18: VR_IVRSystem_GetPropErrorNameFromEnum
internal static extern IntPtr VR_IVRSystem_GetPropErrorNameFromEnum(IntPtr instancePtr, ETrackedPropertyError error);
开发者ID:Black4Blade,项目名称:NewtonVR,代码行数:1,代码来源:openvr_api.cs
示例19: GetMatrix34TrackedDeviceProperty
public override HmdMatrix34_t GetMatrix34TrackedDeviceProperty(uint unDeviceIndex,ETrackedDeviceProperty prop,ref ETrackedPropertyError pError)
{
CheckIfUsable();
HmdMatrix34_t result = VRNativeEntrypoints.VR_IVRSystem_GetMatrix34TrackedDeviceProperty(m_pVRSystem,unDeviceIndex,prop,ref pError);
return result;
}
开发者ID:Black4Blade,项目名称:NewtonVR,代码行数:6,代码来源:openvr_api.cs
示例20: GetPropErrorNameFromEnum
public string GetPropErrorNameFromEnum(ETrackedPropertyError error)
{
IntPtr result = FnTable.GetPropErrorNameFromEnum(error);
return Marshal.PtrToStringAnsi(result);
}
开发者ID:Chazman11,项目名称:SGJ,代码行数:5,代码来源:openvr_api.cs
注:本文中的ETrackedPropertyError类示例整理自Github/MSDocs等源码及文档管理平台,相关代码片段筛选自各路编程大神贡献的开源项目,源码版权归原作者所有,传播和使用请参考对应项目的License;未经允许,请勿转载。 |
请发表评论