Class BoundsField.UxmlTraits
Defines BoundsField.UxmlTraits for the BoundsField.
Inheritance
BoundsField.UxmlTraits
Inherited Members
Namespace: UnityEditor.UIElements
Syntax
public class UxmlTraits : BaseField<Bounds>.UxmlTraits
Methods
Init(VisualElement, IUxmlAttributes, CreationContext)
Initialize BoundsField properties using values from the attribute bag.
Declaration
public override void Init(VisualElement ve, IUxmlAttributes bag, CreationContext cc)
Parameters
Type | Name | Description |
---|---|---|
VisualElement | ve | The object to initialize. |
IUxmlAttributes | bag | The attribute bag. |
CreationContext | cc | The creation context; unused. |
Overrides
UnityEngine.UIElements.BaseField<Bounds>.UxmlTraits.Init(UnityEngine.UIElements.VisualElement, UnityEngine.UIElements.IUxmlAttributes, UnityEngine.UIElements.CreationContext)