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));

漫反射。

另请参见