# Sandbox.SceneUtility

- Kind: class
- Namespace: `Sandbox`
- Assembly: `Sandbox.Engine`
- Modifiers: static, abstract, sealed

## Methods

- [`GetPrefabScene`](/api/Sandbox.SceneUtility/GetPrefabScene): Get a (cached) scene from a PrefabFile
- [`Instantiate`](/api/Sandbox.SceneUtility/Instantiate): Create a unique copy of the passed in GameObject
- [`MakeGameObjectsUnique`](/api/Sandbox.SceneUtility/MakeGameObjectsUnique)
- [`MakeIdGuidsUnique`](/api/Sandbox.SceneUtility/MakeIdGuidsUnique)
- [`RenderGameObjectToBitmap`](/api/Sandbox.SceneUtility/RenderGameObjectToBitmap): Render a GameObject to a bitmap. This is usually used for easily rendering "previews" of GameObjects, for things like saving thumbnails etc.
- [`RenderModelBitmap`](/api/Sandbox.SceneUtility/RenderModelBitmap): Render a Model to a bitmap. This is usually used for easily rendering "previews" of Models for thumbnails
- [`RunInBatchGroup`](/api/Sandbox.SceneUtility/RunInBatchGroup): Run an action inside a batch group. A batchgroup is used with GameObject and Components to make sure that their OnEnable/OnDisable and other callbacks are called in a deterministic order, and that they can find each other during creation.
