ImplementsAttribute 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 implement a specific interface when selecting a SystemType with the Unity inspector.
public ref class ImplementsAttribute sealed : Microsoft::MixedReality::Toolkit::SystemTypeAttribute
public sealed class ImplementsAttribute : Microsoft.MixedReality.Toolkit.SystemTypeAttribute
type ImplementsAttribute = class
inherit SystemTypeAttribute
Public NotInheritable Class ImplementsAttribute
Inherits SystemTypeAttribute
- Inheritance
Constructors
ImplementsAttribute(Type, TypeGrouping) |
Initializes a new instance of the ImplementsAttribute class. |
Properties
AllowAbstract |
Gets or sets whether abstract classes can be selected from drop-down.
Defaults to a value of |
Grouping |
Gets or sets grouping of selectable classes. Defaults to ByNamespaceFlat unless explicitly specified. (Inherited from SystemTypeAttribute) |
InterfaceType |
Gets the type of interface that selectable classes must implement. |
Methods
IsConstraintSatisfied(Type) |
Determines whether the specified Type satisfies filter constraint. |