KeyframeSequence class

KeyframeSequence class

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

Inheritance: KeyframeSequenceA3DObject

The KeyframeSequence type exposes the following members:

Constructors

ConstructorDescription
__init__(self, name)Initializes a new instance of the KeyframeSequence class.
__init__(self)Initializes a new instance of the KeyframeSequence class.

Properties

PropertyDescription
nameGets or sets the name.
propertiesGets the collection of all properties.
bind_pointGets the property bind point which owns this curve
key_framesGets the key frames of this curve.
post_behaviorGets the post behavior indicates what the sampled value should be after the last key frame.
pre_behaviorGets the pre behavior indicates what the sampled value should be before the first key.

Methods

MethodDescription
remove_property(self, property)Removes a dynamic property.
remove_property(self, property)Remove the specified property identified by name
add(self, time, value)Create a new key frame with specified value
add(self, time, value, interpolation)Create a new key frame with specified value
get_property(self, property)Get the value of specified property
set_property(self, property, value)Sets the value of specified property
find_property(self, property_name)Finds the property.
It can be a dynamic property (Created by CreateDynamicProperty/SetProperty)
or native property(Identified by its name)
reset(self)Removes all key frames and reset the post/pre behaviors.

See Also