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