Mt2dTrackData

New in version R18.020.

Definition

class c4d.modules.motiontracker. Mt2dTrackData

Members

Mt2dTrackData. GetTrackCount ( )

Retrieves the number of tracks.

Return type: int
Returns: The number of tracks.
Mt2dTrackData. GetTrackByIndex ( index )

Retrieves the track with the given index .

Parameters: index ( int ) – The track index.
Return type: c4d.modules.motiontracker.Mt2dTrack
Returns: The track.
Mt2dTrackData. GetTrackByGid ( trkGid )

Retrieves the track with the given global ID.

Parameters: trkGid ( c4d.modules.motiontracker.MtTrkGid ) – The track global ID.
Return type: c4d.modules.motiontracker.Mt2dTrack
Returns: The track.
Mt2dTrackData. GetTrackByName ( name )

Retrieves the track with the given name.

Parameters: name ( str ) – The name of the track to search for.
Return type: c4d.modules.motiontracker.Mt2dTrack
Returns: The track.
Mt2dTrackData. GetTrackIndices ( userTracks , autoTracks )

Retrieves the indices of all tracks.

Parameters:
  • userTracks ( bool ) – True to include User created tracks, otherwise False .
  • autoTracks ( bool ) – True to include Automatic tracks, otherwise False .
Return type:

c4d.BaseSelect

Returns:

The indices of all tracks.

Table Of Contents