# WorldSpaceSizeMode

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

## Definition

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

```csharp
public enum WorldSpaceSizeMode
```

## Fields

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