SteamVR+HTC VIVE开发之旅 Interactable组件解析
1.Interactable: 可交互组件属性
ActivateActionSetOnAttach: Activates an action set on attach and deactivates on detach
在附加时**设置的操作,在分离时禁用
HideHandOnAttach: Hide the whole hand on attachment and show on detach
隐藏整个手的附件和显示在分离
HideSkeletonOnAttach: Hide the skeleton part of the hand on attachment and show on detach
在附着处隐藏手的骨架部分,在分离处显示
HideControllerOnAttach: Hide the controller part of the hand on attachment and show on detach
在附件上隐藏手的控制器部分,在分离时显示
**HandAnimationOnPickup:**The integer in the animator to trigger on pickup. 0 for none
拾取时动画器中要触发的整数。0为不触发
**SetRangeOfMotionOnPickup:**The range of motion to set on the skeleton. None for no change.
设置手部骨骼的运动状态,是一个枚举类型, WithController,WithoutController两种状态
None为不改变
UseHandObjectAttachmentPoint: Specify whether you want to snap to the hand’s object attachment point, or just the raw hand
指定是要抓取手的对象附着点,还是只抓取原始手
AttachEaseIn: ??
SnapAttachEaseInTime: 及时断开连接的时间??
SnapAttachEaseInCompleted: 抓紧,连接完成??
SkeletonPoser: The skeleton pose to apply when grabbing. Can only set this or handFollowTransform
抓握时的骨架姿势。只能设置this或handFollowTransform
HandFollowTransform: Should the rendered hand lock on to and follow the object
渲染的手是否应该锁定并跟随对象
HighlightOnHover: Set whether or not you want this interactible to highlight when hovering over it
设置将鼠标悬停在该交互性图标上时是否要高亮显示
HideHighlight: An array of child gameObjects to not render a highlight for. Things like transparent parts, vfx, etc
一个不为其渲染高亮显示的子游戏对象数组。比如透明部件,视觉特效等等
HoverPriority: Higher is better
持续的优先级