---
title: SimpleMaterial
framework: realitykit
role: symbol
role_heading: Structure
path: realitykit/simplematerial
---

# SimpleMaterial

A basic material that responds to lights in the scene.

## Declaration

```swift
struct SimpleMaterial
```

## Overview

Overview SimpleMaterial responds to both real and virtual lighting to enhance realism. Add a SimpleMaterial to a model by setting it as one of the materials in a ModelComponent. let simpleMaterial = SimpleMaterial(     color: .red, isMetallic: false ) let model = ModelComponent(     mesh: .generateBox(size: 1),     materials: [simpleMaterial] ) redBoxEntity.components.set(model) For example, a red SimpleMaterial that is not metallic, and one that is metallic:  |   |

## Topics

### Creating a simple material

- [init()](realitykit/simplematerial/init().md)
- [init(color:roughness:isMetallic:)](realitykit/simplematerial/init(color:roughness:ismetallic:)-1ebae.md)

### Characterizing a material

- [color](realitykit/simplematerial/color.md)
- [baseColor](realitykit/simplematerial/basecolor-swift.property.md)
- [SimpleMaterial.BaseColor](realitykit/simplematerial/basecolor-swift.typealias.md)
- [tintColor](realitykit/simplematerial/tintcolor-6v03h.md)
- [SimpleMaterial.Texture](realitykit/simplematerial/texture.md)
- [metallic](realitykit/simplematerial/metallic.md)
- [roughness](realitykit/simplematerial/roughness.md)

### Initializers

- [init(color:roughness:isMetallic:)](realitykit/simplematerial/init(color:roughness:ismetallic:).md)

### Instance Properties

- [faceCulling](realitykit/simplematerial/faceculling-swift.property.md)
- [readsDepth](realitykit/simplematerial/readsdepth.md)
- [tintColor](realitykit/simplematerial/tintcolor-74a0x.md)
- [triangleFillMode](realitykit/simplematerial/trianglefillmode-swift.property.md)
- [writesDepth](realitykit/simplematerial/writesdepth.md)

### Type Aliases

- [SimpleMaterial.FaceCulling](realitykit/simplematerial/faceculling-swift.typealias.md)
- [SimpleMaterial.TriangleFillMode](realitykit/simplematerial/trianglefillmode-swift.typealias.md)

## Relationships

### Conforms To

- [Material](realitykit/material.md)

## See Also

### Simple materials

- [Creating 3D entities with RealityKit](visionos/creating-3d-entities-with-realitykit.md)
- [SimpleMaterial.BaseColor](realitykit/simplematerial/basecolor-swift.typealias.md)
- [SimpleMaterial.Texture](realitykit/simplematerial/texture.md)
- [SimpleMaterial.FaceCulling](realitykit/simplematerial/faceculling-swift.typealias.md)
- [SimpleMaterial.TriangleFillMode](realitykit/simplematerial/trianglefillmode-swift.typealias.md)
