Class UxmlTemplateFactory
Factory for the root Template
element.
Inherited Members
Namespace: UnityEngine.UIElements
Syntax
public class UxmlTemplateFactory : UxmlFactory<VisualElement, UxmlTemplateTraits>, IUxmlFactory
Remarks
This factory does not generate VisualElements. UIElements uses it to generate schemas.
Properties
substituteForTypeName
Declaration
public override string substituteForTypeName { get; }
Property Value
Type | Description |
---|---|
String |
Overrides
UnityEngine.UIElements.UxmlFactory<UnityEngine.UIElements.VisualElement, UnityEngine.UIElements.UxmlTemplateTraits>.substituteForTypeName
substituteForTypeNamespace
Declaration
public override string substituteForTypeNamespace { get; }
Property Value
Type | Description |
---|---|
String |
Overrides
UnityEngine.UIElements.UxmlFactory<UnityEngine.UIElements.VisualElement, UnityEngine.UIElements.UxmlTemplateTraits>.substituteForTypeNamespace
substituteForTypeQualifiedName
Declaration
public override string substituteForTypeQualifiedName { get; }
Property Value
Type | Description |
---|---|
String |
Overrides
UnityEngine.UIElements.UxmlFactory<UnityEngine.UIElements.VisualElement, UnityEngine.UIElements.UxmlTemplateTraits>.substituteForTypeQualifiedName
uxmlName
Declaration
public override string uxmlName { get; }
Property Value
Type | Description |
---|---|
String |
Overrides
UnityEngine.UIElements.UxmlFactory<UnityEngine.UIElements.VisualElement, UnityEngine.UIElements.UxmlTemplateTraits>.uxmlName
uxmlQualifiedName
Declaration
public override string uxmlQualifiedName { get; }
Property Value
Type | Description |
---|---|
String |
Overrides
UnityEngine.UIElements.UxmlFactory<UnityEngine.UIElements.VisualElement, UnityEngine.UIElements.UxmlTemplateTraits>.uxmlQualifiedName
Methods
Create(IUxmlAttributes, CreationContext)
Declaration
public override VisualElement Create(IUxmlAttributes bag, CreationContext cc)
Parameters
Type | Name | Description |
---|---|---|
IUxmlAttributes | bag | |
CreationContext | cc |
Returns
Type | Description |
---|---|
VisualElement |
Overrides
UnityEngine.UIElements.UxmlFactory<UnityEngine.UIElements.VisualElement, UnityEngine.UIElements.UxmlTemplateTraits>.Create(UnityEngine.UIElements.IUxmlAttributes, UnityEngine.UIElements.CreationContext)