ChannelFloat

Inheritance diagram of rumba.ChannelFloat
class ChannelFloat

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

Methods

__init__

Constructor(s)

default_channel_value()

Returns the channel default value.

__init__()

Constructor(s)

ChannelFloat ()

Create an empty ChannelFloat.

ChannelFloat (v: Value)

Cast a Value object in ChannelFloat.

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

ChannelFloat (v: float,_default: float)

Create a ChannelFloat.

default_channel_value() float

Returns the channel default value.

Return type

float