SDK JS
    Preparing search index...

    Interface ResolvedModelPlacement

    A ModelPlacement with every field resolved to its effective value, plus the auto-centering results — the full placement state a tuning UI needs.

    interface ResolvedModelPlacement {
        anchorPoint: AnchorPoint;
        bounds: LocalBounds | null;
        center: readonly [number, number, number] | null;
        heading: number;
        pitch: number;
        rawBasis: boolean;
        roll: number;
        scale: number | readonly [number, number, number];
        upAxis: UpAxis;
    }

    Hierarchy

    • Required<ModelPlacement>
      • ResolvedModelPlacement
    Index

    Properties

    anchorPoint: AnchorPoint

    Which local point sits at the anchor (AnchorPoint: top/middle/bottom, origin, or an explicit point). Default 'center'.

    bounds: LocalBounds | null

    The model's source-space AABB accumulated from the decoded tiles, or null before decode completes.

    center: readonly [number, number, number] | null

    The resolved source-space anchor point (the point pinned to the GeoAnchor), or null while bounds-dependent anchoring awaits decode (or in raw-basis mode). Read it once a capture looks right and bake it back as a tuple anchorPoint for a deterministic production placement.

    heading: number

    Heading in degrees clockwise from north viewed from above (0 = the model's local +y faces north). Same semantics as GeodeticInstance.heading. Default 0.

    pitch: number

    Pitch in degrees about the model's local x axis (east at heading 0) — positive tips the +y (north-facing) side up. A leveling aid for off-level captures. Default 0.

    rawBasis: boolean

    true while a deprecated setBasis raw matrix is in force. The friendly fields above are then the values a setPlacement call WOULD start from, not a description of what is on screen — the raw basis overrides them wholesale. Touching any of them drops the raw basis and re-places the model. A tuning UI should say so, or stay out of the way.

    roll: number

    Roll in degrees about the model's local y axis (north at heading 0) — positive lowers the +x (east-facing) side. A leveling aid for off-level captures. Default 0.

    scale: number | readonly [number, number, number]

    Unitless scale: uniform number or per-axis [x, y, z] in the UP-FIXED frame (z = height, regardless of ModelPlacement.upAxis). Same shape as GeodeticInstance.scale. Default 1.

    upAxis: UpAxis

    Up axis of the source asset (UpAxis). Default 'z' (layers may document a format-specific default).