Modifica

Condividi tramite


MixedRealityInteractionMapping Constructors

Definition

Overloads

MixedRealityInteractionMapping(MixedRealityInteractionMapping)
MixedRealityInteractionMapping(MixedRealityInteractionMapping, MixedRealityInteractionMappingLegacyInput)
MixedRealityInteractionMapping(UInt32, MixedRealityInputActionMapping)
MixedRealityInteractionMapping(UInt32, MixedRealityInputActionMapping, MixedRealityInteractionMappingLegacyInput)
MixedRealityInteractionMapping(UInt32, String, AxisType, DeviceInputType, KeyCode)

The constructor for a new Interaction Mapping definition

MixedRealityInteractionMapping(UInt32, String, AxisType, DeviceInputType, String, String, Boolean, Boolean)

The constructor for a new Interaction Mapping definition

MixedRealityInteractionMapping(UInt32, String, AxisType, DeviceInputType, MixedRealityInputAction, KeyCode, String, String, Boolean, Boolean)

The constructor for a new Interaction Mapping definition

MixedRealityInteractionMapping(MixedRealityInteractionMapping)

public:
 MixedRealityInteractionMapping(Microsoft::MixedReality::Toolkit::Input::MixedRealityInteractionMapping ^ mixedRealityInteractionMapping);
public MixedRealityInteractionMapping (Microsoft.MixedReality.Toolkit.Input.MixedRealityInteractionMapping mixedRealityInteractionMapping);
new Microsoft.MixedReality.Toolkit.Input.MixedRealityInteractionMapping : Microsoft.MixedReality.Toolkit.Input.MixedRealityInteractionMapping -> Microsoft.MixedReality.Toolkit.Input.MixedRealityInteractionMapping
Public Sub New (mixedRealityInteractionMapping As MixedRealityInteractionMapping)

Parameters

mixedRealityInteractionMapping
MixedRealityInteractionMapping

Applies to

MixedRealityInteractionMapping(MixedRealityInteractionMapping, MixedRealityInteractionMappingLegacyInput)

public:
 MixedRealityInteractionMapping(Microsoft::MixedReality::Toolkit::Input::MixedRealityInteractionMapping ^ mixedRealityInteractionMapping, Microsoft::MixedReality::Toolkit::Input::MixedRealityInteractionMappingLegacyInput legacyInput);
public MixedRealityInteractionMapping (Microsoft.MixedReality.Toolkit.Input.MixedRealityInteractionMapping mixedRealityInteractionMapping, Microsoft.MixedReality.Toolkit.Input.MixedRealityInteractionMappingLegacyInput legacyInput);
new Microsoft.MixedReality.Toolkit.Input.MixedRealityInteractionMapping : Microsoft.MixedReality.Toolkit.Input.MixedRealityInteractionMapping * Microsoft.MixedReality.Toolkit.Input.MixedRealityInteractionMappingLegacyInput -> Microsoft.MixedReality.Toolkit.Input.MixedRealityInteractionMapping
Public Sub New (mixedRealityInteractionMapping As MixedRealityInteractionMapping, legacyInput As MixedRealityInteractionMappingLegacyInput)

Parameters

mixedRealityInteractionMapping
MixedRealityInteractionMapping

Applies to

MixedRealityInteractionMapping(UInt32, MixedRealityInputActionMapping)

public:
 MixedRealityInteractionMapping(System::UInt32 id, Microsoft::MixedReality::Toolkit::Input::MixedRealityInputActionMapping ^ mixedRealityInputActionMapping);
public MixedRealityInteractionMapping (uint id, Microsoft.MixedReality.Toolkit.Input.MixedRealityInputActionMapping mixedRealityInputActionMapping);
new Microsoft.MixedReality.Toolkit.Input.MixedRealityInteractionMapping : uint32 * Microsoft.MixedReality.Toolkit.Input.MixedRealityInputActionMapping -> Microsoft.MixedReality.Toolkit.Input.MixedRealityInteractionMapping
Public Sub New (id As UInteger, mixedRealityInputActionMapping As MixedRealityInputActionMapping)

Parameters

id
UInt32
mixedRealityInputActionMapping
MixedRealityInputActionMapping

Applies to

MixedRealityInteractionMapping(UInt32, MixedRealityInputActionMapping, MixedRealityInteractionMappingLegacyInput)

public:
 MixedRealityInteractionMapping(System::UInt32 id, Microsoft::MixedReality::Toolkit::Input::MixedRealityInputActionMapping ^ mixedRealityInputActionMapping, Microsoft::MixedReality::Toolkit::Input::MixedRealityInteractionMappingLegacyInput legacyInput);
public MixedRealityInteractionMapping (uint id, Microsoft.MixedReality.Toolkit.Input.MixedRealityInputActionMapping mixedRealityInputActionMapping, Microsoft.MixedReality.Toolkit.Input.MixedRealityInteractionMappingLegacyInput legacyInput);
new Microsoft.MixedReality.Toolkit.Input.MixedRealityInteractionMapping : uint32 * Microsoft.MixedReality.Toolkit.Input.MixedRealityInputActionMapping * Microsoft.MixedReality.Toolkit.Input.MixedRealityInteractionMappingLegacyInput -> Microsoft.MixedReality.Toolkit.Input.MixedRealityInteractionMapping
Public Sub New (id As UInteger, mixedRealityInputActionMapping As MixedRealityInputActionMapping, legacyInput As MixedRealityInteractionMappingLegacyInput)

Parameters

id
UInt32
mixedRealityInputActionMapping
MixedRealityInputActionMapping

Applies to

MixedRealityInteractionMapping(UInt32, String, AxisType, DeviceInputType, KeyCode)

The constructor for a new Interaction Mapping definition

public:
 MixedRealityInteractionMapping(System::UInt32 id, System::String ^ description, Microsoft::MixedReality::Toolkit::Utilities::AxisType axisType, Microsoft::MixedReality::Toolkit::Input::DeviceInputType inputType, UnityEngine::KeyCode keyCode);
public MixedRealityInteractionMapping (uint id, string description, Microsoft.MixedReality.Toolkit.Utilities.AxisType axisType, Microsoft.MixedReality.Toolkit.Input.DeviceInputType inputType, UnityEngine.KeyCode keyCode);
new Microsoft.MixedReality.Toolkit.Input.MixedRealityInteractionMapping : uint32 * string * Microsoft.MixedReality.Toolkit.Utilities.AxisType * Microsoft.MixedReality.Toolkit.Input.DeviceInputType * UnityEngine.KeyCode -> Microsoft.MixedReality.Toolkit.Input.MixedRealityInteractionMapping
Public Sub New (id As UInteger, description As String, axisType As AxisType, inputType As DeviceInputType, keyCode As KeyCode)

Parameters

id
UInt32

Identity for mapping

description
String

The description of the interaction mapping.

axisType
AxisType

The axis that the mapping operates on, also denotes the data type for the mapping

inputType
DeviceInputType

The physical input device / control

keyCode
UnityEngine.KeyCode

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

Applies to

MixedRealityInteractionMapping(UInt32, String, AxisType, DeviceInputType, String, String, Boolean, Boolean)

The constructor for a new Interaction Mapping definition

public MixedRealityInteractionMapping (uint id, string description, Microsoft.MixedReality.Toolkit.Utilities.AxisType axisType, Microsoft.MixedReality.Toolkit.Input.DeviceInputType inputType, string axisCodeX = "", string axisCodeY = "", bool invertXAxis = false, bool invertYAxis = false);
new Microsoft.MixedReality.Toolkit.Input.MixedRealityInteractionMapping : uint32 * string * Microsoft.MixedReality.Toolkit.Utilities.AxisType * Microsoft.MixedReality.Toolkit.Input.DeviceInputType * string * string * bool * bool -> Microsoft.MixedReality.Toolkit.Input.MixedRealityInteractionMapping
Public Sub New (id As UInteger, description As String, axisType As AxisType, inputType As DeviceInputType, Optional axisCodeX As String = "", Optional axisCodeY As String = "", Optional invertXAxis As Boolean = false, Optional invertYAxis As Boolean = false)

Parameters

id
UInt32

Identity for mapping

description
String

The description of the interaction mapping.

axisType
AxisType

The axis that the mapping operates on, also denotes the data type for the mapping

inputType
DeviceInputType

The physical input device / control

axisCodeX
String

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

axisCodeY
String

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

invertXAxis
Boolean

Optional horizontal axis invert option.

invertYAxis
Boolean

Optional vertical axis invert option.

Applies to

MixedRealityInteractionMapping(UInt32, String, AxisType, DeviceInputType, MixedRealityInputAction, KeyCode, String, String, Boolean, Boolean)

The constructor for a new Interaction Mapping definition

public MixedRealityInteractionMapping (uint id, string description, Microsoft.MixedReality.Toolkit.Utilities.AxisType axisType, Microsoft.MixedReality.Toolkit.Input.DeviceInputType inputType, Microsoft.MixedReality.Toolkit.Input.MixedRealityInputAction inputAction, UnityEngine.KeyCode keyCode = UnityEngine.KeyCode.None, string axisCodeX = "", string axisCodeY = "", bool invertXAxis = false, bool invertYAxis = false);
new Microsoft.MixedReality.Toolkit.Input.MixedRealityInteractionMapping : uint32 * string * Microsoft.MixedReality.Toolkit.Utilities.AxisType * Microsoft.MixedReality.Toolkit.Input.DeviceInputType * Microsoft.MixedReality.Toolkit.Input.MixedRealityInputAction * UnityEngine.KeyCode * string * string * bool * bool -> Microsoft.MixedReality.Toolkit.Input.MixedRealityInteractionMapping
Public Sub New (id As UInteger, description As String, axisType As AxisType, inputType As DeviceInputType, inputAction As MixedRealityInputAction, Optional keyCode As KeyCode = UnityEngine.KeyCode.None, Optional axisCodeX As String = "", Optional axisCodeY As String = "", Optional invertXAxis As Boolean = false, Optional invertYAxis As Boolean = false)

Parameters

id
UInt32

Identity for mapping

description
String

The description of the interaction mapping.

axisType
AxisType

The axis that the mapping operates on, also denotes the data type for the mapping

inputType
DeviceInputType

The physical input device / control

inputAction
MixedRealityInputAction

The logical MixedRealityInputAction that this input performs

keyCode
UnityEngine.KeyCode

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

axisCodeX
String

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

axisCodeY
String

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

invertXAxis
Boolean

Optional horizontal axis invert option.

invertYAxis
Boolean

Optional vertical axis invert option.

Applies to