Experimental: this API is experimental and might be changed or removed in the future.

IUxmlFactory

interface in UnityEngine.Experimental.UIElements

Cambiar al Manual

Descripción

Interface for UXML factories. While it is not strictly required, concrete factories should derive from the generic class UxmlFactory.

Variables

canHaveAnyAttributeMust return true if the UXML element attributes are not restricted to the values enumerated by uxmlAttributesDescription.
substituteForTypeNameThe type of element for which this element type can substitute for.
substituteForTypeNamespaceThe UXML namespace for the type returned by substituteForTypeName.
substituteForTypeQualifiedNameThe fully qualified XML name for the type returned by substituteForTypeName.
uxmlAttributesDescriptionDescribes the UXML attributes expected by the element. The attributes enumerated here will appear in the UXML schema.
uxmlChildElementsDescriptionDescribes the types of element that can appear as children of this element in a UXML file.
uxmlNameThe name of the UXML element read by the factory.
uxmlNamespaceThe namespace of the UXML element read by the factory.
uxmlQualifiedNameThe fully qualified name of the UXML element read by the factory.

Funciones Públicas

AcceptsAttributeBagReturns true if the factory accepts the content of the attribute bag.
CreateInstanciate and initialize an object of type T0.