AnimationChannel class

AnimationChannel class

A channel maps property’s component field to a set of keyframe sequences

The AnimationChannel type exposes the following members:

Properties

PropertyDescription
component_typeGets the component field’s type
nameGets the name of the channel
default_valueGets or sets the Default value of the channel.
If a channel has no keyframe sequences connected, the default value will be used during the animation evaluation.
A real scenario: Animation only animates a node’s x coordinate, the y and z are not changed,
then the default value will be used during full translation evaluation.
keyframe_sequencesGets all keyframe sequences inside this channel

Methods

MethodDescription
add_keyframe_sequenceAdds keyframe sequence to this channel

See Also