Scene.pointClouds¶
Summary¶
Scene.pointClouds returns all point cloud objects in the scene, including those not currently visible. Use this list for batch updates, selection integration, or point-data lifecycle management.
Syntax¶
Parameters¶
This property does not take parameters.
Returns¶
readonly PointCloud[] - Scene point cloud collection in insertion order.
Type Details¶
Example¶
const canvas = document.querySelector("canvas");
const wgpu = await WasmGPU.create(canvas);
const scene = wgpu.createScene();
scene.add(wgpu.createPointCloud({ pointCount: 0, scaleTransform: { mode: "linear", domainMin: 0, domainMax: 1 } }));
console.log(scene.pointClouds.length);