BindPoint class

BindPoint class

A BindPoint is usually created on an object’s property, some property types contains multiple component fields(like a Vector3 field), BindPoint will generate channel for each component field and connects the field to one or more keyframe sequence instance(s) through the channels.

Inheritance: BindPointA3DObject

The BindPoint type exposes the following members:

Constructors

ConstructorDescription
__init__(self, scene, prop)Initializes a new instance of the BindPoint class.

Properties

PropertyDescription
nameGets or sets the name.
propertiesGets the collection of all properties.
propertyGets the property associated with the CurveMapping
channels_countGets the total number of property channels defined in this animation curve mapping.

Methods

MethodDescription
remove_property(self, property)Removes a dynamic property.
remove_property(self, property)Remove the specified property identified by name
add_channel(self, name, value)Adds the specified channel property.
add_channel(self, name, type, 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)
get_keyframe_sequence(self, channel_name)Gets the first keyframe sequence in specified channel
create_keyframe_sequence(self, name)Creates a new curve and connects it to the first channel of the curve mapping
bind_keyframe_sequence(self, channel_name, sequence)Bind the keyframe sequence to specified channel
get_channel(self, channel_name)Gets channel by given name
reset_channels(self)Empties the property channels of this animation curve mapping.

See Also