OMC::BezierControlPoint Class Reference

Detailed Description

An object that represents the control point of bezier column.

Provided by OMC::BezierColumn::control_points. Provides the keyframes and keyframe options associated with a keyframeable bezier column.
Look Through Bezier Keyframes

from ToonBoom import harmony #Import the Harmony Module
sess = harmony.session() #Get access to the Harmony session, this class.
proj = sess.project #Get the active session's currently loaded project.
scene = proj.scene #Get the top scene in the project.
columns = scene.columns #The overall column list of the scene.
bez_col = columns["BEZIER_COLUMN_NAME"]
keyframes = bez_col.control_points #This list provides BezierControlPoint objects.
for keyframe in keyframes:
print( "Key At: %s %s"%(keyframe.frame, keyframe.value) )

Public Attributes

double value
 The Y value of the control point on its function curve.
 
bool const_segment
 True to indicate that the point is on a constant segment, or false to indicate that the point is not on a constant segment.
 
QString continuity
 The continuity of the curve that follows the point. One of the following values will be returned, in upper-case: SMOOTH, CORNER or STRAIGHT.
 
double handle_left_x
 The X value of the left handle of a point on the column.
 
double handle_left_y
 The Y value of the left handle of a point on the column.
 
double handle_right_x
 The X value of the right handle of a point on the column.
 
double handle_right_y
 The Y value of the right handle of a point on the column.
 
double frame
 The X value (the frame floating point number) of the control point on its column.
 
Inheritance diagram for OMC::BezierControlPoint:
Collaboration diagram for OMC::BezierControlPoint: