| CameraPixelSizePerDistance Property | 
Namespace: AGI.Foundation.Graphics
 Syntax
Syntax Remarks
Remarks
Example 1:
Assume PixelSizePerDistance is 0.001.  This means at 1
meter away, the size of a pixel is 0.001 meters.  Therefore, the size
of 1 pixel at 2,000 meters away is:
2,000 meters * 0.001 (meters / pixel / meters) = 2 meters/pixel
Example 2:
Assume PixelSizePerDistance is 0.001.  This means at 1
meter away, the size of a pixel is 0.001 meters.  The diameter, in pixels,
of a sphere 2,000 meters away that has a diameter of 10 meters is:
10 meters / (2,000 meters * 0.001 (meters / pixel / meters)) = 5 pixels
PixelSizePerDistance is accurate for a pixel in the center of the window. Accuracy decreases slightly the farther off center a pixel is and the wider the camera's field of view is.
 See Also
See Also