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

    Enum TypeRestriction

    Controls the behavior of the InteractableTypeFinder.FindTypes function. See individual enum values for more details.

    Namespace: Microsoft.MixedReality.Toolkit.UI
    Assembly: cs.temp.dll.dll
    Syntax
    public enum TypeRestriction

    Fields

    Name Description
    AllowBase

    When this is specified, classes derived from the specified type AND the class itself will be returned by the lookup. This means that if you pass InteractableStates, the lookup will both classes whose base class is InteractableStates and InteractableStates itself.

    DerivedOnly

    When this is specified, only classes derived from the specified type will be returned by the lookup. This means that if you pass InteractableStates, the lookup will only return classes whose base class is InteractableStates but will not return InteractableStates itself.

    Back to top Generated by DocFX