Drag[en]gine Script Module DragonScript 1.32.1
Loading...
Searching...
No Matches
Dragengine.Commands.CommandsBAAVRMenuInput Class Reference

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

Inheritance diagram for Dragengine.Commands.CommandsBAAVRMenuInput:

Classes

class  MenuAction
 Base class operating only on actors with BAAVRMenuInput action. More...
 
class  StateMachineEventBridge
 Bridge from BAAVRMenuInput to BAAStateMachineEvent. More...
 

Static Public Member Functions

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

Detailed Description

Commands for player controlled BaseActor with BAAVRMenuInput 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.CommandsBAAVRMenuInput.addCommands ( CommandManager  commands,
ECBehaviorPlayerControllable.Tracker  tracker 
)
static

Add commands to command manager.

Adds these commands:

  • menuRight: Right hand menu
  • menuLeft: Left hand menu

◆ addDefaultBindings() [1/2]

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

Add default bindings for commands.

Adds bindings for these commands if present in binding manager:

  • "menuRight"
  • "menuLeft"

Adds binding to first non-trigger action button.

Note

If you use also CommandsBAAInteract use #addDefaultBindings(DefaultBindingHelper,int) with 1 as button number. This way the trigger and first action button are interactions and the second button is the menu.

◆ addDefaultBindings() [2/2]

static void Dragengine.Commands.CommandsBAAVRMenuInput.addDefaultBindings ( DefaultBindingHelper  helper,
int  button 
)
static

Add default bindings for commands.

Version
1.28

Adds bindings for these commands if present in binding manager:

  • "menuRight"
  • "menuLeft"
Note

If you use also CommandsBAAInteract use 1 as button number. This way the trigger and first action button are interactions and the second button is the menu.

Parameters
helperHelper to add bindings to
buttonNumber of action button to use. 0 is the first non-trigger button.

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