Immerseum SDK: VR Simulator (version: RC-1.0.0)
       [view as Desktop | Tablet | Mobile]
InputAction Class
Members 

Represents one or more inputs from a user. If the InputAction is registered with the InputActionManager, then when one or more of the InputAction's input methods is received, the InputAction will be fired (and any methods listening for it will be executed).

Best Practice

A good way to think of an InputAction is like something the user can do. For example:

  • the user can "move forward", or;
  • the user can "toggle the pause menu", or;
  • the user can "pull the primary trigger".

The user "does" each of these actions using their input devices (e.g. moving a thumbstick, pressing a button, pulling the trigger, etc.). An InputAction defines the action the user can take and identifies the specific inputs which trigger that action.

The VRSimulator supports Immerseum's default set of InputActions, which correspond to Immerseum's default Movement Mappings. For more information on defining your own Input Actions and movement mappings, please see:

Syntax
public class InputAction 
Inheritance Hierarchy

System.Object
   Immerseum.VRSimulator.InputAction

See Also

Reference

InputAction Members
Immerseum.VRSimulator Namespace
Custom Input Handling
Configuring Input & Movement
Custom InputAction Mapping

 

 


Copyright (c) 2016-2017 Immerseum Inc. All rights reserved.

Send Feedback