ChannelBool

Inheritance diagram of rumba.ChannelBool
class ChannelBool

A boolean 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 bool value. To get the actual value, use the Value::as_bool() method.

Methods

__init__

Constructor(s)

default_channel_value()

Returns the channel default value.

__init__()

Constructor(s)

ChannelBool ()

Create an empty ChannelBool.

ChannelBool (v: Value)

Cast a Value object in ChannelBool.

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

ChannelBool (v: bool,_default: bool)

Create a ChannelBool.

default_channel_value() bool

Returns the channel default value.

Return type

bool