Redigera

Dela via


InputActionRuleQuaternionAxis Constructor

Definition

Constructor.

public:
 InputActionRuleQuaternionAxis(Microsoft::MixedReality::Toolkit::Input::MixedRealityInputAction baseAction, Microsoft::MixedReality::Toolkit::Input::MixedRealityInputAction ruleAction, UnityEngine::Quaternion criteria);
public InputActionRuleQuaternionAxis (Microsoft.MixedReality.Toolkit.Input.MixedRealityInputAction baseAction, Microsoft.MixedReality.Toolkit.Input.MixedRealityInputAction ruleAction, UnityEngine.Quaternion criteria);
new Microsoft.MixedReality.Toolkit.Input.InputActionRuleQuaternionAxis : Microsoft.MixedReality.Toolkit.Input.MixedRealityInputAction * Microsoft.MixedReality.Toolkit.Input.MixedRealityInputAction * UnityEngine.Quaternion -> Microsoft.MixedReality.Toolkit.Input.InputActionRuleQuaternionAxis
Public Sub New (baseAction As MixedRealityInputAction, ruleAction As MixedRealityInputAction, criteria As Quaternion)

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.Quaternion

The criteria to check against for determining if the action should be raised.

Applies to