class in UnityEngine.UIElements
/
Implemented in:UnityEngine.UIElementsModule
Implements interfaces:IUxmlFactory
Generic base class for UXML factories, which instantiate a VisualElement using the data read from a UXML file.
T0
The type of the element that will be instantiated. It must derive from VisualElement.T1
The traits of the element that will be instantiated. It must derive from UxmlTraits.
canHaveAnyAttribute | Returns UxmlTraits.canHaveAnyAttribute (where UxmlTraits is the argument for T1). |
substituteForTypeName | Returns an empty string if T0 is not VisualElement; otherwise, returns "VisualElement". |
substituteForTypeNamespace | Returns the namespace for substituteForTypeName. |
substituteForTypeQualifiedName | Returns the fully qualified name for substituteForTypeName. |
uxmlAttributesDescription | Returns an empty enumerable. |
uxmlChildElementsDescription | Returns an empty enumerable. |
uxmlName | Returns the type name of T0. |
uxmlNamespace | Returns the namespace name of T0. |
uxmlQualifiedName | Returns the typefully qualified name of T0. |
AcceptsAttributeBag | Returns true. |
Create | Instantiate an object of type T0 and initialize it by calling T1 UxmlTraits.Init method. |
Did you find this page useful? Please give it a rating: