Skip to main content

InputMap.PlayingPicoActions

A struct in Root.Township, the global namespace.

The generated wrapper for the "PlayingPico" input action map: in-game actions for a generic XR controller, with Pico trigger bindings for grab assist and trigger axis. Nothing outside InputMap reads it in this build.

Constructors​

MemberWhat it is
PlayingPicoActions(InputMap wrapper)Creates an InputMap.PlayingPicoActions 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.
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 PicoAssistGrab { get; }Grab assist from the Pico controller's trigger.
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; }Pico controller trigger axis.
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.PlayingPicoActions set)Converts to the underlying InputActionMap.
void SetCallbacks(InputMap.IPlayingPicoActions 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 PlayingPicoActions: