Skip to main content

Interface: WorldAnchor

Defined in: webxr-environment/src/world-sensing.ts:135

A point in the real world the runtime promises to keep track of.

tracked goes false when the runtime loses it - after a headset takeoff, or when the player walks into another room. Content parented to a lost anchor should stop pretending it is in the right place.

Properties

PropertyModifierTypeDefined in
idreadonlystringwebxr-environment/src/world-sensing.ts:136
posereadonlyWorldPosewebxr-environment/src/world-sensing.ts:137
trackedreadonlybooleanwebxr-environment/src/world-sensing.ts:138