Struct InputActionRuleDualAxis
Generic Input Action Rule for raising actions based on specific criteria.
Implements
IInputActionRule<Vector2>
Inherited Members
Namespace: Microsoft.MixedReality.Toolkit.Input
Assembly: cs.temp.dll.dll
Syntax
public struct InputActionRuleDualAxis : IInputActionRule<Vector2>
Constructors
InputActionRuleDualAxis(MixedRealityInputAction, MixedRealityInputAction, Vector2)
Constructor.
Declaration
public InputActionRuleDualAxis(MixedRealityInputAction baseAction, MixedRealityInputAction ruleAction, Vector2 criteria)
Parameters
Type | Name | Description |
---|---|---|
MixedRealityInputAction | baseAction | The Base Action that the rule will listen to. |
MixedRealityInputAction | ruleAction | The Action to raise if the criteria is met. |
Vector2 | criteria | The criteria to check against for determining if the action should be raised. |
InputActionRuleDualAxis(MixedRealityInputAction, MixedRealityInputAction, Vector2)
Constructor.
Declaration
public InputActionRuleDualAxis(MixedRealityInputAction baseAction, MixedRealityInputAction ruleAction, Vector2 criteria)
Parameters
Type | Name | Description |
---|---|---|
MixedRealityInputAction | baseAction | The Base Action that the rule will listen to. |
MixedRealityInputAction | ruleAction | The Action to raise if the criteria is met. |
Vector2 | criteria | The criteria to check against for determining if the action should be raised. |
Properties
BaseAction
Declaration
public MixedRealityInputAction BaseAction { get; }
Property Value
Type | Description |
---|---|
MixedRealityInputAction |
BaseAction
Declaration
public MixedRealityInputAction BaseAction { get; }
Property Value
Type | Description |
---|---|
MixedRealityInputAction |
Criteria
Declaration
public Vector2 Criteria { get; }
Property Value
Type | Description |
---|---|
Vector2 |
Criteria
Declaration
public Vector2 Criteria { get; }
Property Value
Type | Description |
---|---|
Vector2 |
RuleAction
Declaration
public MixedRealityInputAction RuleAction { get; }
Property Value
Type | Description |
---|---|
MixedRealityInputAction |
RuleAction
Declaration
public MixedRealityInputAction RuleAction { get; }
Property Value
Type | Description |
---|---|
MixedRealityInputAction |