InputActionRuleDualAxis Constructor
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
Constructor.
public:
InputActionRuleDualAxis(Microsoft::MixedReality::Toolkit::Input::MixedRealityInputAction baseAction, Microsoft::MixedReality::Toolkit::Input::MixedRealityInputAction ruleAction, UnityEngine::Vector2 criteria);
public InputActionRuleDualAxis (Microsoft.MixedReality.Toolkit.Input.MixedRealityInputAction baseAction, Microsoft.MixedReality.Toolkit.Input.MixedRealityInputAction ruleAction, UnityEngine.Vector2 criteria);
new Microsoft.MixedReality.Toolkit.Input.InputActionRuleDualAxis : Microsoft.MixedReality.Toolkit.Input.MixedRealityInputAction * Microsoft.MixedReality.Toolkit.Input.MixedRealityInputAction * UnityEngine.Vector2 -> Microsoft.MixedReality.Toolkit.Input.InputActionRuleDualAxis
Public Sub New (baseAction As MixedRealityInputAction, ruleAction As MixedRealityInputAction, criteria As Vector2)
Parameters
- baseAction
- MixedRealityInputAction
The Base Action that the rule will listen to.
- ruleAction
- MixedRealityInputAction
The Action to raise if the criteria is met.
- criteria
- UnityEngine.Vector2
The criteria to check against for determining if the action should be raised.