|
Drag[en]gine Script Module DragonScript 1.35
|
Interface for VR trigger interaction support with base actor actions. More...
Public Member Functions | |
| void | triggerAnalog (float value) |
| Analog trigger value changed in the range from 0 to 1. | |
| void | triggerPull () |
| Trigger is pulled. | |
| void | triggerRelease () |
| Trigger has been released. | |
| void | triggerTouch () |
| Trigger is touched. | |
| void | triggerUntouch () |
| Trigger has been untouched. | |
Interface for VR trigger interaction support with base actor actions.
Implementing actions provide touch, untouch, pull, release and analog actions.
The touch, untouch, pull and release actions are binary actions. If the VR controller supports analog trigger input the pull and release actions are triggered if a controller defined threshold value is reached. Not all controllers support touch and untouch.
The analog trigger action is a gradual value in the range from 0 (released) to 1 (pulled). Not all VR controllers support analog trigger input. If not supported the value is always 0.
| void Dragengine.Scenery.BAAVRTriggerInput.triggerAnalog | ( | float | value | ) |
Analog trigger value changed in the range from 0 to 1.
Implemented in Dragengine.Commands.CommandsBAAVRTriggerInput.StateMachineEventBridge.
Referenced by triggerRelease().
| void Dragengine.Scenery.BAAVRTriggerInput.triggerPull | ( | ) |
Trigger is pulled.
Implemented in Dragengine.Commands.CommandsBAAVRTriggerInput.StateMachineEventBridge.
References triggerRelease().
Referenced by triggerUntouch().
| void Dragengine.Scenery.BAAVRTriggerInput.triggerRelease | ( | ) |
Trigger has been released.
Implemented in Dragengine.Commands.CommandsBAAVRTriggerInput.StateMachineEventBridge.
References triggerAnalog().
Referenced by triggerPull().
| void Dragengine.Scenery.BAAVRTriggerInput.triggerTouch | ( | ) |
Trigger is touched.
Implemented in Dragengine.Commands.CommandsBAAVRTriggerInput.StateMachineEventBridge.
References triggerTouch(), and triggerUntouch().
Referenced by triggerTouch().
| void Dragengine.Scenery.BAAVRTriggerInput.triggerUntouch | ( | ) |
Trigger has been untouched.
Implemented in Dragengine.Commands.CommandsBAAVRTriggerInput.StateMachineEventBridge.
References triggerPull().
Referenced by triggerTouch().