import { ContextManager, Event, Observable } from '@zcomponent/core'; import { Group } from '@zcomponent/three/lib/components/Group'; /** * The position of content placed in this group can be chosen by the user. * * @zcomponent * @zicon open_with * @zgroup AR * @ztag three/Object3D/Group/PlacementGroup * @zparents three/Object3D/Group/** */ export declare class WorldPlacementGroup extends Group { /** @zui */ onVisible: Event<[]>; /** @zui */ onPlaced: Event<[]>; /** * When `true` at runtime, the position of the contents of this component will be reset every frame to a point directly in front of the camera. * * @zui * @zdefault false * @zgroup WorldPlacementGroup * @zgrouppriority 20 */ isPlacing: Observable; /** * By default, with this parameter `false` the scale of the contents of this component is that of the parent component. If set to `true`, this component will adjust the scale based on the height of the camera above the origin. * * @zui * @zdefault false * @zgroup WorldPlacementGroup * @zgrouppriority 20 */ normalizeScale: Observable; /** * While placing, the group will be rotated so the positive `z` axis points towards the camera. * * @zui * @zdefault true * @zgroup WorldPlacementGroup * @zgrouppriority 20 */ faceCamera: Observable; /** * A layer clip that will be played when the component is in placement mode (i.e. `isPlacing` is set to `true`). * * @zui * @zgroup Animation * @zgrouppriority 10 * @zdefault false * @zvalues layerclipids */ placingLayerClip: Observable; /** * A layer clip that will be played when the component is not in placement mode (i.e. `isPlacing` is set to `false`). * * @zui * @zgroup Animation * @zgrouppriority 10 * @zdefault false * @zvalues layerclipids */ notPlacingLayerClip: Observable; private _innerGroup; constructor(contextManager: ContextManager, constructorProps: {}); private _groundPlaneIntersection; private _frame; }