init(_:)
Creates a roughness object from a custom material’s roughness property.
Declaration
init(_ value: CustomMaterial.Roughness)Parameters
- value:
The custom material’s roughness property.
Creates a roughness object from a custom material’s roughness property.
init(_ value: CustomMaterial.Roughness)The custom material’s roughness property.