Skip to main content

InputMap.PlayingActions

A struct in Root.Township, the global namespace.

The generated wrapper for the "Playing" input action map: in-game controller actions with bindings for Oculus, Vive, WMR and Index controllers. Get it from an InputMap instance's Playing; PlayingOpenXRInputController reads it.

Constructors​

MemberWhat it is
PlayingActions(InputMap wrapper)Creates an InputMap.PlayingActions 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 on most controllers, grip on the Vive wand).
bool enabled { get; }Whether the action map is enabled.
InputAction Gestures { get; }Thumbstick or trackpad used for gestures.
InputAction GrabStrength { get; }Valve Index grip force axis.
InputAction Interact { get; }Grab button (grip on Oculus and WMR, trigger on Vive).
InputAction JoystickDpad { get; }Stick used as a left and right dpad. Has no binding in this map.
InputAction MetaMenu { get; }Menu button (secondary button on Oculus, menu on Vive and WMR).
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 or trackpad used for walking.
InputAction SmoothRotation { get; }Thumbstick or trackpad used for turning.
InputAction Squeeze { get; }Grip axis of any XR controller.
InputAction SwipeMotion { get; }Trackpad or touchpad position, for swipe locomotion.
InputAction SwipeTouch { get; }Vive trackpad touch, used for swipe input.
InputAction TakeScreenShotLong { get; }Held trigger (grip on Vive) used for long photo capture.
InputAction Teleport { get; }Teleport button (primary button on Oculus, trackpad press on Vive and WMR).
InputAction ToggleGrab { get; }Toggle grab button (trigger on Oculus and WMR, grip on Vive).
InputAction ToggleRun { get; }Run toggle (thumbstick or trackpad click).
InputAction TouchingIndexAxis { get; }Index finger on the trigger (touch or trigger axis).
InputAction TouchingThumb { get; }Thumb touching the face buttons, stick or trackpad.
InputAction TouchingTriggerButton { get; }Valve Index 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.PlayingActions set)Converts to the underlying InputActionMap.
void SetCallbacks(InputMap.IPlayingActions 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 PlayingActions: