ColorSourceScript

From K-3D

Jump to: navigation, search

Description

Color source that uses a script to create the output value
Plugin Status:Stable
Categories:All Plugins, Stable Plugins, Script Plugins, Color Plugins

Metadata

Name Value

Properties

Label Description Type Script Name
Script Script source code k3d::string_t script
Output Color Output color k3d::color output_color


Examples

Here is a trivial script that produces the color red as output:

#python
import k3d
Output = k3d.color(1, 0, 0)