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

    Struct MixedRealityInteractionMappingLegacyInput

    Represents the subset of data held by a MixedRealityInteractionMapping that represents Unity's legacy input system.

    Inherited Members
    ValueType.Equals(Object)
    ValueType.GetHashCode()
    ValueType.ToString()
    Object.Equals(Object, Object)
    Object.ReferenceEquals(Object, Object)
    Object.GetType()
    Namespace: Microsoft.MixedReality.Toolkit.Input
    Assembly: cs.temp.dll.dll
    Syntax
    public struct MixedRealityInteractionMappingLegacyInput

    Constructors

    MixedRealityInteractionMappingLegacyInput(KeyCode, String, String, Boolean, Boolean)

    Declaration
    public MixedRealityInteractionMappingLegacyInput(KeyCode keyCode = null, string axisCodeX = "", string axisCodeY = "", bool invertXAxis = false, bool invertYAxis = false)
    Parameters
    Type Name Description
    KeyCode keyCode
    String axisCodeX
    String axisCodeY
    Boolean invertXAxis
    Boolean invertYAxis

    Properties

    AxisCodeX

    Optional horizontal or single axis value to get axis data from Unity's old input system.

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

    AxisCodeY

    Optional vertical axis value to get axis data from Unity's old input system.

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

    InvertXAxis

    Should the X axis be inverted?

    Declaration
    public bool InvertXAxis { get; }
    Property Value
    Type Description
    Boolean

    InvertYAxis

    Should the Y axis be inverted?

    Declaration
    public bool InvertYAxis { get; }
    Property Value
    Type Description
    Boolean

    KeyCode

    Optional KeyCode value to get input from Unity's old input system.

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