RenderPlacement

interface RenderPlacement
placement.ts:55

Members

angularRadiusreadonly

angularRadius: number

Angular radius as seen from the eye, radians.

compressedreadonly

compressed: boolean

True when the position is compressed and depth is no longer metric.

compressionreadonly

compression: number

How much smaller than life the object is drawn. 1 in the near field.

scale is the drawn radius and is what a unit sphere wants; anything with its own metric geometry wants this instead. Terrain is the case: a patch's vertices are true meters from the patch's anchor, and multiplying them by a radius rather than by a ratio puts them 10^12 m away.

distancereadonly

distance: number

True distance from the eye, meters — never the compressed one.

positionreadonly

position: Vec3

Position in render space, meters, possibly compressed.

scalereadonly

scale: number

Multiplier for unit-radius geometry — the drawn radius, in meters.

tierreadonly

tier: LodTier