位置: 编程技术 - 正文

【VR】Leap Motion 官网文档 手型资源(#vr#)

编辑:rootadmin
前言:

推荐整理分享【VR】Leap Motion 官网文档 手型资源(#vr#),希望有所帮助,仅作参考,欢迎阅读内容。

文章相关热门搜索词:vr the,vr website,vr creation,vrbrations,vr-very rare,vr project,vr the,#vr#,内容如对您有帮助,希望把文章链接给更多的朋友!

Leap Motion的官网文档已经有不少的热心网友参与了翻译,但没有覆盖官网文档的全部。

为迎合Unity VR的热潮与大家的学习需要,推出的针对Unity方向的官方文档翻译系列。

第三篇 《手型资源》 介绍了Leap Motion为Unity提供的资源包种的手型预设体资源。

英文原文网址: Assets 手型资源

The Leap Motion core assets for Unity include a number of pre-made hand prefabs assets. You can use these prefabs as-is, modify them, or create your own.

Leap Motion 为Unity提供的核心资源包含一系列实现做好的手型预设体资源。你可以直接使用这些预设,或者对其进行修改,也可以创建自己的手型预设体。

There are a few different approaches to creating hands, including creating discrete components for the parts of the hands and moving these parts individually, creating mesh hands rigged with bone armatures and deforming the mesh by rotating the bones, and even creating code-driven hands that procedurally create their own graphics. The existing prefabs use all three of these approaches.

创建手型的方式有多种,你可以分别创建手型的各个部分并分别移动,也可以创建有骨骼绑定的手型网&#;通过旋转骨骼控制手部移动,甚至可以创建代码驱动的手型由计算机渲染出其图形。资源包中提供的预设体包含了以上三种创建方式。

The HandController class orchestrates the acquisition and application of tracking data to the hands and fingers. The HandModel and FingerModel classes serves as the base for animating the hand and fingers. There are several classes extending HandModel and FingerModel to implement the specific types of animation. These specific classes, like SkeletalHand/Finger and RiggedHand/Finger, can be used for multiple hand designs as long as the objects to which they are attached follow the same basic structure.

HandController类用于组织手部和手指追踪数据的获取和应用。HandModel类 和 FingerModel类是手部和手指动画的基础模型类。HandModel类和FingerModel类在均有一些派生类,用于特定动画类型。这些特殊的类,比如SkeletalHand/Finger(骨骼手/手指),可以用于多种手型和其他具有相同基础结构的物体设计。

The graphics and physics hands are separated into two different prefabs. You can use whichever physics hand prefab best fits your hand graphics model. For example. RigidFullHand includes a rigid body and collider for the arm, so you can use it with graphics models that include an arm – when you want the arm to collide with other objects in the scene.

(译者注:以下表&#;是资源包中的名字,应按英文名查找,中文译文仅供语义参考)

Hand Type 手型类型Prefabs 预设体Scripts 对应脚本Example 图例【VR】Leap Motion 官网文档 手型资源(#vr#)

Procedural Hands

程序生成手型

PolyHand1/2/3, DebugHand

多边形手1/2/3, 调试手

PolyHand/Finger, DebugHand/FingerComponent Hands组件构成手型

MinimalHand, CleanRobotHand, GlowRobotHand

最小手,普通机器手,光晕机器手

SkeletalHand/FingerRigged Hands骨骼驱动手型All the human models所有的人类模型RiggedHand/FingerPhysics Hands物理手型

RigidHand, RigidFullHand, RigidRoundHand, ThickRigidHand

刚体手,刚体完整手,刚体旋绕手,厚的刚体手

RigidHand/FingerSetting Up Hand Assets in the Hand Controller 在Hand Controller中设置手资源

After adding a HandController to a scene, you can set the graphics model by dragging the desired hand prefab to the Hand Graphics Model slots.

向场景中添加HandController之后,你可以拖拽想使用的手型预设体到组件的Hand Graphics Model属性槽当中,用于显示不同的图像模型。

If the Separate Left/Right setting is checked, you can use different prefabs for the right and left hands. Otherwise, the HandController mirrors a single model for both hands. The existing hand prefabs are all labeled “right” or “left” where it makes a difference (if you use the wrong hand model, the error will be obvious).

如果勾选了脚本组件中的 Separate Left/Right 选项,那么你就可以对左右手分别使用不同的预设体了。否则HandController会从一个模型映射出两个手型。资源包种的预设体均标明了左右以示区分(如果添加错误,会出现奇怪的结果)

Change the size of the hands using the HandController Scale value. A scale of 1.0 is life-size, but that is often too small. It really depends on your scene. The edges of the default Unity cube, for example, are 1 meter long and would dwarf a life-size hand. Scaling the hands larger also increases their range of motion. You can further increase the range of motion without making the hands larger by increasing the HandController Hand Movement Scale values.

你可以通过修改HangController 的Scale 属性&#;来改变手型的大小。当scale&#;为1时表示实际大小,但是通常看上去会很小。这取决于你的场景。例如Unity中的Cube默认的边缘长度是1米,相比之下实际大小的手型会显得很小。缩放手型同样也会缩放运动范围。你也可以通过增加HandController Hand Movement Scale 的&#;只能加运动的范围而不让手型变大。

Setting the Is Head Mounted will provide a hint to the Leap Motion service that hands are viewed from the head-mounted position and improve hand recognition. The setting does not automatically rotate the hands in the game to appear in front of the HandController rather than above it. To do that, you can set the HandController rotation values to {x=, y=, z=0}.

勾选Is Head Mounted可以将Leap Motion 服务设置为头戴模式。这个设定不会在游戏中自动旋转HandController前的手型。为使其发生旋转,你可以设置HandController 的 rotation&#;为 {x=, y=, z=0}。

(版权声明:本篇为Leap Motion 官网文档译文,版权归Leap Motion 官网所有,图文内容仅供学习使用。)

[置顶] 【VR】Leap Motion 官网文档 脚本参考(目录) 前言:本系列译文是为迎合UnityVR的热潮与大家的学习需要,推出的针对Unity方向的LeapMotion官方文档中英对照翻译。本篇第四篇《脚本参考》以目录链接

Unity4.6.3之间隔、延时调用方法 在cocos2dx中通过调用scheduleUpdate()方法并指定调用间隔时间即可实现方法的间隔、延时调用,而在unity中,有多种方法可提供此功能,在网上搜到这篇

Unity destructor Or OnDestory In%ofallcasesyoudon'twanttouseadestructor(finalizer)atall:

标签: #vr#

本文链接地址:https://www.jiuchutong.com/biancheng/382486.html 转载请保留说明!

上一篇:Unity之手机重力感应(unity给物体添加重力)

下一篇:[置顶] 【VR】Leap Motion 官网文档 脚本参考(目录)(置顶是什么意思呢)

  • 企业合并债权如何处理
  • 流转税包括哪些税种2022
  • 其他综合收益影响递延所得税负债吗
  • 车船抵扣如何填报
  • 季度超了30万年度没超120
  • 工商营业执照已经年报为什么显示未公示
  • 跨区域缴纳社保
  • 印花税没有计提直接付了怎么做账
  • 管理人员的奖惩制度
  • 单位食堂油烟管道清洗记录表
  • 员工销售家具取得的工资怎么写分录?
  • 审计调整tb
  • 企业亏损情况下股东借款怎么办
  • 案例分析个人总结报告
  • 企业偷税漏税行为诉讼有效期限
  • 总分机构如何做账
  • 企业重组有什么好处
  • 简述增值税纳税义务发生时间
  • 对公账户上扣缴的税怎么做分录?
  • 租金和物业费怎么计算
  • 财务杠杆系数简单计算方法
  • 端午节给员工发福利说什么
  • 公司有好多没有股份的人
  • win11有哪些提升
  • 公司减少注册资本时,应当自作出减少
  • 已经抵扣增值税专用发票对方要换票怎么办
  • 环评费入账的会计分录是什么啊
  • 预付款后开发票时的摘要和分录怎么做?
  • 超市收取进场费违反什么法律
  • 跨期发票怎么作废
  • php ftp功能
  • PHP:is_uploaded_file()的用法_Filesystem函数
  • 印克斯湖国家公园中的德克萨斯矢车菊,德克萨斯州 (© Inge Johnsson/Alamy)
  • 小规模未达起征点免税分录
  • 普通发票被退回怎么处理
  • 浅谈php的数据库管理系统
  • centos7安装keepalived
  • setdo指令
  • discuz 移动端
  • 缴纳的印花税怎么入账
  • 材料发票和工程发票的区别
  • 个人垫款公司将款支付个人算是资金回流吗
  • 企业破产员工补偿标准是按上年平均工资
  • 个税手续费返还要交企业所得税吗
  • 帐外资金
  • 电子承兑汇票承兑后几天到账
  • 企业购买汽车的进项税可以抵扣吗
  • 土地增值税是什么税种类型
  • 个体户怎么开对公账户
  • 小规模纳税人未开票收入如何申报增值税
  • 科研经费的间接费用会审核吗
  • 去银行更换帐户需要什么
  • 公司增资需要什么流程呢 最新
  • 为什么要用支票取钱
  • 建账时应考虑的问题包括下列哪三项
  • 把excel表格里的文字复制到word
  • 电脑输入systeminfo
  • win7右下角提示测试模式
  • 浏览器8系统怎么打不开主页
  • wondows文件保护
  • win10自定义功能键
  • win7如何创建新桌面
  • win10超级按钮
  • win7还原电脑系统的步骤
  • win7系统aero主题变成黑色
  • linux计划任务执行脚本
  • gta4支持win10
  • jquery easy ui
  • 教你如何使用玻璃胶
  • jquery操作html代码
  • python 压缩gz
  • jq倒计时代码
  • node优秀库
  • adb工具使用说明文档下载
  • js 类的继承
  • jquery.qtip提示信息插件用法简单实例
  • 西安市经开区管委会官网
  • 吉林税务发票自动查询系统网
  • 2020年安徽省护理技能大赛视频播放
  • 增值税网上申报步骤可以在手机上申报吗
  • 免责声明:网站部分图片文字素材来源于网络,如有侵权,请及时告知,我们会第一时间删除,谢谢! 邮箱:opceo@qq.com

    鄂ICP备2023003026号

    网站地图: 企业信息 工商信息 财税知识 网络常识 编程技术

    友情链接: 武汉网站建设