UxmlFactory<T0>
class in UnityEngine.UIElements
/
Inherits from:UIElements.UxmlFactory_2
/
Implemented in:UnityEngine.UIElementsModule
Description 描述
UxmlFactory specialization for classes that derive from VisualElement and that shares its traits, VisualElementTraits.
Constructors
| UxmlFactory_1 | Constructor. |
Inherited Members 继承成员
Properties 属性
| 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. |
Public Methods 公共方法
| AcceptsAttributeBag | Returns true. | ||
| Create | Instantiate an object of type T0 and initialize it by calling T1 UxmlTraits.Init method. |