Class KeyframeSequence

KeyframeSequence class

The sequence of key-frames, it describes the transformation of a sampled value over time.

public class KeyframeSequence : A3DObject, IEnumerable<KeyFrame>

Constructors

NameDescription
KeyframeSequence()Initializes a new instance of the KeyframeSequence class.
KeyframeSequence(string)Initializes a new instance of the KeyframeSequence class.

Properties

NameDescription
BindPoint { get; }Gets the property bind point which owns this curve
KeyFrames { get; }Gets the key frames of this curve.
virtual Name { get; set; }Gets or sets the name.(Inherited from A3DObject.)
PostBehavior { get; }Gets the post behavior indicates what the sampled value should be after the last key frame.
PreBehavior { get; }Gets the pre behavior indicates what the sampled value should be before the first key.
Properties { get; }Gets the collection of all properties.(Inherited from A3DObject.)

Methods

NameDescription
Add(double, float)Create a new key frame with specified value
Add(double, float, Interpolation)Create a new key frame with specified value
FindProperty(string)Finds the property. It can be a dynamic property (Created by CreateDynamicProperty/SetProperty) or native property(Identified by its name)(Inherited from A3DObject.)
GetEnumerator()Gets the enumerator to traverse all key frames.
GetProperty(string)Get the value of specified property(Inherited from A3DObject.)
RemoveProperty(Property)Removes a dynamic property.(Inherited from A3DObject.)
RemoveProperty(string)Remove the specified property identified by name(Inherited from A3DObject.)
Reset()Removes all key frames and reset the post/pre behaviors.
SetProperty(string, object)Sets the value of specified property(Inherited from A3DObject.)

See Also