ChannelInt

Inheritance diagram of rumba.ChannelInt
class ChannelInt

An integer value with a default value.

This type is used in the animation network to propagate a channel value with its default channel value. The value is a standard int value. To get the actual value, use the Value::as_int() method.

Methods

__init__

Constructor(s)

default_channel_value()

Returns the channel default value.

__init__()

Constructor(s)

ChannelInt ()

Create an empty ChannelInt.

ChannelInt (v: Value)

Cast a Value object in ChannelInt.

If v has not the good type, a default value is constructed.

ChannelInt (v: int,_default: int)

Create a ChannelInt.

default_channel_value() int

Returns the channel default value.

Return type

int