Interface IInputSystem
Inherited Members
Namespace: Ride.IO
Assembly: cs.temp.dll.dll
Syntax
public interface IInputSystem : IRideSystem, IApiInject, IIdentity
Properties
Name | Description |
---|---|
mousePosition | Gets the position of the mouse on the screen |
Methods
Name | Description |
---|---|
AddPlayerInputController(RideID) | Adds a IPlayerInputController to an agent |
AttachControllerToControllable(RideID, RideID) | |
AttachPlayerInputController(RideID, IPlayerInputController) | Links a IPlayerInputController to an agent |
DetachControllable(RideID) | |
DetachController(RideID) | |
GetAxis(String) | Checks the position of a specific axis, i.e. how left or right the left joystick is. |
GetAxis(String, RideInputLayer) | Checks the position of a specific axis, and if a specific input layer is active. |
GetControllables(RideID) | Gets the input controllables of the object |
GetInputControllable(RideID, InputControlType) | |
GetInputController(RideID) | Gets the general IInputController interface for any actor |
GetInputControllerNew(RideID) | |
GetInputLayerActive(RideInputLayer) | Returns false if input to the given layer is being ignored. |
GetKey(RideKeyCode) | Checks if a specific key is pressed |
GetKey(RideKeyCode, RideInputLayer) | Checks if a specific key is pressed, and if a specific input layer is active. |
GetKeyDown(RideKeyCode) | Checks if a specific key is pressed down |
GetKeyDown(RideKeyCode, RideInputLayer) | Checks if a specific key is pressed down, and if a specific input layer is active. |
GetKeys(RideKeyCode[]) | Checks if a series of keys is pressed |
GetKeys(RideKeyCode[], RideInputLayer) | |
GetKeysDown(RideKeyCode[]) | Checks if a series of keys is pressed down |
GetKeysDown(RideKeyCode[], RideInputLayer) | |
GetKeysPressed() | Gets an array of keys that are being pressed |
GetKeysPressedDown() | Gets an array of keys that are being pressed down |
GetKeysPressedUp() | Gets an array of keys that are being pressed up |
GetKeysUp(RideKeyCode[]) | Checks if a series of keys is pressed up |
GetKeysUp(RideKeyCode[], RideInputLayer) | |
GetKeyUp(RideKeyCode) | Checks if a specific key is pressed up |
GetKeyUp(RideKeyCode, RideInputLayer) | |
GetLocomotionController(RideID) | |
GetMouseButton(Int32) | Checks if a specific mouse button is pressed |
GetMouseButton(Int32, RideInputLayer) | |
GetMouseButtonDown(Int32) | Checks if a specific mouse button is pressed down |
GetMouseButtonDown(Int32, RideInputLayer) | |
GetMouseButtons(Int32[]) | Checks if a series of mouse buttons is pressed |
GetMouseButtons(Int32[], RideInputLayer) | |
GetMouseButtonsDown(Int32[]) | Checks if a series of mouse buttons is pressed down |
GetMouseButtonsDown(Int32[], RideInputLayer) | |
GetMouseButtonsUp(Int32[]) | Checks if a series of mouse buttons is pressed up |
GetMouseButtonsUp(Int32[], RideInputLayer) | |
GetMouseButtonUp(Int32) | Checks if a specific mouse button is pressed up |
GetMouseButtonUp(Int32, RideInputLayer) | |
GetPlayerInputController(RideID) | Gets the IPlayerInputController interface for the agent |
HasActivePlayerInputController(RideID) | Checks if the agent has an active IPlayerInputController |
HasControllable(RideID) | |
HasControllable(RideID, InputControlType) | |
HasController(RideID) | |
HasExistingPlayerInputController(RideID) | Checks if the agent has an existing IPlayerInputController |
IsMouseButtonLongDown(Int32) | Returns true if it's been a while since the mouse button was pressed down. Use this to see if a mouse up represents a click or a hold. |
SetInputLayer(RideInputLayer, Boolean) | Sets bitmask for ignoring input of a certain context. |
TogglePlayerInputController(RideID, Boolean) | Toggles on/off the IPlayerInputController for an agent |