---
title: CustomMaterial.Metallic
framework: realitykit
role: symbol
role_heading: Structure
path: realitykit/custommaterial/metallic-swift.struct
---

# CustomMaterial.Metallic

An object that defines an entity’s reflectiveness.

## Declaration

```swift
struct Metallic
```

## Overview

Overview In physically based rendering, the metallic property represents the reflectiveness of an entity. Use this object to specify whether an entity displays metallic qualities and reflects the surrounding environment. For more information on using metallic values in a custom material, see metallic.

## Topics

### Creating a metallic object

- [init(floatLiteral:)](realitykit/custommaterial/metallic-swift.struct/init(floatliteral:).md)
- [init(scale:texture:)](realitykit/custommaterial/metallic-swift.struct/init(scale:texture:).md)
- [init(_:)](realitykit/custommaterial/metallic-swift.struct/init(_:).md)

### Accessing metallic data

- [scale](realitykit/custommaterial/metallic-swift.struct/scale.md)
- [texture](realitykit/custommaterial/metallic-swift.struct/texture.md)

## Relationships

### Conforms To

- [ExpressibleByFloatLiteral](swift/expressiblebyfloatliteral.md)

## See Also

### Custom material types

- [CustomMaterial.Custom](realitykit/custommaterial/custom-swift.struct.md)
- [CustomMaterial.CustomMaterialTexture](realitykit/custommaterial/custommaterialtexture.md)
- [CustomMaterial.LightingModel](realitykit/custommaterial/lightingmodel-swift.enum.md)
- [CustomMaterial.BaseColor](realitykit/custommaterial/basecolor-swift.struct.md)
- [CustomMaterial.Roughness](realitykit/custommaterial/roughness-swift.struct.md)
- [CustomMaterial.Normal](realitykit/custommaterial/normal-swift.struct.md)
- [CustomMaterial.EmissiveColor](realitykit/custommaterial/emissivecolor-swift.struct.md)
- [CustomMaterial.Blending](realitykit/custommaterial/blending-swift.enum.md)
- [CustomMaterial.Opacity](realitykit/custommaterial/opacity.md)
- [CustomMaterial.AmbientOcclusion](realitykit/custommaterial/ambientocclusion-swift.struct.md)
- [CustomMaterial.Specular](realitykit/custommaterial/specular-swift.struct.md)
- [CustomMaterial.Clearcoat](realitykit/custommaterial/clearcoat-swift.struct.md)
- [CustomMaterial.ClearcoatNormal](realitykit/custommaterial/clearcoatnormal-swift.struct.md)
- [CustomMaterial.ResourceStorage](realitykit/custommaterial/resourcestorage.md)
- [CustomMaterial.TextureCoordinateTransform](realitykit/custommaterial/texturecoordinatetransform-swift.typealias.md)
