Tracker

Synopsis

This class is a container for tracks See detailed description below.

Functions

Detailed Description

The Tracker is a special class attached to effects that needs tracking capabilities. It contains all tracks for this node and also allow to start and stop tracking from a Python script.

Member functions description

NatronEngine.Tracker.createTrack()
Return type:Track

Creates a new track in the tracker with default values

NatronEngine.Tracker.getTrackByName(scriptName)
Return type:Track

Returns a track matching the given scriptName if any

NatronEngine.Tracker.getAllTracks()
Return type:sequence

Returns all the tracks in this Tracker.

NatronEngine.Tracker.getSelectedTracks()
Return type:sequence

Returns the user selected tracks

NatronEngine.Tracker.startTracking(tracks, start, end, forward)

Start tracking the given tracks from start frame to end frame (end frame will not be tracked) in the direction given by forward. If forward is False, then end is expected to be lesser than start.

NatronEngine.Tracker.stopTracking()

Stop any ongoing tracking for this Tracker.