Drag[en]gine Script Module DragonScript 1.35
Loading...
Searching...
No Matches
Dragengine.Scenery.BAAVRTriggerInput Interface Reference

Interface for VR trigger interaction support with base actor actions. More...

Inheritance diagram for Dragengine.Scenery.BAAVRTriggerInput:
Dragengine.Commands.CommandsBAAVRTriggerInput.StateMachineEventBridge

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.

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.

Implemented in Dragengine.Commands.CommandsBAAVRTriggerInput.StateMachineEventBridge.

Referenced by triggerRelease().

◆ triggerPull()

void Dragengine.Scenery.BAAVRTriggerInput.triggerPull ( )

◆ triggerRelease()

void Dragengine.Scenery.BAAVRTriggerInput.triggerRelease ( )

Trigger has been released.

Implemented in Dragengine.Commands.CommandsBAAVRTriggerInput.StateMachineEventBridge.

References triggerAnalog().

Referenced by triggerPull().

◆ triggerTouch()

void Dragengine.Scenery.BAAVRTriggerInput.triggerTouch ( )

◆ triggerUntouch()

void Dragengine.Scenery.BAAVRTriggerInput.triggerUntouch ( )

Trigger has been untouched.

Implemented in Dragengine.Commands.CommandsBAAVRTriggerInput.StateMachineEventBridge.

References triggerPull().

Referenced by triggerTouch().


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