|
Drag[en]gine Script Module DragonScript 1.32.1
|
Base class operating only on actors with BAAVRTriggerInput action. More...
Public Member Functions | |
| void | analogAbsolute (float value) |
| Absolute input device axis position changed. | |
| void | approach () |
| User finger approached device button. | |
| TriggerAction | new (ECBehaviorPlayerControllable.Tracker tracker, String name, String description, bool rightHand) |
| void | start () |
| Input device key or button has been pressed. | |
| void | stop () |
| Input device key or button has been released. | |
| void | touch () |
| Input device button has been touched. | |
| void | untouch () |
| Input device button has been untouched. | |
| void | withdraw () |
| User finger withdrew from device button. | |
Public Member Functions inherited from Dragengine.Commands.Command | |
| void | analogRelative (float value) |
| Relative input device axis position changed. | |
| String | getDescription () |
| Description. | |
| String | getDisplayName () |
| Display name or null. | |
| String | getName () |
| Unique name. | |
| String | getTranslateDescription () |
| Translation description or null. | |
| String | getTranslateDisplayName () |
| Translation display name or null. | |
| Command | new () |
| Create command. | |
| Command | new (String name, String description) |
| Create command. | |
| void | pulse () |
| Convenience method calling start() and stop() in succession. | |
| void | setDescription (String description) |
| Set description. | |
| void | setDisplayName (String displayName) |
| Set display name or null. | |
| void | setName (String name) |
| Set unique name of the command. | |
| void | setTranslateDescription (String translateName) |
| Set translate description or null. | |
| void | setTranslateDisplayName (String translateName) |
| Set translate display name or null. | |
| String | translateDescription () |
| Translated command description using default TranslationManager. | |
| String | translateDescription (TranslationManager translationManager) |
| Translated command description. | |
| String | translateDisplayName () |
| Translated display name using default TranslationManager. | |
| String | translateDisplayName (TranslationManager translationManager) |
| Translated display name. | |
Protected Member Functions | |
| BAAVRTriggerInput | getInterface () |
| BAAVRTriggerInput2 | getInterface2 () |
| ECBehaviorPlayerControllable.Tracker | getTracker () |
Protected Attributes | |
| bool | pRightHand |
| ECBehaviorPlayerControllable.Tracker | pTracker |
Additional Inherited Members | |
Public Attributes inherited from Dragengine.Commands.Command | |
| String | pName |
Base class operating only on actors with BAAVRTriggerInput action.
| void Dragengine.Commands.CommandsBAAVRTriggerInput.TriggerAction.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.
| void Dragengine.Commands.CommandsBAAVRTriggerInput.TriggerAction.approach | ( | ) |
|
protected |
|
protected |
|
protected |
| TriggerAction Dragengine.Commands.CommandsBAAVRTriggerInput.TriggerAction.new | ( | ECBehaviorPlayerControllable.Tracker | tracker, |
| String | name, | ||
| String | description, | ||
| bool | rightHand | ||
| ) |
| void Dragengine.Commands.CommandsBAAVRTriggerInput.TriggerAction.start | ( | ) |
Input device key or button has been pressed.
Reimplemented from Dragengine.Commands.Command.
| void Dragengine.Commands.CommandsBAAVRTriggerInput.TriggerAction.stop | ( | ) |
Input device key or button has been released.
Reimplemented from Dragengine.Commands.Command.
| void Dragengine.Commands.CommandsBAAVRTriggerInput.TriggerAction.touch | ( | ) |
| void Dragengine.Commands.CommandsBAAVRTriggerInput.TriggerAction.untouch | ( | ) |
| void Dragengine.Commands.CommandsBAAVRTriggerInput.TriggerAction.withdraw | ( | ) |
User finger withdrew from device button.
Reimplemented from Dragengine.Commands.Command.
|
protected |
|
protected |