ColorArrayInterpolator {
eventIn SFFloat set_fraction
eventIn MFFloat set_key
eventIn MFColor set_keyValue
field MFFloat key [] # [0, 1]
field MFColor keyValue [] # [0, 1]
eventOut MFFloat key_changed
eventOut MFColor keyValue_changed
eventOut MFColor value_changed
}
The ColorArrayInterpolator works like a CoordinateInterpolator, but for colors. It's useful for animating backgrounds or Color nodes.
The PROTO, inlined, gzipped, and ready to serve.
The source files.