Drag[en]gine Script Module DragonScript
1.23
|
Base class operating only on actors with BAAVRGrab action. More...
Public Member Functions | |
void | analogAbsolute (BAAVRGrab action, float value) |
Analog absolute. More... | |
void | analogAbsolute (float value) |
Absolute input device axis position changed. More... | |
Base | new (ECBehaviorPlayerControllable.Tracker tracker, String name, String description, bool rightHand) |
void | press (BAAVRGrab action) |
Pressed. More... | |
void | release (BAAVRGrab action) |
Released. More... | |
void | start () |
Input device key or button has been pressed. More... | |
void | stop () |
Input device key or button has been released. More... | |
Public Member Functions inherited from Dragengine.Commands.Command | |
void | analogRelative (float value) |
Relative input device axis position changed. More... | |
String | getDescription () |
Description. More... | |
String | getDisplayName () |
Display name or null. More... | |
String | getName () |
Unique name. More... | |
String | getTranslateDescription () |
Translation description or null. More... | |
String | getTranslateDisplayName () |
Translation display name or null. More... | |
Command | new () |
Create command. More... | |
Command | new (String name, String description) |
Create command. More... | |
void | pulse () |
Convenience method calling start() and stop() in succession. More... | |
void | setDescription (String description) |
Set description. More... | |
void | setDisplayName (String displayName) |
Set display name or null. More... | |
void | setName (String name) |
Set unique name of the command. More... | |
void | setTranslateDescription (String translateName) |
Set translate description or null. More... | |
void | setTranslateDisplayName (String translateName) |
Set translate display name or null. More... | |
void | touch () |
Input device button has been touched. More... | |
String | translateDescription () |
Translated command description using default TranslationManager. More... | |
String | translateDescription (TranslationManager translationManager) |
Translated command description. More... | |
String | translateDisplayName () |
Translated display name using default TranslationManager. More... | |
String | translateDisplayName (TranslationManager translationManager) |
Translated display name. More... | |
void | untouch () |
Input device button has been untouched. More... | |
Protected Member Functions | |
BAAVRGrab | getGrab () |
ECBehaviorPlayerControllable.Tracker | getTracker () |
Protected Attributes | |
bool | pRightHand |
ECBehaviorPlayerControllable.Tracker | pTracker |
Base class operating only on actors with BAAVRGrab action.
void Dragengine.Commands.CommandsBAAVRGrab.Base.analogAbsolute | ( | BAAVRGrab | action, |
float | value | ||
) |
Analog absolute.
Reimplemented in Dragengine.Commands.CommandsBAAVRGrab.SqueezeAction, and Dragengine.Commands.CommandsBAAVRGrab.GrabAction.
void Dragengine.Commands.CommandsBAAVRGrab.Base.analogAbsolute | ( | float | value | ) |
Absolute input device axis position changed.
Axis keeps position until next event. Gamepad events typically send this method when the stick is pushed to a new position.
value | New axis position in the range -1 to 1. |
Reimplemented from Dragengine.Commands.Command.
|
protected |
|
protected |
Base Dragengine.Commands.CommandsBAAVRGrab.Base.new | ( | ECBehaviorPlayerControllable.Tracker | tracker, |
String | name, | ||
String | description, | ||
bool | rightHand | ||
) |
void Dragengine.Commands.CommandsBAAVRGrab.Base.press | ( | BAAVRGrab | action | ) |
Pressed.
Reimplemented in Dragengine.Commands.CommandsBAAVRGrab.GrabAction.
void Dragengine.Commands.CommandsBAAVRGrab.Base.release | ( | BAAVRGrab | action | ) |
Released.
Reimplemented in Dragengine.Commands.CommandsBAAVRGrab.GrabAction.
void Dragengine.Commands.CommandsBAAVRGrab.Base.start | ( | ) |
Input device key or button has been pressed.
Reimplemented from Dragengine.Commands.Command.
void Dragengine.Commands.CommandsBAAVRGrab.Base.stop | ( | ) |
Input device key or button has been released.
Reimplemented from Dragengine.Commands.Command.
|
protected |
|
protected |