Vertex Color Operator

顶点颜色运算符

Basic 基础Parameter 参数

Vertex Color Operator

顶点颜色运算符

With the introduction of the Vertex Colors, a Vertex Color node is also available, which can be used to read and set color and alpha values per object.

随着顶点颜色的引入,顶点颜色节点也是可用的,它可以用来读取和设置每个对象的颜色和 alpha 值。

The values for R, G, B and A (alpha) each lie between 0 and 1.

R、 g、 b 和 a (alpha)的值分别在0和1之间。

The Vertex Color node works best when Vertex Colors is set to Points Only (Vertex Color tag), for which exactly one color or alpha value will be saved per vertex.

顶点颜色节点工作最好的时候顶点颜色被设置为只有点(顶点颜色标签) ,其中正好一个颜色或阿尔法值将保存每个顶点。

In Polygon Points mode, only 1 average value per vertex can be read out, or 1 value set for all polygons to which the vertex belongs. C++ or Python must be used to access the Polygon Points data structure.

在多边形点模式下,每个顶点只能读出1个平均值,或者为顶点所属的所有多边形设置1个值。必须使用 c + + 或 Python 来访问 Polygon Points 数据结构。