Drag[en]gine Script Module DragonScript  1.23
Dragengine.Scenery.BAAVRTriggerInput Interface Reference

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...
 

Detailed Description

Interface for VR trigger interaction support with base actor actions.

Version
1.12

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.

Member Function Documentation

◆ triggerAnalog()

void Dragengine.Scenery.BAAVRTriggerInput.triggerAnalog ( float  value)

Analog trigger value changed in the range from 0 to 1.

◆ triggerPull()

void Dragengine.Scenery.BAAVRTriggerInput.triggerPull ( )

Trigger is pulled.

◆ triggerRelease()

void Dragengine.Scenery.BAAVRTriggerInput.triggerRelease ( )

Trigger has been released.

◆ triggerTouch()

void Dragengine.Scenery.BAAVRTriggerInput.triggerTouch ( )

Trigger is touched.

◆ triggerUntouch()

void Dragengine.Scenery.BAAVRTriggerInput.triggerUntouch ( )

Trigger has been untouched.


The documentation for this interface was generated from the following file: