.. module:: NatronEngine .. _Tracker: Tracker ******* Synopsis -------- This class is a container for :doc:`tracks` See :ref:`detailed` description below. Functions ^^^^^^^^^ - def :meth:`createTrack` () - def :meth:`getTrackByName` (scriptName) - def :meth:`getAllTracks` () - def :meth:`getSelectedTracks` () - def :meth:`startTracking` (tracks, start, end, forward) - def :meth:`stopTracking` () .. _tracker.details: Detailed Description -------------------- The Tracker is a special class attached to :doc:`effects` that needs tracking capabilities. It contains all :doc:`tracks` for this node and also allows one to start and stop tracking from a Python script. Member functions description ^^^^^^^^^^^^^^^^^^^^^^^^^^^^ .. method:: NatronEngine.Tracker.createTrack() :rtype: :class:`Track` Creates a new track in the tracker with default values .. method:: NatronEngine.Tracker.getTrackByName(scriptName) :rtype: :class:`Track` Returns a track matching the given *scriptName* if any .. method:: NatronEngine.Tracker.getAllTracks() :rtype: :class:`sequence` Returns all the tracks in this Tracker. .. method:: NatronEngine.Tracker.getSelectedTracks() :rtype: :class:`sequence` Returns the user selected tracks .. method:: 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*. .. method:: NatronEngine.Tracker.stopTracking () Stop any ongoing tracking for this Tracker.