Struct MixedRealityControllerMapping
Used to define a controller or other input device's physical buttons, and other attributes.
Inherited Members
Namespace: Microsoft.MixedReality.Toolkit.Input
Assembly: cs.temp.dll.dll
Syntax
public struct MixedRealityControllerMapping
Constructors
MixedRealityControllerMapping(Type, Handedness)
Constructor.
Declaration
public MixedRealityControllerMapping(Type controllerType, Handedness handedness = null)
Parameters
Type | Name | Description |
---|---|---|
Type | controllerType | Controller Type to instantiate at runtime. |
Handedness | handedness | The designated hand that the device is managing. |
Properties
ControllerType
Controller Type to instantiate at runtime.
Declaration
public SystemType ControllerType { get; }
Property Value
Type | Description |
---|---|
SystemType |
Description
Description of the Device.
Declaration
public string Description { get; }
Property Value
Type | Description |
---|---|
String |
Handedness
The designated hand that the device is managing.
Declaration
public Handedness Handedness { get; }
Property Value
Type | Description |
---|---|
Handedness |
HasCustomInteractionMappings
Is this controller mapping using custom interactions?
Declaration
public bool HasCustomInteractionMappings { get; }
Property Value
Type | Description |
---|---|
Boolean |
Interactions
Details the list of available buttons / interactions available from the device.
Declaration
public MixedRealityInteractionMapping[] Interactions { get; }
Property Value
Type | Description |
---|---|
MixedRealityInteractionMapping[] |
SupportedControllerType
Declaration
public SupportedControllerType SupportedControllerType { get; }
Property Value
Type | Description |
---|---|
SupportedControllerType |