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

    Class InteractableTypesContainer

    A convenience class that holds arrays of class names, fully qualified assembly names and their corresponding actual types.

    Inheritance
    Object
    InteractableTypesContainer
    Inherited Members
    Object.ToString()
    Object.Equals(Object)
    Object.Equals(Object, Object)
    Object.ReferenceEquals(Object, Object)
    Object.GetHashCode()
    Object.GetType()
    Object.MemberwiseClone()
    Namespace: Microsoft.MixedReality.Toolkit.UI
    Assembly: cs.temp.dll.dll
    Syntax
    public class InteractableTypesContainer
    Remarks

    This abstraction exists primarily to reduce code duplication among the different inspectors which use these lists to populate their dropdowns.

    Note that all of these arrays are the same size and come in the same order (so for example, ClassName[0] = "InteractableActivateTheme" means that Types[0] == typeof(InteractableActivateTheme) and AssemblyQualifiedNames is the assembly qualified name for InteractableActivateTheme.

    Constructors

    InteractableTypesContainer(List<InteractableType>)

    A convenience helper that will unwrap a list of InteractableType objects into a form that is more easy consumed by inspector components.

    Declaration
    public InteractableTypesContainer(List<InteractableType> interactableTypes)
    Parameters
    Type Name Description
    List<InteractableType> interactableTypes

    Properties

    AssemblyQualifiedNames

    A array of assembly qualified names (for example, "Microsoft.MixedReality.Toolkit.UI.InteractableActivateTheme, Microsoft.MixedReality.Toolkit.UI")

    Declaration
    public string[] AssemblyQualifiedNames { get; }
    Property Value
    Type Description
    String[]

    ClassNames

    An array of class names (for example, "InteractableActivateTheme").

    Declaration
    public string[] ClassNames { get; }
    Property Value
    Type Description
    String[]

    Types

    An array of types. See class remarks for more information on relation to other fields.

    Declaration
    public Type[] Types { get; }
    Property Value
    Type Description
    Type[]
    Back to top Generated by DocFX