Taos API Reference
    Preparing search index...

    Interface AnchorPlacement

    interface AnchorPlacement {
        lonDeg: number;
        latDeg: number;
        height: number;
        scale: number;
        headingDeg?: number;
        bodyCenter?: Vec3d;
        ellipsoid?: { a: number; b: number };
    }
    Index

    Properties

    lonDeg: number
    latDeg: number
    height: number

    Height above the ellipsoid, meters.

    scale: number

    Uniform scale applied to the model.

    headingDeg?: number

    Rotation about local up, degrees (0 = model faces north).

    bodyCenter?: Vec3d

    Center of the body the placement is on, in universe ECEF. Defaults to the origin (Earth). Pass the Moon's universe position to plant on the Moon — both the position and the local up are then computed about THIS center, so the model stands radially on the Moon's surface instead of leaning toward Earth.

    ellipsoid?: { a: number; b: number }

    Ellipsoid radii of the body, meters. Defaults to the WGS84 (Earth) ellipsoid; pass the Moon's sphere (a == b == 1,737,400) to plant on the Moon. For a sphere the local up reduces to the exact radial normal.