Struct MixedRealityGestureMapping
Data structure for mapping gestures to MixedRealityInputActions that can be raised by the Input System.
Inherited Members
Namespace: Microsoft.MixedReality.Toolkit.Input
Assembly: cs.temp.dll.dll
Syntax
[Serializable]
public struct MixedRealityGestureMapping
Constructors
MixedRealityGestureMapping(String, GestureInputType, MixedRealityInputAction)
Constructor.
Declaration
public MixedRealityGestureMapping(string description, GestureInputType gestureType, MixedRealityInputAction action)
Parameters
Type | Name | Description |
---|---|---|
String | description | |
GestureInputType | gestureType | |
MixedRealityInputAction | action |
Properties
Action
Action for the associated gesture.
Declaration
public MixedRealityInputAction Action { get; }
Property Value
Type | Description |
---|---|
MixedRealityInputAction |
Description
Simple, human readable description of the gesture.
Declaration
public string Description { get; }
Property Value
Type | Description |
---|---|
String |
GestureType
Type of Gesture.
Declaration
public GestureInputType GestureType { get; }
Property Value
Type | Description |
---|---|
GestureInputType |