Track

from acron.keyframes import Track
class Track(path: str, prop: str, axis, keys, handles=None)

Bases: object

One animation track: a target path, a property, and its keyframes.

keys is [(time, value)] with value a float, an (x, y) pair or an (r, g, b, a) tuple. axis is the sub-property a track may address directly (position:x, modulate:a) or None. handles (bezier tracks only) holds per-key (in_x, in_y, out_x, out_y) tangent handles.

Inheritance diagram

digraph inheritance4333123c45 { bgcolor=transparent; rankdir=BT; size="8.0, 12.0"; "Track" [URL="acron.keyframes.Track.html#acron.keyframes.Track",fillcolor=white,fontname="Vera Sans, DejaVu Sans, Liberation Sans, Arial, Helvetica, sans",fontsize=11,height=0.25,shape=box,style="",target="_top",tooltip="One animation track: a target path, a property, and its keyframes."]; }
axis
handles
property id
keys
path
prop