SteamVR 一种输出类型。 Vibration:振动动作用于触发 VR 设备上的触觉反馈。这可以是控制器、背心,甚至是椅子。(在Unity中对应类为:SteamVR_Action_Vibration);
switch(o){caseSteamVR_Action_Boolean _:break;caseSteamVR_Action_Single _:break;caseSteamVR_Action_Vector2 _:break;caseSteamVR_Action_Vector3 _:break;caseSteamVR_Action_Pose _:break;caseSteamVR_Action_Skeleton _:break;} 额外还有SteamVR_Action_Vibration动作,这个大多数是用来作为输出的,如输入到...
case SteamVR_Action_Vector2 _: break; case SteamVR_Action_Vector3 _: break; case SteamVR_Action_Pose _: break; case SteamVR_Action_Skeleton _: break; } 1. 2. 3. 4. 5. 6. 7. 8. 9. 额外还有SteamVR_Action_Vibration动作,这个大多数是用来作为输出的,如输入到手柄作为反馈 参阅:SteamV...
Vibration 类型的动作用于触发 VR 设备上的触觉反馈。 这可以是控制器、背心,甚至是椅子。 3.8 Using actions(动作使用) 创建动作后,您可以在自己的脚本中使用它们,也可以使用我们创建的用于处理一些常见任务的统一组件。 它们被命名为 SteamVR_Action_Boolean、SteamVR_Action_Single、SteamVR_Action_...
额外还有SteamVR_Action_Vibration动作,这个大多数是用来作为输出的,如输入到手柄作为反馈 在SteamVR 开发中,不推荐使用绑定具体的按钮或交互硬件设备上,而是通过抽象的输入。具体来说,不推荐将某个动作的输入绑定到具体的交互硬件设备如摇杆上,如获取摇杆的状态等。推荐的开发方式是定义抽象的交互方式,接着通过抽象的...
he put a small vibration motor on a dorsal strap of one of his prototypes, thinking it would be a good place for feedback since the back of the hand is quite sensitive. It turned out that vibration applied to the back of the hand was powerfully felt as though it wereinsidethe hand....
Toggle Pointer: Common action of turning a laser pointer on/off Toggle Grab: Common action of grabbing game objects Toggle Use: Common action of using game objects Toggle Menu: Common action of bringing up an in-game menu Each of the above aliases can have the preferred controller button mapp...
duration provided in the first parameter at a vibration intensity given as the strength parameter. The max strength that can be provided is 3999, any number higher than that will be capped. An example of theVRTK_ControllerActionsscript can be viewed in ...
·TriggerHapticPulse(int duration, ushort strength):initiates the controller to begin vibrating for the given tick duration provided in the first parameter at a vibration intensity given as the strength parameter. The max strength that can be provided is 3999, any number higher than that will be...
Add a call tovr::VRInput()->SetActionManifestPath()to the application's initialization. This function takes an absolute path to the application's action manifest file. Add several calls tovr::VRInput()->GetActionHandle()to the application's initialization. These calls turn action paths (e....