LambertMaterial.DiffuseColor

LambertMaterial.DiffuseColor property

يحصل أو يضبط اللون المنتشر

public Vector3 DiffuseColor { get; set; }

Property Value

ال

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

منتشر.

انظر أيضًا