LambertMaterial.DiffuseColor

LambertMaterial.DiffuseColor property

Gets or sets the diffuse color

public Vector3 DiffuseColor { get; set; }

Property Value

The

var mat = new LambertMaterial();
mat.DiffuseColor = new Vector3(1, 0, 0);
var mat = new LambertMaterial();
mat.setDiffuseColor(new Vector3(1, 0, 0));

diffuse.

See Also