Skip to main content

InputMap.PlayingGenericActions

A struct in Root.Township, the global namespace.

The generated wrapper for the "PlayingGeneric" input action map: the same in-game actions bound to a generic XR controller. Read by GenericOpenXRInputController.

Constructors​

MemberWhat it is
PlayingGenericActions(InputMap wrapper)Creates an InputMap.PlayingGenericActions from wrapper.

Fields​

1 private and internal field
MemberWhat it is
private InputMap m_WrapperThe InputMap this action set reads its actions from.

Properties​

MemberWhat it is
InputAction AngularVelocity { get; }Controller angular velocity.
InputAction AssistGrab { get; }Grab assist button (trigger).
bool enabled { get; }Whether the action map is enabled.
InputAction Gestures { get; }Thumbstick used for gestures.
InputAction Interact { get; }Grab button (grip on a generic XR controller).
InputAction MetaMenu { get; }Menu button (secondary button).
InputAction Pose { get; }Full controller pose.
InputAction Position { get; }Controller position.
InputAction ReleaseToggleGrab { get; }Releases a toggle grab. Has no binding in this map.
InputAction Rotation { get; }Controller rotation.
InputAction SmoothLocomotion { get; }Thumbstick used for walking.
InputAction SmoothRotation { get; }Thumbstick used for turning.
InputAction Squeeze { get; }Grip axis of any XR controller.
InputAction TakeScreenShotLong { get; }Held trigger used for long photo capture.
InputAction Teleport { get; }Teleport button (primary button).
InputAction ToggleGrab { get; }Toggle grab button (trigger).
InputAction ToggleRun { get; }Run toggle (thumbstick click).
InputAction TouchingThumb { get; }Thumb touching the face buttons or stick.
InputAction TouchingTriggerButton { get; }Trigger touch.
InputAction TriggerAxis { get; }Trigger axis of any XR controller.
InputAction Velocity { get; }Controller velocity.

Methods​

MemberWhat it is
void Disable()Disables every action in this map.
void Enable()Enables every action in this map.
InputActionMap Get()Returns the underlying InputActionMap.
static InputActionMap op_Implicit(InputMap.PlayingGenericActions set)Converts to the underlying InputActionMap.
void SetCallbacks(InputMap.IPlayingGenericActions instance)Hooks an object's On... methods to every action's started, performed and cancelled callbacks, unhooking the previous one. Pass null to unhook.

Used in​

Members of other types that take, return or hold a PlayingGenericActions: