roughness(_:)
A value that controls the degree of surface roughness.
Declaration
nonisolated func roughness(_ ratio: Double) -> some Chart3DContent
Parameters
- ratio:
The degree of roughness.
Discussion
Zero represents a smooth surface. One represents a completely rough surface.