We've moved!

Starting from MRTK 2.6, we are publishing both conceptual docs and API references on docs.microsoft.com. For conceptual docs, please visit our new landing page. For API references, please visit the MRTK-Unity section of the dot net API explorer. Existing content will remain here but will not be updated further.

Search Results for

    Show / Hide Table of Contents

    Class MixedRealityInputActionMapping

    Maps the capabilities of controllers, defining the physical inputs of a controller.

    Inheritance
    Object
    MixedRealityInputActionMapping
    Inherited Members
    Object.ToString()
    Object.Equals(Object)
    Object.Equals(Object, Object)
    Object.ReferenceEquals(Object, Object)
    Object.GetHashCode()
    Object.GetType()
    Object.MemberwiseClone()
    Namespace: Microsoft.MixedReality.Toolkit.Input
    Assembly: cs.temp.dll.dll
    Syntax
    [Serializable]
    public class MixedRealityInputActionMapping
    Remarks

    One definition should exist for each physical device input, such as buttons, triggers, joysticks, dpads, etc.

    Constructors

    MixedRealityInputActionMapping(String, AxisType, DeviceInputType)

    The constructor for a new MixedRealityInputActionMapping definition

    Declaration
    public MixedRealityInputActionMapping(string description, AxisType axisType, DeviceInputType inputType)
    Parameters
    Type Name Description
    String description

    The description of the interaction mapping.

    AxisType axisType
    DeviceInputType inputType

    MixedRealityInputActionMapping(String, AxisType, DeviceInputType, MixedRealityInputAction)

    The constructor for a new MixedRealityInputActionMapping definition

    Declaration
    public MixedRealityInputActionMapping(string description, AxisType axisType, DeviceInputType inputType, MixedRealityInputAction inputAction)
    Parameters
    Type Name Description
    String description

    The description of the interaction mapping.

    AxisType axisType
    DeviceInputType inputType
    MixedRealityInputAction inputAction

    The logical MixedRealityInputAction that this input performs

    Properties

    AxisType

    The axis type of the button, e.g. Analog, Digital, etc.

    Declaration
    public AxisType AxisType { get; }
    Property Value
    Type Description
    AxisType

    Description

    The description of the input action mapping.

    Declaration
    public string Description { get; }
    Property Value
    Type Description
    String

    InputAction

    Action to be raised when the input data has changed.

    Declaration
    public MixedRealityInputAction InputAction { get; }
    Property Value
    Type Description
    MixedRealityInputAction

    InputType

    The primary action of the input as defined by the controller SDK.

    Declaration
    public DeviceInputType InputType { get; }
    Property Value
    Type Description
    DeviceInputType
    In This Article
    Back to top Generated by DocFX