AnimationChannel

AnimationChannel class

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

public class AnimationChannel : IEnumerable<KeyframeSequence>

Properties

Name Description
ComponentType { get; } Gets the component field’s type
DefaultValue { get; set; } Gets 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.
KeyframeSequences { get; } Gets all keyframe sequences inside this channel
Name { get; } Gets the name of the channel

Methods

Name Description
AddKeyframeSequence(KeyframeSequence) Adds keyframe sequence to this channel
GetEnumerator() Gets an enumerator to walk through all keyframe sequences inside this channel

See Also