SurfaceStance

interface SurfaceStance

Where a viewer stands on a body, and which way they are facing.

surfaceStance.ts:31

Members

headingreadonly

heading: number

Compass heading: 0 is north, increasing toward east.

heightreadonly

height: number

Height above the ground below the stance, meters — not above the datum.

A height above the datum would put the camera underground on any peak and a kilometer up in any basin, which is the one thing a control called "altitude" must never do. What the ground is at this latitude and longitude is a terrain sample, so it is supplied by the caller rather than solved here: packages/rendering cannot reach surfaceRadius.

latitudereadonly

latitude: number

longitudereadonly

longitude: number

East-positive, matching geodeticDirection.

pitchreadonly

pitch: number

Above the horizon. Negative looks down; clamped short of straight up.