Class GenericOpenVRControllerDefinition
Implements
Inherited Members
Namespace: Microsoft.MixedReality.Toolkit.Input
Assembly: cs.temp.dll.dll
Syntax
public class GenericOpenVRControllerDefinition : BaseInputSourceDefinition, IMixedRealityInputSourceDefinition
Constructors
GenericOpenVRControllerDefinition(Handedness)
Constructor.
Declaration
public GenericOpenVRControllerDefinition(Handedness handedness)
Parameters
Type | Name | Description |
---|---|---|
Handedness | handedness | The handedness that this definition instance represents. |
Properties
DefaultLeftHandedMappings
The collection of interactions supported by a left-handed instance of this controller.
Declaration
protected override MixedRealityInputActionMapping[] DefaultLeftHandedMappings { get; }
Property Value
Type | Description |
---|---|
MixedRealityInputActionMapping[] |
Overrides
Remarks
Optional. Override DefaultInteractions if both handed controllers have identical interactions.
DefaultRightHandedMappings
The collection of interactions supported by a right-handed instance of this controller.
Declaration
protected override MixedRealityInputActionMapping[] DefaultRightHandedMappings { get; }
Property Value
Type | Description |
---|---|
MixedRealityInputActionMapping[] |
Overrides
Remarks
Optional. Override DefaultInteractions if both handed controllers have identical interactions.