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. |