• 大小: 6.33MB
    文件类型: .zip
    金币: 1
    下载: 0 次
    发布日期: 2023-10-31
  • 语言: 其他
  • 标签: VR  

资源简介

用于VR场景漫游

资源截图

代码片段和文件信息

//======= Copyright (c) Valve Corporation All rights reserved. ===============
//
// Purpose: This file contains C#/managed code bindings for the OpenVR interfaces
// This file is auto-generated do not edit it.
//
//=============================================================================

using System;
using System.Runtime.InteropServices;
using Valve.VR;

namespace Valve.VR
{

[StructLayout(LayoutKind.Sequential)]
public struct IVRSystem
{
[UnmanagedFunctionPointer(CallingConvention.StdCall)]
internal delegate void _GetRecommendedRenderTargetSize(ref uint pnWidth ref uint pnHeight);
[MarshalAs(UnmanagedType.FunctionPtr)]
internal _GetRecommendedRenderTargetSize GetRecommendedRenderTargetSize;

[UnmanagedFunctionPointer(CallingConvention.StdCall)]
internal delegate HmdMatrix44_t _GetProjectionMatrix(EVREye eEye float fNearZ float fFarZ EGraphicsAPIConvention eProjType);
[MarshalAs(UnmanagedType.FunctionPtr)]
internal _GetProjectionMatrix GetProjectionMatrix;

[UnmanagedFunctionPointer(CallingConvention.StdCall)]
internal delegate void _GetProjectionRaw(EVREye eEye ref float pfLeft ref float pfRight ref float pfTop ref float pfBottom);
[MarshalAs(UnmanagedType.FunctionPtr)]
internal _GetProjectionRaw GetProjectionRaw;

[UnmanagedFunctionPointer(CallingConvention.StdCall)]
internal delegate DistortionCoordinates_t _ComputeDistortion(EVREye eEye float fU float fV);
[MarshalAs(UnmanagedType.FunctionPtr)]
internal _ComputeDistortion ComputeDistortion;

[UnmanagedFunctionPointer(CallingConvention.StdCall)]
internal delegate HmdMatrix34_t _GetEyeToHeadTransform(EVREye eEye);
[MarshalAs(UnmanagedType.FunctionPtr)]
internal _GetEyeToHeadTransform GetEyeToHeadTransform;

[UnmanagedFunctionPointer(CallingConvention.StdCall)]
internal delegate bool _GetTimeSinceLastVsync(ref float pfSecondsSinceLastVsync ref ulong pulframeCounter);
[MarshalAs(UnmanagedType.FunctionPtr)]
internal _GetTimeSinceLastVsync GetTimeSinceLastVsync;

[UnmanagedFunctionPointer(CallingConvention.StdCall)]
internal delegate int _GetD3D9AdapterIndex();
[MarshalAs(UnmanagedType.FunctionPtr)]
internal _GetD3D9AdapterIndex GetD3D9AdapterIndex;

[UnmanagedFunctionPointer(CallingConvention.StdCall)]
internal delegate void _GetDXGIOutputInfo(ref int pnAdapterIndex);
[MarshalAs(UnmanagedType.FunctionPtr)]
internal _GetDXGIOutputInfo GetDXGIOutputInfo;

[UnmanagedFunctionPointer(CallingConvention.StdCall)]
internal delegate bool _IsDisplayOnDesktop();
[MarshalAs(UnmanagedType.FunctionPtr)]
internal _IsDisplayOnDesktop IsDisplayOnDesktop;

[UnmanagedFunctionPointer(CallingConvention.StdCall)]
internal delegate bool _SetDisplayVisibility(bool bIsVisibleOnDesktop);
[MarshalAs(UnmanagedType.FunctionPtr)]
internal _SetDisplayVisibility SetDisplayVisibility;

[UnmanagedFunctionPointer(CallingConvention.StdCall)]
internal delegate void _GetDeviceToAbsoluteTrackingPose(ETrackingUniverseOrigin eOrigin float fPredictedSecondsToPhotonsFromNow [I

 属性            大小     日期    时间   名称
----------- ---------  ---------- -----  ----
     目录           0  2017-06-22 18:08  Vive-Teleporter-master\
     文件         475  2016-06-21 20:44  Vive-Teleporter-master\.gitignore
     文件       12288  2016-06-21 20:44  Vive-Teleporter-master\.gitignore.swp
     目录           0  2017-06-22 18:07  Vive-Teleporter-master\Assets\
     目录           0  2016-10-11 10:28  Vive-Teleporter-master\Assets\Gizmos\
     目录           0  2016-10-11 10:28  Vive-Teleporter-master\Assets\Gizmos\ViveGrip\
     文件       93438  2016-09-11 00:58  Vive-Teleporter-master\Assets\Gizmos\ViveGrip\anchor.png
     文件        1208  2016-09-11 00:58  Vive-Teleporter-master\Assets\Gizmos\ViveGrip\anchor.png.meta
     文件         192  2016-09-11 00:58  Vive-Teleporter-master\Assets\Gizmos\ViveGrip.meta
     文件         192  2016-09-11 00:58  Vive-Teleporter-master\Assets\Gizmos.meta
     目录           0  2016-10-11 10:36  Vive-Teleporter-master\Assets\Plugins\
     目录           0  2016-10-11 10:36  Vive-Teleporter-master\Assets\Plugins\ConvexDecompositionDll.bundle\
     目录           0  2016-10-11 10:36  Vive-Teleporter-master\Assets\Plugins\ConvexDecompositionDll.bundle\Contents\
     文件        1302  2015-05-06 02:13  Vive-Teleporter-master\Assets\Plugins\ConvexDecompositionDll.bundle\Contents\Info.plist
     文件         176  2015-05-06 02:13  Vive-Teleporter-master\Assets\Plugins\ConvexDecompositionDll.bundle\Contents\Info.plist.meta
     目录           0  2016-10-11 10:36  Vive-Teleporter-master\Assets\Plugins\ConvexDecompositionDll.bundle\Contents\MacOS\
     文件      452124  2015-05-06 02:12  Vive-Teleporter-master\Assets\Plugins\ConvexDecompositionDll.bundle\Contents\MacOS\ConvexDecompositionDll
     文件         176  2015-05-06 02:12  Vive-Teleporter-master\Assets\Plugins\ConvexDecompositionDll.bundle\Contents\MacOS\ConvexDecompositionDll.meta
     文件         191  2016-10-11 10:36  Vive-Teleporter-master\Assets\Plugins\ConvexDecompositionDll.bundle\Contents\MacOS.meta
     文件         191  2016-10-11 10:36  Vive-Teleporter-master\Assets\Plugins\ConvexDecompositionDll.bundle\Contents.meta
     文件         565  2016-10-11 10:36  Vive-Teleporter-master\Assets\Plugins\ConvexDecompositionDll.bundle.meta
     目录           0  2016-09-19 10:31  Vive-Teleporter-master\Assets\Plugins\openvr_api.bundle\
     目录           0  2016-09-19 10:31  Vive-Teleporter-master\Assets\Plugins\openvr_api.bundle\Contents\
     文件        1266  2016-06-21 20:44  Vive-Teleporter-master\Assets\Plugins\openvr_api.bundle\Contents\Info.plist
     文件         176  2016-06-21 20:44  Vive-Teleporter-master\Assets\Plugins\openvr_api.bundle\Contents\Info.plist.meta
     目录           0  2016-09-19 10:31  Vive-Teleporter-master\Assets\Plugins\openvr_api.bundle\Contents\MacOS\
     文件      299932  2016-06-21 20:44  Vive-Teleporter-master\Assets\Plugins\openvr_api.bundle\Contents\MacOS\openvr_api
     文件         176  2016-06-21 20:44  Vive-Teleporter-master\Assets\Plugins\openvr_api.bundle\Contents\MacOS\openvr_api.meta
     文件         192  2016-06-21 20:44  Vive-Teleporter-master\Assets\Plugins\openvr_api.bundle\Contents\MacOS.meta
     文件         192  2016-06-21 20:44  Vive-Teleporter-master\Assets\Plugins\openvr_api.bundle\Contents.meta
     文件         566  2016-09-19 10:31  Vive-Teleporter-master\Assets\Plugins\openvr_api.bundle.meta
............此处省略1083个文件信息

评论

共有 条评论