<!--
{
  "availability" : [
    "iOS: 15.0.0 -",
    "iPadOS: 15.0.0 -",
    "macCatalyst: 15.0.0 -",
    "macOS: 12.0.0 -",
    "tvOS: 26.0.0 -"
  ],
  "documentType" : "symbol",
  "framework" : "RealityKit",
  "identifier" : "/documentation/RealityKit/PhysicallyBasedMaterial/Metallic-swift.struct/init(_:)",
  "metadataVersion" : "0.1.0",
  "role" : "Initializer",
  "symbol" : {
    "kind" : "Initializer",
    "modules" : [
      "RealityKit"
    ],
    "preciseIdentifier" : "s:17RealityFoundation23PhysicallyBasedMaterialV8MetallicVyAeA06CustomE0VADVcfc"
  },
  "title" : "init(_:)"
}
-->

# init(_:)

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

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

## Parameters

`value`

The custom material’s metallic property.

## Discussion

In PBR rendering, the `metallic` property represents the
reflectiveness of an entity. This initializer creates a new object
from the [`metallic`](/documentation/RealityKit/CustomMaterial/metallic-swift.property) property of a
[`CustomMaterial`](/documentation/RealityKit/CustomMaterial).

---

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)