init(_:)
Creates a metallic object from a custom material’s metallic property.
Declaration
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 property of a CustomMaterial.