import {PointerCircle} from '@xeokit/xeokit-sdk/src/extras/PointerCircle/PointerCircle.js'
PointerCircle
A PointerCircle shows a circle, centered at the position of the mouse or touch pointer.
Constructor Summary
Public Constructor | ||
public |
constructor(viewer: *, cfg: *) Constructs a new PointerCircle. |
Member Summary
Public Members | ||
public set |
durationMs(durationMs: *) Sets the zoom factor for the lens. |
|
public get |
durationMs: *: * Gets the zoom factor for the lens. |
|
public |
scene: * |
|
public |
viewer: * |
Method Summary
Public Methods | ||
public |
destroy() Destroys this PointerCircle. |
|
public |
start(circlePos: *) Show the circle at the given canvas coordinates and begin shrinking it. |
|
public |
stop() Stop the shricking circle and hide it. |
Public Constructors
public constructor(viewer: *, cfg: *) source
Constructs a new PointerCircle.
Params:
Name | Type | Attribute | Description |
viewer | * | The Viewer |
|
cfg | * |
|
PointerCircle configuration. |
cfg.active | * |
|
Whether PointerCircle is active. The PointerCircle can only be shown when this is |