BaseUxmlFactory<TCreatedType, TTraits>
Generic base class for UXML element factories, which instantiate a VisualElement using the data read from a UXML file.
Read time 1 minuteLast updated 9 days ago
Definition
- Type: Class
- Namespace: UnityEngine.UIElements
- Assembly: UnityEngine.UIElementsModule
public abstract class BaseUxmlFactory<TCreatedType, TTraits> where TCreatedType : new() where TTraits : BaseUxmlTraits, new()
Properties
Property | Description |
|---|---|
| canHaveAnyAttribute | Returns UxmlTraitsBaseUxmlFactory<TCreatedType, TTraits>.canHaveAnyAttribute (where UxmlTraits is the argument for |
| substituteForTypeName | Returns an empty string if |
| substituteForTypeNamespace | Returns the namespace for BaseUxmlFactory<TCreatedType, TTraits>.substituteForTypeName. |
| substituteForTypeQualifiedName | Returns the fully qualified name for BaseUxmlFactory<TCreatedType, TTraits>.substituteForTypeName. |
| uxmlAttributesDescription | Returns an empty enumerable. |
| uxmlChildElementsDescription | Returns an empty enumerable. |
| uxmlName | Returns the type name of |
| uxmlNamespace | Returns the namespace name of |
| uxmlQualifiedName | Returns the type fully qualified name of |
| uxmlType | Returns the type of |
Methods
Method | Description |
|---|---|
| AcceptsAttributeBag | Returns true. |