Particle Appearance Tinting Component For 1.10.0¶
文档版本:1.21.50.25
Color fields are special, they can be either an RGB, or a #RRGGBB
field (or RGBA or AARRGGBB
). If RGB(A), the channels are from 0 to 1. If the string #AARRGGBB
, then the values are hex from 00 to ff.
架构¶
particle_appearance_tinting:
{
array "color" : opt
{
0 "<any array element>"
}
string "color" : opt
object "color" : opt
{
array "gradient" : opt
{
string "<any array element>" : opt
}
object "gradient" : opt
{
string "(^[\-0-9]+$|^[\-0-9]+\.[\-0-9]+$)" : opt
}
array "gradient" : opt
{
array "<any array element>" : opt
{
number "<any array element>" : opt
string "<any array element>" : opt
}
}
0 "interpolant"
}
}
color
:array- Direct color field.
color
color
:string- Direct color field.
color
:object- Interpolation based color.
color
gradient
:array- An array of colors.
gradient
<any array element>
:string- Color.
gradient
:object- An object of colors.
gradient
(^[\-0-9]+$|^[\-0-9]+\.[\-0-9]+$)
:string- Color.
gradient
:array- An array of colors.
gradient
<any array element>
:array
<any array element>
<any array element>
:number- Color.
<any array element>
:string
interpolant
:0- UNDOCUMENTED: interpolant.