LambertMaterial.TransparentColor

LambertMaterial.TransparentColor property

获取或设置透明颜色。

public Vector3 TransparentColor { get; set; }

Property Value

var mat = new LambertMaterial();
mat.TransparentColor = new Vector3(0.3, 0.5, 0.2);
var mat = new LambertMaterial();
mat.setTransparentColor(new Vector3(0.3, 0.5, 0.2));

透明颜色。

另请参见