metalness(_:)
A value that controls whether the surface has a metallic look.
Declaration
nonisolated func metalness(_ ratio: Double) -> some Chart3DContent
Parameters
- ratio:
The degree of metalness.
Discussion
Zero represents a non-metallic (dielectric) surface. One represents a metallic surface. In real life, materials are either metallic or dielectric (0 or 1).