KeyframeSequence
Overview
KeyframeSequence is a class in Aspose.3D FOSS for .NET.
KeyframeSequence.KeyframeSequence creates an empty keyframe sequence.
Properties
| Name | Type | Access | Description |
|---|---|---|---|
PropertyName | string | Read/Write | Gets or sets the name of the animated property |
KeyFrames | List<KeyFrame> | Read | Provides the list of keyframes in the sequence |
PreExtrapolation | Extrapolation | Read/Write | Gets or sets the extrapolation mode before the first keyframe |
PostExtrapolation | Extrapolation | Read/Write | Gets or sets the extrapolation mode after the last keyframe |
Methods
| Signature | Description |
|---|---|
KeyframeSequence() | Initializes a sequence with the given property name |
KeyframeSequence(propertyName: string) | |
GetKeyFrameAtTime(time: float) | Returns the keyframe at the specified time |
AddKeyFrame(keyFrame: KeyFrame) | Appends the provided keyframe to the sequence |
RemoveKeyFrame(keyFrame: KeyFrame) | Deletes the specified keyframe from the sequence |
Interpolate(time: float) | Computes interpolated values at the given time |