• 大小: 7.69MB
    文件类型: .zip
    金币: 1
    下载: 0 次
    发布日期: 2023-09-23
  • 语言: 其他
  • 标签: unity  vr  插件  移动  

资源简介

unity 仿THE LAB HTC VR VIVE瞬移系统,抛物线位移。

资源截图

代码片段和文件信息

//======= Copyright 1996-2014 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  2016-06-21 12:44  Vive-Teleporter-master\
     文件         475  2016-06-21 12:44  Vive-Teleporter-master\.gitignore
     文件       12288  2016-06-21 12:44  Vive-Teleporter-master\.gitignore.swp
     目录           0  2016-06-21 12:44  Vive-Teleporter-master\Assets\
     文件         192  2016-06-21 12:44  Vive-Teleporter-master\Assets\Plugins.meta
     目录           0  2016-06-21 12:44  Vive-Teleporter-master\Assets\Plugins\
     文件         327  2016-06-21 12:44  Vive-Teleporter-master\Assets\Plugins\openvr_api.bundle.meta
     目录           0  2016-06-21 12:44  Vive-Teleporter-master\Assets\Plugins\openvr_api.bundle\
     文件         192  2016-06-21 12:44  Vive-Teleporter-master\Assets\Plugins\openvr_api.bundle\Contents.meta
     目录           0  2016-06-21 12:44  Vive-Teleporter-master\Assets\Plugins\openvr_api.bundle\Contents\
     文件        1266  2016-06-21 12:44  Vive-Teleporter-master\Assets\Plugins\openvr_api.bundle\Contents\Info.plist
     文件         176  2016-06-21 12:44  Vive-Teleporter-master\Assets\Plugins\openvr_api.bundle\Contents\Info.plist.meta
     文件         192  2016-06-21 12:44  Vive-Teleporter-master\Assets\Plugins\openvr_api.bundle\Contents\MacOS.meta
     目录           0  2016-06-21 12:44  Vive-Teleporter-master\Assets\Plugins\openvr_api.bundle\Contents\MacOS\
     文件      299932  2016-06-21 12:44  Vive-Teleporter-master\Assets\Plugins\openvr_api.bundle\Contents\MacOS\openvr_api
     文件         176  2016-06-21 12:44  Vive-Teleporter-master\Assets\Plugins\openvr_api.bundle\Contents\MacOS\openvr_api.meta
     文件      148869  2016-06-21 12:44  Vive-Teleporter-master\Assets\Plugins\openvr_api.cs
     文件         264  2016-06-21 12:44  Vive-Teleporter-master\Assets\Plugins\openvr_api.cs.meta
     文件         192  2016-06-21 12:44  Vive-Teleporter-master\Assets\Plugins\x86.meta
     目录           0  2016-06-21 12:44  Vive-Teleporter-master\Assets\Plugins\x86\
     文件      347110  2016-06-21 12:44  Vive-Teleporter-master\Assets\Plugins\x86\libopenvr_api.so
     文件         932  2016-06-21 12:44  Vive-Teleporter-master\Assets\Plugins\x86\libopenvr_api.so.meta
     文件      271168  2016-06-21 12:44  Vive-Teleporter-master\Assets\Plugins\x86\openvr_api.dll
     文件         555  2016-06-21 12:44  Vive-Teleporter-master\Assets\Plugins\x86\openvr_api.dll.meta
     文件         192  2016-06-21 12:44  Vive-Teleporter-master\Assets\Plugins\x86_64.meta
     目录           0  2016-06-21 12:44  Vive-Teleporter-master\Assets\Plugins\x86_64\
     文件      379046  2016-06-21 12:44  Vive-Teleporter-master\Assets\Plugins\x86_64\libopenvr_api.so
     文件        1384  2016-06-21 12:44  Vive-Teleporter-master\Assets\Plugins\x86_64\libopenvr_api.so.meta
     文件      318272  2016-06-21 12:44  Vive-Teleporter-master\Assets\Plugins\x86_64\openvr_api.dll
     文件         558  2016-06-21 12:44  Vive-Teleporter-master\Assets\Plugins\x86_64\openvr_api.dll.meta
     文件         192  2016-06-21 12:44  Vive-Teleporter-master\Assets\SteamVR.meta
............此处省略245个文件信息

评论

共有 条评论