# Sandbox.SceneModel.SetMaterialGroup

```csharp
void SetMaterialGroup(string name)
```

Set material group to replace materials of the model as set up in ModelDoc.

### Parameters

- `name` (`string`)

Declared in [Sandbox.SceneModel](/api/Sandbox.SceneModel).
Assembly: `Sandbox.Engine`.
