OMC::EaseColumnValue Class Reference

Detailed Description

The value provided by a EaseColumn when accessed as a list, or iterated.

This object provides the value of a Ease Column when accessed as a list. Print Column Values

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 node list of the scene.
ease_col = columns["EASE_COLUMN_NAME"]
at_frame = 1
col_frame_val = ease_col[at_frame] #Accessing as a list using 'at_frame'
print( "Value at frame %s : %s"%(col_frame_val.frame, col_frame_val.value) )

Public Attributes

double frame
 The frame at which this object provides information.
 
double value
 The value at the given frame.
 
bool key
 True if the given frame is a keyframe.
 
bool const_segment
 
QString continuity
 
double ease_in
 
double ease_in_angle
 The angle of the ease-in handle.
 
double ease_out
 The number of frames in the ease-out.
 
double ease_out_angle
 The angle of the ease-out handle.
 
EaseColumnValuekeyframe_previous
 
EaseColumnValuekeyframe_next
 

Member Data Documentation

◆ const_segment

bool OMC::EaseColumnValue::const_segment
readwrite

Returns true to indicate that the point is on a constant segment, or false to indicate that the point is not on a constant segment.

◆ continuity

QString OMC::EaseColumnValue::continuity
readwrite

Returns the continuity of the curve that follows the point. One of the following values will be returned, in upper-case: SMOOTH, CORNER or STRAIGHT.

◆ ease_in

double OMC::EaseColumnValue::ease_in
readwrite

Returns the number of frames in the ease-in.

◆ keyframe_next

OMC::EaseColumnValue::keyframe_next

The next frame at which there is a keyframe present. If none are present, returns none.

◆ keyframe_previous

OMC::EaseColumnValue::keyframe_previous

The previous frame at which there is a keyframe present, this frame value object if its currently a keyframe.

Inheritance diagram for OMC::EaseColumnValue:
Collaboration diagram for OMC::EaseColumnValue: