登录
首页 » c# » HTC vive 控制代码

HTC vive 控制代码

于 2022-02-04 发布 文件大小:2.81 kB
0 118
下载积分: 2 下载次数: 1

代码说明:

using UnityEngine;   using System.Collections;   //检测手柄功能的脚本 这个脚本挂到手柄上(controler(right)和controler(left))上   public class ButtonTouchAction : MonoBehaviour {       //手柄       SteamVR_TrackedObject trackdeObjec;          void Awake() {           //获取手柄上的这个组件           trackdeObjec = GetComponent();       }       // Use this for initialization       void Start () {          }       void FixedUpdate()       {   //获取手柄输入           var device = SteamVR_Controller.Input((int)trackdeObjec.index);           //以下是api中复制出来的按键列表           /*   &n

下载说明:请别用迅雷下载,失败请重下,重下不扣分!

发表评论

0 个回复

  • fft
    ʵ
    2011-03-18 11:13:19下载
    积分:1
  • COMTest2003_v0.8
    在vc.net 2003中调用Matlab Builder生成的COM组件,与2005中有所不同。(in vc.net 2003 Calling Matlab Builder generated COM, 2005 was somewhat different.)
    2007-04-26 04:54:00下载
    积分:1
  • 交通灯程序
    1.东西方向、南北方向均有红、黄、绿三种信号灯; 2.东西干道和南北干道,绿灯下情况通行,红灯情况下不行,黄灯情况下 慢行; 3.东西干道和南北干道交替控制; 4.实时提醒绿灯亮的剩余时间; 5.通行时间可调; 6.雾霾或夜间模式按钮按下,所有方向显示黄灯.(1. there are three red, yellow and green lights in east-west direction and north-south direction. 2. the East West trunk road and the north-south trunk road pass under the green light. 3. East and west main road and the north and South Main Road alternately control; 4. reminding the remaining time of the green light in real time; 5. the time can be adjusted; 6. haze or night mode button is pressed, all directions show yellow light.)
    2021-01-13 22:48:47下载
    积分:1
  • C++并发编程实战(中文版)
    很不错的高并发编程资料,讲的也狠细!共大家一起学习!(Learning materials 2312312)
    2019-07-08 17:41:07下载
    积分:1
  • Roses
    去年情人节写的一个程序。设计场景:在漫天玫瑰飘洒之下,对尔之祝福姗姗而来。(a program to make your girl happy!I hope this is useful to you.)
    2012-09-01 03:09:48下载
    积分:1
  • C程序设计语言(第2版) 中文
    说明:  c++有关数据结构,和一些简单的例题,有助于深入了解c++知识,掌握c++编程的重点。(The data structure of C + + and some simple examples are helpful to understand the knowledge of C + + and master the key points of C + + programming.)
    2020-03-09 16:46:27下载
    积分:1
  • Aexpp06_adaptd
    自适应陷波器的仿真程序源码,初级入门的的matlab仿真程序源码 可直接使用。 (Adaptive notch filter simulation program source code, the primary entry of the Matlab simulation program source can be used directly.)
    2012-07-18 20:51:54下载
    积分:1
  • dde-server-mfc-application
    一个小型的DDE服务器,可以拿来练手和学习(A small DDE server that can be used for hands-on training and learning)
    2020-06-19 02:40:01下载
    积分:1
  • ColorImageProcessing
    一种基于non-sample的纹理合成demo,程序性能还有待优化,效果还不错.(texture synthesis demo.)
    2013-09-27 22:53:20下载
    积分:1
  • 简单的VC++算术编码程序
    课程小作业,实现算术编码的小程序。
    2022-03-13 11:16:25下载
    积分:1
  • 696516资源总数
  • 106914会员总数
  • 0今日下载