Class SliderInt.UxmlTraits
Defines SliderInt.UxmlTraits for the SliderInt.
Inheritance
SliderInt.UxmlTraits
Inherited Members
Namespace: UnityEngine.UIElements
Syntax
public class UxmlTraits : BaseFieldTraits<int, UxmlIntAttributeDescription>
Methods
Init(VisualElement, IUxmlAttributes, CreationContext)
Initialize SliderInt 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 bag of attributes. |
CreationContext | cc | The creation context; unused. |
Overrides
UnityEngine.UIElements.BaseFieldTraits<System.Int32, UnityEngine.UIElements.UxmlIntAttributeDescription>.Init(UnityEngine.UIElements.VisualElement, UnityEngine.UIElements.IUxmlAttributes, UnityEngine.UIElements.CreationContext)