Show / Hide Table of Contents

Class UxmlAttributeDescription

Inheritance
Object
UxmlAttributeDescription
UxmlBoolAttributeDescription
UxmlColorAttributeDescription
UxmlDoubleAttributeDescription
UxmlEnumAttributeDescription<T>
UxmlFloatAttributeDescription
UxmlIntAttributeDescription
UxmlLongAttributeDescription
UxmlStringAttributeDescription
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 abstract class UxmlAttributeDescription

Constructors

| Improve this Doc View Source

UxmlAttributeDescription()

Declaration
protected UxmlAttributeDescription()

Fields

| Improve this Doc View Source

k_XmlSchemaNamespace

Declaration
protected const string k_XmlSchemaNamespace = "http://www.w3.org/2001/XMLSchema"
Field Value
Type Description
String

Properties

| Improve this Doc View Source

defaultValueAsString

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

name

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

obsoleteNames

Declaration
public string[] obsoleteNames { get; set; }
Property Value
Type Description
String[]
| Improve this Doc View Source

restriction

Declaration
public UxmlTypeRestriction restriction { get; set; }
Property Value
Type Description
UxmlTypeRestriction
| Improve this Doc View Source

type

Declaration
public string type { get; protected set; }
Property Value
Type Description
String
| Improve this Doc View Source

typeNamespace

Declaration
public string typeNamespace { get; protected set; }
Property Value
Type Description
String
| Improve this Doc View Source

use

Declaration
public UxmlAttributeDescription.Use use { get; set; }
Property Value
Type Description
UxmlAttributeDescription.Use

Methods

| Improve this Doc View Source

GetValueFromBag<T>(IUxmlAttributes, CreationContext, Func<String, T, T>, T)

Declaration
protected T GetValueFromBag<T>(IUxmlAttributes bag, CreationContext cc, Func<string, T, T> converterFunc, T defaultValue)
Parameters
Type Name Description
IUxmlAttributes bag
CreationContext cc
Func<String, T, T> converterFunc
T defaultValue
Returns
Type Description
T
Type Parameters
Name Description
T

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