# Sandbox.SceneUtility.RenderGameObjectToBitmap

```csharp
static void RenderGameObjectToBitmap(GameObject objSource, Bitmap bitmap)
```

Render a GameObject to a bitmap. This is usually used for easily rendering "previews" of GameObjects, 
for things like saving thumbnails etc.

### Parameters

- `objSource` (`GameObject`)
- `bitmap` (`Bitmap`)

Declared in [Sandbox.SceneUtility](/api/Sandbox.SceneUtility).
Assembly: `Sandbox.Engine`.
