Contains data for a single PointCloudNode.

interface PointCloudNodeData {
    attributes: (undefined | BufferAttribute)[];
    localBoundingBox?: Box3;
    origin: Vector3;
    pointCount?: number;
    position?: BufferAttribute;
    scale?: Vector3;
}

Properties

attributes: (undefined | BufferAttribute)[]

The optionally requested attribute buffers (color, classification, etc).

localBoundingBox?: Box3

The local bounding box of this node's point cloud. If undefined, the volume of the node will be used instead. Might be undefined if position buffer was not required by the caller.

origin: Vector3

The origin of the position buffer.

pointCount?: number

The number of points in the buffers. Might be undefined if position buffer was not required by the caller.

position?: BufferAttribute

The position buffer. Might be undefined if position buffer was not required by the caller.

scale?: Vector3

The optional scale to apply to the resulting mesh.