矢量材质
A material vector is a collection of values used with some material commands. They most often represent a RGB color.
A material vector is a collection of values used with some material commands. They most often represent a RGB color.
语法
Quotes are always required, because there are spaces in the value.
Values inside
{
curly brackets}
are divided by 255, so that standard RGB integer 0-255 values can be used.Between two to four values can be used, depending on the requirements of the parameter. Listed below:
vector2
A vector with two values.
vector3
A vector with three values.
vector4
A vector with four values.
访问
Access an individual component of a material vector like this:
来源和参考
Last updated