---
title: "init(_:)"
framework: realitykit
role: symbol
role_heading: Initializer
path: "realitykit/physicallybasedmaterial/metallic-swift.struct/init(_:)"
---

# init(_:)

Creates a metallic object from a custom material’s metallic property.

## Declaration

```swift
init(_ value: CustomMaterial.Metallic)
```

## Parameters

- `value`: The custom material’s metallic property.

## Discussion

Discussion In PBR rendering, the metallic property represents the reflectiveness of an entity. This initializer creates a new object from the metallic property of a CustomMaterial.

## See Also

### Creating a metallic object

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