Drag[en]gine Script Module DragonScript
1.23
|
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. More... | |
void | triggerPull () |
Trigger is pulled. More... | |
void | triggerRelease () |
Trigger has been released. More... | |
void | triggerTouch () |
Trigger is touched. More... | |
void | triggerUntouch () |
Trigger has been untouched. More... | |
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.
void Dragengine.Scenery.BAAVRTriggerInput.triggerPull | ( | ) |
Trigger is pulled.
void Dragengine.Scenery.BAAVRTriggerInput.triggerRelease | ( | ) |
Trigger has been released.
void Dragengine.Scenery.BAAVRTriggerInput.triggerTouch | ( | ) |
Trigger is touched.
void Dragengine.Scenery.BAAVRTriggerInput.triggerUntouch | ( | ) |
Trigger has been untouched.