Join us online - 19th of November
Save your spot
For AI agents: a documentation index is available at /llms.txt. Markdown versions of all pages are available by appending .md to any URL.

Interface ModelAnnotationPosition

Position of an annotation in MODEL space: relative to the SplatModel's bounding box, so the annotation sticks to its spot on the model and follows it wherever it goes (moved, dragged, rotated or scaled).

  • x and z are normalized to the bounding box: 0 is its center and -1 / 1 are its faces, so e.g. { x: 1, z: -1 } is one of its corners. Values outside of [-1, 1] place the annotation outside of the box.
  • y is optional, see AnnotationPosition for how high the annotation sits.
interface ModelAnnotationPosition {
    x: number;
    y?: number;
    z: number;
}
Index
x y? z
x: number
y?: number
z: number
Was this helpful?