ExtendsAttribute Class
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
Constraint that allows selection of classes that extend a specific class when selecting a SystemType with the Unity inspector.
public ref class ExtendsAttribute sealed : Microsoft::MixedReality::Toolkit::SystemTypeAttribute
public sealed class ExtendsAttribute : Microsoft.MixedReality.Toolkit.SystemTypeAttribute
type ExtendsAttribute = class
inherit SystemTypeAttribute
Public NotInheritable Class ExtendsAttribute
Inherits SystemTypeAttribute
- Inheritance
Constructors
ExtendsAttribute(Type, TypeGrouping) |
Initializes a new instance of the ExtendsAttribute class. |
Properties
AllowAbstract |
Gets or sets whether abstract classes can be selected from drop-down.
Defaults to a value of |
BaseType |
Gets the type of class that selectable classes must derive from. |
Grouping |
Gets or sets grouping of selectable classes. Defaults to ByNamespaceFlat unless explicitly specified. (Inherited from SystemTypeAttribute) |
Methods
IsConstraintSatisfied(Type) |
Determines whether the specified Type satisfies filter constraint. |