Show / Hide Table of Contents

Class UxmlFactory<TCreatedType, TTraits>

Inheritance
Object
UxmlFactory<TCreatedType, TTraits>
BoundsField.UxmlFactory
BoundsIntField.UxmlFactory
ColorField.UxmlFactory
CurveField.UxmlFactory
DoubleField.UxmlFactory
EnumField.UxmlFactory
FloatField.UxmlFactory
GradientField.UxmlFactory
Pill.UxmlFactory
InspectorElement.UxmlFactory
IntegerField.UxmlFactory
LayerField.UxmlFactory
LayerMaskField.UxmlFactory
LongField.UxmlFactory
MaskField.UxmlFactory
ObjectField.UxmlFactory
PropertyField.UxmlFactory
RectField.UxmlFactory
RectIntField.UxmlFactory
TagField.UxmlFactory
ToolbarButton.UxmlFactory
ToolbarMenu.UxmlFactory
ToolbarPopup.UxmlFactory
ToolbarToggle.UxmlFactory
Vector2Field.UxmlFactory
Vector2IntField.UxmlFactory
Vector3Field.UxmlFactory
Vector3IntField.UxmlFactory
Vector4Field.UxmlFactory
BindableElement.UxmlFactory
Button.UxmlFactory
Foldout.UxmlFactory
Image.UxmlFactory
IMGUIContainer.UxmlFactory
Label.UxmlFactory
ListView.UxmlFactory
MinMaxSlider.UxmlFactory
PopupWindow.UxmlFactory
RepeatButton.UxmlFactory
Scroller.UxmlFactory
ScrollerButton.UxmlFactory
ScrollView.UxmlFactory
Slider.UxmlFactory
SliderInt.UxmlFactory
TemplateContainer.UxmlFactory
TextElement.UxmlFactory
TextField.UxmlFactory
Toggle.UxmlFactory
UxmlFactory<TCreatedType>
UxmlRootElementFactory
VisualElement.UxmlFactory
Implements
IUxmlFactory
Inherited Members
Object.ToString()
Object.Equals(Object)
Object.Equals(Object, Object)
Object.ReferenceEquals(Object, Object)
Object.GetHashCode()
Object.GetType()
Object.MemberwiseClone()
Namespace: UnityEngine.Experimental.UIElements
Assembly: UnityEngine.dll
Syntax
public class UxmlFactory<TCreatedType, TTraits> : IUxmlFactory where TCreatedType : VisualElement where TTraits : UxmlTraits, new()
Type Parameters
Name Description
TCreatedType
TTraits

Constructors

| Improve this Doc View Source

UxmlFactory()

Declaration
protected UxmlFactory()

Fields

| Improve this Doc View Source

m_Traits

Declaration
protected TTraits m_Traits
Field Value
Type Description
TTraits

Properties

| Improve this Doc View Source

canHaveAnyAttribute

Declaration
public bool canHaveAnyAttribute { get; }
Property Value
Type Description
Boolean
| Improve this Doc View Source

CreatesType

Declaration
[Obsolete("Use uxmlName and uxmlNamespace instead.")]
public Type CreatesType { get; }
Property Value
Type Description
Type
| Improve this Doc View Source

substituteForTypeName

Declaration
public virtual string substituteForTypeName { get; }
Property Value
Type Description
String
| Improve this Doc View Source

substituteForTypeNamespace

Declaration
public virtual string substituteForTypeNamespace { get; }
Property Value
Type Description
String
| Improve this Doc View Source

substituteForTypeQualifiedName

Declaration
public virtual string substituteForTypeQualifiedName { get; }
Property Value
Type Description
String
| Improve this Doc View Source

uxmlAttributesDescription

Declaration
public virtual IEnumerable<UxmlAttributeDescription> uxmlAttributesDescription { get; }
Property Value
Type Description
IEnumerable<UxmlAttributeDescription>
| Improve this Doc View Source

uxmlChildElementsDescription

Declaration
public virtual IEnumerable<UxmlChildElementDescription> uxmlChildElementsDescription { get; }
Property Value
Type Description
IEnumerable<UxmlChildElementDescription>
| Improve this Doc View Source

uxmlName

Declaration
public virtual string uxmlName { get; }
Property Value
Type Description
String
| Improve this Doc View Source

uxmlNamespace

Declaration
public virtual string uxmlNamespace { get; }
Property Value
Type Description
String
| Improve this Doc View Source

uxmlQualifiedName

Declaration
public virtual string uxmlQualifiedName { get; }
Property Value
Type Description
String

Methods

| Improve this Doc View Source

AcceptsAttributeBag(IUxmlAttributes)

Declaration
[Obsolete("Call or override AcceptsAttributeBag(IUxmlAttributes bag, CreationContext cc) instaed")]
public virtual bool AcceptsAttributeBag(IUxmlAttributes bag)
Parameters
Type Name Description
IUxmlAttributes bag
Returns
Type Description
Boolean
| Improve this Doc View Source

AcceptsAttributeBag(IUxmlAttributes, CreationContext)

Declaration
public virtual bool AcceptsAttributeBag(IUxmlAttributes bag, CreationContext cc)
Parameters
Type Name Description
IUxmlAttributes bag
CreationContext cc
Returns
Type Description
Boolean
| Improve this Doc View Source

Create(IUxmlAttributes, CreationContext)

Declaration
public virtual VisualElement Create(IUxmlAttributes bag, CreationContext cc)
Parameters
Type Name Description
IUxmlAttributes bag
CreationContext cc
Returns
Type Description
VisualElement
| Improve this Doc View Source

DoCreate(IUxmlAttributes, CreationContext)

Declaration
[Obsolete("Remove and implemenent a default constructor for the created type instead.")]
protected virtual TCreatedType DoCreate(IUxmlAttributes bag, CreationContext cc)
Parameters
Type Name Description
IUxmlAttributes bag
CreationContext cc
Returns
Type Description
TCreatedType

Implements

IUxmlFactory

Extension Methods

MustExtensions.MustBeEqual<T>(T, T)
MustExtensions.MustBeEqual<T>(T, T, String)
MustExtensions.MustNotBeEqual<T>(T, T)
MustExtensions.MustNotBeEqual<T>(T, T, String)
MustExtensions.MustBeNull<T>(T)
MustExtensions.MustBeNull<T>(T, String)
MustExtensions.MustNotBeNull<T>(T)
MustExtensions.MustNotBeNull<T>(T, String)
  • Improve this Doc
  • View Source
Back to top Generated by DocFX