---
title: "init(color:roughness:isMetallic:)"
framework: realitykit
role: symbol
role_heading: Initializer
path: "realitykit/simplematerial/init(color:roughness:ismetallic:)"
---

# init(color:roughness:isMetallic:)

Creates a simple material with specific characteristics in macOS.

## Declaration

```swift
init(color: SimpleMaterial.Color, roughness: MaterialScalarParameter = 0.0, isMetallic: Bool)
```

## Parameters

- `color`: The color of the material.
- `roughness`: The roughness of the material.
- `isMetallic`: A Boolean indicating whether the material should have a metallic appearance.
