PointCloud
The PointCloud component displays point cloud data directly from vertex and color arrays. This is ideal for:
- Real-time point cloud streaming from sensors (LiDAR, depth cameras)
- Visualizing 3D scan data
- Displaying particle systems
- Animating point cloud sequences
Basic Usage
A minimal example that creates a point cloud from numpy arrays:
Key Parameters
| Parameter | Type | Default | Description |
|---|---|---|---|
key | str | - | Unique identifier for the point cloud |
vertices | ndarray | - | Nx3 array of point positions |
colors | ndarray | - | Nx3 array of RGB colors. Supports two formats: Float32 (0-1 range), or Uint8 (0-255 range, better performance) |
size | float | 0.01 | Point size |
Learn More
For detailed examples of using PointCloud, see:
- Showing Point Clouds - Programmatic point cloud display
- Point Cloud Animation - Animating point cloud sequences