Struct InputActionRuleVectorAxis
Generic Input Action Rule for raising actions based on specific criteria.
Implements
IInputActionRule<Vector3>
Inherited Members
Namespace: Microsoft.MixedReality.Toolkit.Input
Assembly: cs.temp.dll.dll
Syntax
[Serializable]
public struct InputActionRuleVectorAxis : IInputActionRule<Vector3>
Constructors
InputActionRuleVectorAxis(MixedRealityInputAction, MixedRealityInputAction, Vector3)
Constructor.
Declaration
public InputActionRuleVectorAxis(MixedRealityInputAction baseAction, MixedRealityInputAction ruleAction, Vector3 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. |
Vector3 | 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 |
Criteria
Declaration
public Vector3 Criteria { get; }
Property Value
Type | Description |
---|---|
Vector3 |
RuleAction
Declaration
public MixedRealityInputAction RuleAction { get; }
Property Value
Type | Description |
---|---|
MixedRealityInputAction |