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.

    Show / Hide Table of Contents

    Interface IInputActionRule<T>

    Interface for defining Input Action Rules

    Namespace: Microsoft.MixedReality.Toolkit.Input
    Assembly: cs.temp.dll.dll
    Syntax
    public interface IInputActionRule<T>
    Type Parameters
    Name Description
    T

    Properties

    BaseAction

    The Base Action that the rule will listen to.

    Declaration
    MixedRealityInputAction BaseAction { get; }
    Property Value
    Type Description
    MixedRealityInputAction

    Criteria

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

    Declaration
    T Criteria { get; }
    Property Value
    Type Description
    T

    RuleAction

    The Action to raise if the criteria is met.

    Declaration
    MixedRealityInputAction RuleAction { get; }
    Property Value
    Type Description
    MixedRealityInputAction
    Back to top Generated by DocFX