SpatialMaterial.clearcoatEnabled

If true, clearcoat rendering is enabled. Adds a secondary transparent pass to the lighting calculation resulting in an added specular blob. This makes materials appear as if they have a clear layer on them that can be either glossy or rough. Note: Clearcoat rendering is not visible if the material has flagsUnshaded set to true.

  1. bool clearcoatEnabled [@property getter]
    struct SpatialMaterial
    @nogc nothrow @property
    bool
    clearcoatEnabled
    ()
  2. bool clearcoatEnabled [@property setter]

Meta