User Tools

Site Tools


channel_color

Description

Defines properties of a vector-valued color channel where color is represented as a three-component floating point RGB value.

Parent Objects

Extends

Properties

Name Description Default Required
value A float3 representing the default color value for the parameter. [ 0.0, 0.0, 0.0 ] no
current_value A float3 representing the current color value for the parameter. [ 0.0, 0.0, 0.0 ] no
mappable A boolean value indicating whether or not the channel is mappable. false no

Details

Color values are assumed to be in the range 0.0 to 1.0, but floating point values outside that range are legal and it is up to the application to determine how to interpret those.

The current_value attribute is overridden anytime an animation is associated with the channel.

Example

{
	"id" : "diffuse",
	"label" : "Color",
	"visible" : true,
	"locked" : true,
	"value" : [ 0.0, 0.0, 0.0 ],
	"current_value" : [ 0.0, 0.32, 0.73 ],
}