Function GeometryBuilder.CameraDepthToPixelSize
CameraDepthToPixelSize
(Camera camera)
Helper for determining how large a pixel is at a given depth.
Private
Static
float2 CameraDepthToPixelSize (
camera |
Helper for determining how large a pixel is at a given depth.
A a distance D from the camera a pixel corresponds to roughly value.x * D + value.y world units. Where value is the return value from this function.