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