User Tools

Site Tools


channel_int

Description

Defines properties of a integer-valued channel.

Parent Objects

Extends

Properties

Name Description Default Required
value An int value representing the default value for the parameter. 0 no
current_value An int value representing the current value for the parameter. 0 no
min An int value representing the minimum value for the parameter, or for each component of a vector-valued channel. 0 no
max An int value representing the maximum value for the parameter, or for each component of a vector-valued channel. 1 no
clamped A boolean value representing whether or not min and max are enforced. false no
step_size An int value representing the step size, or paging size, to use for this parameter when presenting UI to the user. Effectively a scaling value. Value applies to all components of a vector-valued channel. 1 no
mappable A boolean value representing whether or not the channel is mappable. false no

Details

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

Example

{
	"id" : "value",
	"type" : "int",
	"name" : "Dummy",
	"label" : "Dummy",
	"visible" : false,
	"locked" : true,
	"auto_follow" : true,
	"value" : 0,
	"current_value" : 0,
	"min" : -1,
	"max" : 1,
	"clamped" : true,
	"step_size" : 1
}