MtData
¶
New in version R18.020.
c4d.modules.motiontracker.
MtData
¶
MtData.
GetNormalisedPosition
(
)
¶
Retrieves the track position in normalized coordinates.
Note
x is in range -0.5 to +0.5 from left to right of image. y is in range -0.5/aspect to +0.5/aspect from top to bottom of image, where aspect is the image aspect ratio.Return type: |
c4d.Vector
|
---|---|
Returns: | The track position in normalized coordinates. |
MtData.
GetPixelPosition
(
footageData
,
originalRes
)
¶
Retrieves the track position in pixel coordinates.
Parameters: |
|
---|---|
Return type: | |
Returns: |
The track position in pixel coordinates. |
MtData.
GetCameraSpaceDirection
(
focalLength
,
sensorWidth
)
¶
Retrieves the camera space ray corresponding to track position.
Parameters: |
|
---|---|
Return type: | |
Returns: |
The ray in camera space corresponding to the position of the track. |