Shader clone()

Returns a hard copy (clone) of the current shader.

Source

Shader clone() => new AmbientShader(new Vector4.copy(ambCoeff));