# PivotReferenceSize

> Enum value used to specify the size used to compute the Pivot position.

## Definition

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

```csharp
public enum PivotReferenceSize
```

## Fields

| Value                                                                                                   | Description                                                                                       |
| ------------------------------------------------------------------------------------------------------- | ------------------------------------------------------------------------------------------------- |
| [BoundingBox](/engine/6000.6/script-reference/unityengine/uielements/pivotreferencesize/boundingbox.md) | The size of the full bounding-box of the UIDocument will be used to determine the pivot position. |
| [Layout](/engine/6000.6/script-reference/unityengine/uielements/pivotreferencesize/layout.md)           | The layout size of the root element will be used to determine the pivot position.                 |
