Editar

Partilhar via


InputActionRuleDigital Constructor

Definition

Constructor.

public:
 InputActionRuleDigital(Microsoft::MixedReality::Toolkit::Input::MixedRealityInputAction baseAction, Microsoft::MixedReality::Toolkit::Input::MixedRealityInputAction ruleAction, bool criteria);
public InputActionRuleDigital (Microsoft.MixedReality.Toolkit.Input.MixedRealityInputAction baseAction, Microsoft.MixedReality.Toolkit.Input.MixedRealityInputAction ruleAction, bool criteria);
new Microsoft.MixedReality.Toolkit.Input.InputActionRuleDigital : Microsoft.MixedReality.Toolkit.Input.MixedRealityInputAction * Microsoft.MixedReality.Toolkit.Input.MixedRealityInputAction * bool -> Microsoft.MixedReality.Toolkit.Input.InputActionRuleDigital
Public Sub New (baseAction As MixedRealityInputAction, ruleAction As MixedRealityInputAction, criteria As Boolean)

Parameters

baseAction
MixedRealityInputAction

The Base Action that the rule will listen to.

ruleAction
MixedRealityInputAction

The Action to raise if the criteria is met.

criteria
Boolean

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

Applies to