Mt2dTrackData
¶
New in version R18.020.
c4d.modules.motiontracker.
Mt2dTrackData
¶
Mt2dTrackData.GetTrackCount()
Mt2dTrackData.GetTrackByIndex()
Mt2dTrackData.GetTrackByGid()
Mt2dTrackData.GetTrackIndices()
Mt2dTrackData.GetTrackByName()
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: |
|
---|---|
Return type: | |
Returns: |
The indices of all tracks. |