# UIDocument.WorldSpaceSizeMode

> An enum describing how the world-space UIDocument will be sized.

## Definition

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

> **Warning:**
>
> **Removed.** UIDocument.WorldSpaceSizeMode has been moved to WorldSpaceSizeMode .
>
> **Upgrade to** [WorldSpaceSizeMode](/engine/6000.7/script-reference/unityengine/uielements/worldspacesizemode.md)

```csharp
public enum UIDocument.WorldSpaceSizeMode
```

## Fields

| Value                                                                                                      | Description                                                                                                                                                                 |
| ---------------------------------------------------------------------------------------------------------- | --------------------------------------------------------------------------------------------------------------------------------------------------------------------------- |
| [Dynamic](/engine/6000.7/script-reference/unityengine/uielements/uidocument/worldspacesizemode/dynamic.md) | The size of the UIDocument will be determined from the layout size of the root element.                                                                                     |
| [Fixed](/engine/6000.7/script-reference/unityengine/uielements/uidocument/worldspacesizemode/fixed.md)     | The size of the UIDocument will be fixed to the values provided in [\_worldSpaceSize](/engine/6000.7/script-reference/unityengine/uielements/uidocument/worldspacesize.md). |
