<!--
{
  "availability" : [
    "macOS: 10.15.0 -"
  ],
  "documentType" : "symbol",
  "framework" : "RealityKit",
  "identifier" : "/documentation/RealityKit/SimpleMaterial/init(color:roughness:isMetallic:)",
  "metadataVersion" : "0.1.0",
  "role" : "Initializer",
  "symbol" : {
    "kind" : "Initializer",
    "modules" : [
      "RealityKit"
    ],
    "preciseIdentifier" : "s:17RealityFoundation14SimpleMaterialV0A3KitE5color9roughness10isMetallicACSo7NSColorC_AA0D15ScalarParameterOSbtcfc::OverloadGroup"
  },
  "title" : "init(color:roughness:isMetallic:)"
}
-->

# init(color:roughness:isMetallic:)

Creates a simple material with specific characteristics in macOS.

```
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.

---

Copyright &copy; 2026 Apple Inc. All rights reserved. | [Terms of Use](https://www.apple.com/legal/internet-services/terms/site.html) | [Privacy Policy](https://www.apple.com/privacy/privacy-policy)