Editar

Compartilhar via


InputActionRuleSingleAxis Constructor

Definition

Constructor.

public:
 InputActionRuleSingleAxis(Microsoft::MixedReality::Toolkit::Input::MixedRealityInputAction baseAction, Microsoft::MixedReality::Toolkit::Input::MixedRealityInputAction ruleAction, float criteria);
public InputActionRuleSingleAxis (Microsoft.MixedReality.Toolkit.Input.MixedRealityInputAction baseAction, Microsoft.MixedReality.Toolkit.Input.MixedRealityInputAction ruleAction, float criteria);
new Microsoft.MixedReality.Toolkit.Input.InputActionRuleSingleAxis : Microsoft.MixedReality.Toolkit.Input.MixedRealityInputAction * Microsoft.MixedReality.Toolkit.Input.MixedRealityInputAction * single -> Microsoft.MixedReality.Toolkit.Input.InputActionRuleSingleAxis
Public Sub New (baseAction As MixedRealityInputAction, ruleAction As MixedRealityInputAction, criteria As Single)

Parameters

baseAction
MixedRealityInputAction

The Base Action that the rule will listen to.

ruleAction
MixedRealityInputAction

The Action to raise if the criteria is met.

criteria
Single

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

Applies to