Skip to main content

Interface: AnchorRecord

Defined in: src/world/anchors/AnchorTypes.ts:31

A saved anchor, as written to storage.

Properties

createdAt

createdAt: number

Defined in: src/world/anchors/AnchorTypes.ts:37

Epoch milliseconds when the handle was saved; used for eviction order.


label

label: string

Defined in: src/world/anchors/AnchorTypes.ts:35

Caller-supplied label, so restored anchors can be matched to content.


pose?

optional pose: StorablePose

Defined in: src/world/anchors/AnchorTypes.ts:42

Pose to rebuild from, present only for simulated anchors. Real anchors are re-localised by the platform, so storing a pose for them would be wrong.


uuid

uuid: string

Defined in: src/world/anchors/AnchorTypes.ts:33

Platform-issued persistent handle, opaque to us.