Class UxmlStyleFactory
Factory for the root Style
element.
Inherited Members
Namespace: UnityEngine.UIElements
Syntax
public class UxmlStyleFactory : UxmlFactory<VisualElement, UxmlStyleTraits>, 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.UxmlStyleTraits>.substituteForTypeName
substituteForTypeNamespace
Declaration
public override string substituteForTypeNamespace { get; }
Property Value
Type | Description |
---|---|
String |
Overrides
UnityEngine.UIElements.UxmlFactory<UnityEngine.UIElements.VisualElement, UnityEngine.UIElements.UxmlStyleTraits>.substituteForTypeNamespace
substituteForTypeQualifiedName
Declaration
public override string substituteForTypeQualifiedName { get; }
Property Value
Type | Description |
---|---|
String |
Overrides
UnityEngine.UIElements.UxmlFactory<UnityEngine.UIElements.VisualElement, UnityEngine.UIElements.UxmlStyleTraits>.substituteForTypeQualifiedName
uxmlName
Declaration
public override string uxmlName { get; }
Property Value
Type | Description |
---|---|
String |
Overrides
UnityEngine.UIElements.UxmlFactory<UnityEngine.UIElements.VisualElement, UnityEngine.UIElements.UxmlStyleTraits>.uxmlName
uxmlQualifiedName
Declaration
public override string uxmlQualifiedName { get; }
Property Value
Type | Description |
---|---|
String |
Overrides
UnityEngine.UIElements.UxmlFactory<UnityEngine.UIElements.VisualElement, UnityEngine.UIElements.UxmlStyleTraits>.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.UxmlStyleTraits>.Create(UnityEngine.UIElements.IUxmlAttributes, UnityEngine.UIElements.CreationContext)