This class only exists on [[RaytracingContextSettings]] and is used to define material properties when creating a [[RaytracingContext]].
```cs
public class MaterialSettings
{
public Dictionary<MaterialType, MaterialProperties> properties = new()
{
{ MaterialType.Brick, new() },
{ MaterialType.Cloth, new() },
{ MaterialType.Concrete, new() },
...
}
// For rendering
public Dictionary<MaterialType, Color> colours = new()
{
{ MaterialType.Brick, new Color(95, 59, 36) },
{ MaterialType.Cloth, new Color(255, 42, 149) },
{ MaterialType.Concrete, new Color(85, 61, 69) },
...
}
}
```
To update material settings after a context has already been created, use the `context.GetMaterial()` function. Read more: [[Materials]].