Constructor options for the PointCloud entity.

interface PointCloudOptions {
    cleanupDelay?: number;
    name?: string;
    object3d?: Object3D<Object3DEventMap>;
    source: PointCloudSource<PointCloudSourceEventMap>;
}

Hierarchy (view full)

Properties

cleanupDelay?: number

The delay, in milliseconds, before unused data is freed from memory. The longer the delay, the longer a node's data will be kept in memory, making it possible to display this node immediately when it becomes visible.

Conversely, reducing this value will free memory more often, leading to a reduced memory footprint.

5000
name?: string

The optional display name of this entity. Mostly used for debugging.

The root object of this entity. If none is provided, a new Group is created.

The point cloud source.