Skip to main content

InputMap.PlayingBaseActions

A struct in Root.Township, the global namespace.

Typed access to the PlayingBase action map of InputMap, one InputAction per input. Get it from inputMap.PlayingBase.

Constructors​

MemberWhat it is
PlayingBaseActions(InputMap wrapper)Creates an InputMap.PlayingBaseActions 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; }The controller's angular velocity.
InputAction DirectionInput { get; }Thumbstick or trackpad direction, depending on the controller.
bool enabled { get; }True if this map is enabled.
InputAction GrabStrength { get; }Valve Index grip force.
InputAction Interact { get; }Grip button (trigger on Vive wands), the game's grab and interact.
InputAction MetaMenu { get; }Menu button: secondary face button on Oculus, menu on Vive and WMR.
InputAction Pose { get; }The controller's full tracked pose.
InputAction Position { get; }The controller's tracked position.
InputAction Rotation { get; }The controller's tracked rotation.
InputAction SecondaryInteract { get; }Trigger press (grip on Vive).
InputAction Squeeze { get; }Grip axis.
InputAction TakeScreenShotLong { get; }Trigger press, for the long-press photo.
InputAction Teleport { get; }Primary face button on Oculus, trackpad press on Vive and WMR.
InputAction ToggleRun { get; }Thumbstick or trackpad click.
InputAction TouchingIndexAxis { get; }Whether, or how far, the finger is on the trigger.
InputAction TouchingThumb { get; }Thumb touching a face button, thumbstick or trackpad.
InputAction TouchingTriggerButton { get; }Valve Index trigger touch.
InputAction TriggerAxis { get; }Trigger axis.
InputAction Velocity { get; }The controller's linear velocity.

Methods​

MemberWhat it is
void Disable()Disables this map.
void Enable()Enables this map.
InputActionMap Get()The underlying InputActionMap.
static InputActionMap op_Implicit(InputMap.PlayingBaseActions set)Converts to the underlying InputActionMap.
void SetCallbacks(InputMap.IPlayingBaseActions instance)Replaces the callback receiver for every action in this map. Pass null to remove it.

Used in​

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