Mt2dTrack
¶
New in version R18.020.
c4d.modules.motiontracker.
Mt2dTrack
¶
Mt2dTrack.GetName()
Mt2dTrack.GetId()
Mt2dTrack.GetStatus()
Mt2dTrack.GetFramesWithTrackData()
Mt2dTrack.GetDataForFrame()
Mt2dTrack.GetDataForCurrentFrame()
Mt2dTrack.
GetName
(
)
¶
Retrieves the name of the track.
| Return type: | str |
|---|---|
| Returns: | The name of the track. |
Mt2dTrack.
GetId
(
)
¶
Retrieves the global ID of the track.
| Return type: | c4d.modules.motiontracker.MtTrkGidSdk |
|---|---|
| Returns: | The global ID of the track. |
Mt2dTrack.
GetStatus
(
)
¶
Retrieves the track status.
| Return type: | int | ||||||||
|---|---|---|---|---|---|---|---|---|---|
| Returns: |
The track status:
|
Mt2dTrack.
GetFramesWithTrackData
(
)
¶
Retrieves the frames on which the track has data.
| Return type: |
c4d.BaseSelect
|
|---|---|
| Returns: | The frames with track data. |
Mt2dTrack.
GetDataForFrame
(
frameNum
)
¶
Retrieves the motion tracking data for the given frame.
| Parameters: | frameNum ( int ) – The frame number. |
|---|---|
| Return type: | c4d.modules.motiontracker.MtData |
| Returns: | The tracking data, or None if it does not exist for the requested frame. |
Mt2dTrack.
GetDataForCurrentFrame
(
)
¶
Retrieves the track data for the current frame.
| Return type: | c4d.modules.motiontracker.MtData |
|---|---|
| Returns: | The tracking data for the current frame, or None if it does not exist. |