# UIDocument.WorldSpaceSizeMode

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

## Definition

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

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

## Fields

| Value                                                                                                      | Description                                                                                                                                                                          |
| ---------------------------------------------------------------------------------------------------------- | ------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------ |
| [Dynamic](/engine/6000.3/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.3/script-reference/unityengine/uielements/uidocument/worldspacesizemode/fixed.md)     | The size of the UIDocument will be fixed to the values provided in [UIDocument.worldSpaceSize](/engine/6000.3/script-reference/unityengine/uielements/uidocument/worldspacesize.md). |
