# Init(VisualElement, IUxmlAttributes, CreationContext)

> Initializes the UxmlTraits for the RectIntField.

## Definition

* **Type:** Method
* **Namespace:** [UnityEngine.UIElements](/engine/6000.3/script-reference/unityengine/uielements.md)
* **Assembly:** UnityEngine.UIElementsModule

> **Warning:**
>
> **Deprecated.** UxmlTraits is deprecated and will be removed. Use UxmlElementAttribute instead.

```csharp
public override void Init(VisualElement ve, IUxmlAttributes bag, CreationContext cc)
```

### Parameters

**** (\[VisualElement]\(/engine/6000.3/script-reference/unityengine/uielements/visualelement)): The [VisualElement](/engine/6000.3/script-reference/unityengine/uielements/visualelement.md) to be initialized.**** (\[IUxmlAttributes]\(/engine/6000.3/script-reference/unityengine/uielements/iuxmlattributes)): Bags of attributes where the values come from.**** (\[CreationContext]\(/engine/6000.3/script-reference/unityengine/uielements/creationcontext)): Creation Context, unused.
