Interface: PointSource2D
Experimental
A 2D point set the CPU picker can index. Coordinates live in the source's own space and map to the view's world space (2D: CSS px from the viewport rect's bottom-left) through world = v * scale + offset per axis.
Extended by
Properties
Methods
readPositions()
ts
readPositions(xs, ys): void;Experimental
Write source-space coordinates of points [0, count) into xs/ys; NaN for gaps.
Parameters
| Parameter | Type |
|---|---|
xs | Float64Array |
ys | Float64Array |
Returns
void