Class InteractableTypesContainer
A convenience class that holds arrays of class names, fully qualified assembly names and their corresponding actual types.
Inherited Members
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[] |