For AI agents: a documentation index is available at /llms.txt. Markdown versions of all pages are available by appending .md to any URL.

Type Alias PointProjection

The result of projecting a point to the screen, with some additional information about the projection.

type PointProjection = {
    isOccluded: boolean;
    point: Point;
    signedDistanceFromCamera: number;
}
Index

Properties

isOccluded: boolean

For complex projections (such as globe), true if the point is occluded by the projection, such as by being on the backfacing side of the globe. If the point is simply beyond the edge of the screen, this should NOT be set to false.

point: Point

The projected point.

signedDistanceFromCamera: number

The original W component of the projection.

Was this helpful?