import * as THREE from 'three'; import { ContextManager, Observable } from '@zcomponent/core'; import { StaticGroup } from '../StaticObject3D'; import * as Zappar from '@zappar/zappar'; /** * The Instant World Tracker node lets you track 3D content to a point chosen by the user in the room or immediate environment around them. * With this tracking type you could build a 3D model viewer that lets users walk around to view the model from different angles, * or an experience that places an animated character in their room. * @zcomponent * @zgroup AR * @zicon travel_explore * @zlabel three/Object3D/Group/Zappar/InstantTracker * @ztag three/Object3D/Group/Zappar/InstantTracker * @ztag three/Object3D/Group/Zappar/Anchor * @zparents three/Object3D/Group/Group */ export declare class InstantWorldTracker extends StaticGroup { private context; /** * Toggles the placement mode of the tracker. * @zprop * @zgroup Tracker * @zgrouppriority 21 * @zdefault true */ placementMode: Observable; anchor: Zappar.InstantWorldAnchor; /** * Sets the point in the user's environment that the anchor tracks from. * * The parameters passed in to this function correspond to the X, Y and Z coordinates (in camera space) of the point to track. * Choosing a position with X and Y coordinates of zero, and a negative Z coordinate, * will select a point on a surface directly in front of the center of the screen. * * @zprop * @zgroup Tracker * @zgrouppriority 21 * @zdefault [0, 0, -5] */ cameraPreviewOffset: Observable<[number, number, number], never>; private _previewPlacementMesh; private _instantWorldTrackerContext; constructor(ctx: ContextManager, props: {}, parentForChildren?: THREE.Object3D); private _updateEnabled; private _frame; dispose(): never; } export declare class PlacementMesh extends THREE.Mesh { constructor(); dispose(): void; }