mrtk_developmentreleases/2.0.0releases/2.1.0releases/2.2.0releases/2.3.0releases/2.4.0releases/2.5.0releases/2.5.1releases/2.5.2releases/2.5.3

We've moved!

Starting from MRTK 2.6, we are publishing both conceptual docs and API references on docs.microsoft.com. For conceptual docs, please visit our new landing page. For API references, please visit the MRTK-Unity section of the dot net API explorer. Existing content will remain here but will not be updated further.

Search Results for

    Show / Hide Table of Contents

    Struct InputActionRuleDigital

    Generic Input Action Rule for raising actions based on specific criteria.

    Implements
    IInputActionRule<Boolean>
    Inherited Members
    ValueType.Equals(Object)
    ValueType.GetHashCode()
    ValueType.ToString()
    Object.Equals(Object, Object)
    Object.ReferenceEquals(Object, Object)
    Object.GetType()
    Namespace: Microsoft.MixedReality.Toolkit.Input
    Assembly: cs.temp.dll.dll
    Syntax
    [Serializable]
    public struct InputActionRuleDigital : IInputActionRule<bool>

    Constructors

    InputActionRuleDigital(MixedRealityInputAction, MixedRealityInputAction, Boolean)

    Constructor.

    Declaration
    public InputActionRuleDigital(MixedRealityInputAction baseAction, MixedRealityInputAction ruleAction, bool criteria)
    Parameters
    Type Name Description
    MixedRealityInputAction baseAction

    The Base Action that the rule will listen to.

    MixedRealityInputAction ruleAction

    The Action to raise if the criteria is met.

    Boolean 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
    MixedRealityInputAction

    Criteria

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

    Declaration
    public bool Criteria { get; }
    Property Value
    Type Description
    Boolean

    RuleAction

    The Action to raise if the criteria is met.

    Declaration
    public MixedRealityInputAction RuleAction { get; }
    Property Value
    Type Description
    MixedRealityInputAction

    Implements

    IInputActionRule<T>
    In This Article
    • Constructors
      • InputActionRuleDigital(MixedRealityInputAction, MixedRealityInputAction, Boolean)
    • Properties
      • BaseAction
      • Criteria
      • RuleAction
    • Implements
    Back to top Generated by DocFX