interface MAGES::ILocomotionActions¶
Overview¶
Interface for generic actions that are triggered from user input and return a value to the user. More…
interface ILocomotionActions { // methods void AddActionOnMove(ActionmoveAction); void AddActionOnSnapTurn(Action snapRotate); void AddActionOnChangeHeight(Action changeHeight); void AddActionOnSmoothTurn(Action smoothRotate); void AddActionOnSmoothTurn(Action smoothRotate); }; // direct descendants class InputController; class MAGESDeviceManagerV2;
Detailed Documentation¶
Interface for generic actions that are triggered from user input and return a value to the user.
Deprecated This interface is deprecated and will be removed in future versions.
Methods¶
void AddActionOnMove(ActionmoveAction)
Adds an action to be called when a move button is held.
Deprecated This function is deprecated and will be removed in future versions. Please use DeviceManager’s OnDriverEvent to listen for events.
Parameters:
moveAction |
The action that will be called with argument the 2D direction. |
void AddActionOnSnapTurn(ActionsnapRotate)
Adds an action to be called when the camera turn button is pressed.
Deprecated This function is deprecated and will be removed in future versions. Please use DeviceManager’s OnDriverEvent to listen for events.
Parameters:
snapRotate |
The action that will be called with argument the direction. |
void AddActionOnChangeHeight(ActionchangeHeight)
Adds an action to be called when a change height button is pressed.
Deprecated This function is deprecated and will be removed in future versions. Please use DeviceManager’s OnDriverEvent to listen for events.
Parameters:
changeHeight |
The action that will be called with argument the direction. |
void AddActionOnSmoothTurn(ActionsmoothRotate)
Adds an action to be called when a rotate button is held.
Deprecated This function is deprecated and will be removed in future versions. Please use DeviceManager’s OnDriverEvent to listen for events.
Parameters:
smoothRotate |
The action that will be called with argument the 2D direction. |
void AddActionOnSmoothTurn(ActionsmoothRotate)
Adds an action to be called when the rotate axis is held.
Deprecated This function is deprecated and will be removed in future versions. Please use DeviceManager’s OnDriverEvent to listen for events.
Parameters:
smoothRotate |
The action that will be called with argument a 1D Axis. |