KeyframeSequence

KeyframeSequence

General

KeyframeSequence és una classe en Aspose.3D FOSS per a .NET.

KeyframeSequence gestiona els quadres clau d’animació, oferint mètodes per afegir, eliminar, recuperar i interpolar cadres claus, i exposant les propietats PropertyName i KeyFrames.

Propietats

NameTypeAccessDescription
PropertyNamestringRead/WriteGets or sets the name of the animated property
KeyFramesList<KeyFrame>ReadProvides the list of keyframes in the sequence
PreExtrapolationExtrapolationRead/WriteGets or sets the extrapolation behavior before the first keyframe
PostExtrapolationExtrapolationRead/WriteGets or sets the extrapolation behavior after the last keyframe

Mètodes

SignatureDescription
KeyframeSequence()Initializes a sequence for the specified property name
KeyframeSequence(propertyName: string)
GetKeyFrameAtTime(time: float)Returns the keyframe whose time matches the given value
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 based on keyframes
 Català