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

IUxmlFactory

interface in UnityEngine.Experimental.UIElements

マニュアルに切り替える

説明

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

変数

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.

Public 関数

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