đąChannels
Working with behaviors and animation channels
Last updated
Working with behaviors and animation channels
Last updated
A channel performs a specific animation or function and is displayed in the Timeflow view on its own horizontal row below each object. Channels can be selected individually by clicking on the channel name.
Multiple channels may be selected by holding Shift or Control while selecting, same as objects. Note however that some menu operations, such as adding a new channel, only operate on the object directly clicked on.
Tracks (on the same row as the object) are also a type of channel used to control the active state of the object and its behaviors.
Channels belong to behaviors. A behavior is a component on the object deriving from the TimeflowBehavior base class. Some behaviors such as Keyframer can have any number of channels, whereas others such as Tween only have 1 channel per instance, and yet others may have no channels at all.
Whenever a new channel is added to an object, the corresponding behavior is created if needed. Likewise when channels are removed, the behavior is also removed if it no longer has any channels.
Behaviors are not listed directly in the Timeflow view, but are managed and edited using the Inspector view. It's best therefore to use a layout which allows simultaneous view of the Inspector and Timeflow windows, as shown in the screenshot below.
Some behaviors may not have any channels and therefore are not displayed in the Timeflow view.
Right-click on an object to display a context menu listing additional options including the ability to add new behaviors and channels. Each section starting with "Add" relates to a particular type of behavior. Some of these have channels that target a specific property (as shown below) while others may provide a single option to add a general behavior.
Add Animation > Channel creates a standard keyframe channel, belonging to the Keyframer component which may have any number of channels. Other behaviors such as Tween creates just 1 channel. Most channels map to a Property, discussed further on the next page.
Please use the context menu as shown above, or the main menu Tools > Timeflow > Add, to add Timeflow related behaviors, channels, and objects. Adding a Timeflow component directly (using Add Component or the Components menu) is permitted, though is likely to require additional setup steps, such as selecting a property mapping as discussed in more detail below.
Each type of behavior can have its own type of channel, which may or may not use keyframes. Every behavior can implement its own custom GUI and graph display to better represent its unique features. You'll notice for example that the Tween channel shown in the screenshot above draws a wavy line instead of keyframes, since its animation is generated procedurally.
To the right of each channel name is either a set of keyframe controls, or a graph toggle for procedural animations. Use the left and right arrow to jump to the subsequent or preceding keyframe on the channel, or click the diamond in the center to set a new keyframe or unset an existing one.
If the channel has generated data instead of keyframes, it shows a graph icon to toggle the visibility of its curve displayed in the track and graph views.
Working with animation is covered in more detail in the Track View and Graph View sections.
Channels can be selected in the following ways:
Click on the channel name in the object panel to select an individual channel.
Hold Shift or Control to select multiple.
Click and drag a marquee from any empty area in the object panel to select multiple channels.
While the object panel has focus (click anywhere inside it) use the keyboard shortcut Control + A to select all channels currently displayed.
In the bottom left corner of the window information about the current selection is displayed. This expands to show additional properties when keyframes or other types of objects are selected. When channels are selected, it displays the count and a color field which can be used to assign a new track color to the selected channels.
Similar to dragging objects as discussed in the previous section, channels can also be dragged in the object panel to reorder, duplicate, or move channels from one object to another.
Drag Duplicate
Hold the Alt key while dragging channels in the object panel to duplicate them. A plus sign ( + ) is displayed in front of the channel names being dragged to indicate that copies will be created when released.
Channels can also be moved from one object to another by dragging the channels in the object panel. Use the Alt key to make a duplicate and keep the original channels in place, otherwise the original channels are removed. This automatically adds/removes the associated behaviors.
For more channel commands and menu options, see Channel Menu.