Drag[en]gine Script Module DragonScript  1.23
Dragengine.Commands.CommandsBAAVRTriggerInput Class Reference

Commands for player controlled BaseActor with BAAVRTriggerInput action. More...

Inheritance diagram for Dragengine.Commands.CommandsBAAVRTriggerInput:

Classes

class  TriggerAction
 Base class operating only on actors with BAAVRTriggerInput action. More...
 

Static Public Member Functions

static void addCommands (CommandManager commands, ECBehaviorPlayerControllable.Tracker tracker)
 Add commands to command manager. More...
 
static void addDefaultBindings (DefaultBindingHelper helper)
 Add default bindings for commands. More...
 

Detailed Description

Commands for player controlled BaseActor with BAAVRTriggerInput action.

Version
1.12

Contains various commands as sub classes. A static helper method adds instances of each command to the command manager of a BaseGameApp.

Member Function Documentation

◆ addCommands()

static void Dragengine.Commands.CommandsBAAVRTriggerInput.addCommands ( CommandManager  commands,
ECBehaviorPlayerControllable.Tracker  tracker 
)
static

Add commands to command manager.

Adds these commands:

  • triggerRight: Right hand trigger
  • triggerLeft: Left hand trigger

◆ addDefaultBindings()

static void Dragengine.Commands.CommandsBAAVRTriggerInput.addDefaultBindings ( DefaultBindingHelper  helper)
static

Add default bindings for commands.

Adds bindings for these commands if present in binding manager:

  • "triggerRight"
  • "triggerLeft"

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