PointCloud.paint#
- PointCloud.paint(color: Any) PointCloud[source][source]#
Colorize point cloud
- Parameters:
color (array_like(3), str) – color for points, either an RGB value in the range [0, 1] or the name of a color, such as
"red"or"skyblue"- Returns:
colorized point cloud
- Return type:
- Raises:
ValueError –
coloris a string that is not a known color name
Paint all points in the point cloud this color.
Changed in version 2.5.0:
colorcan be a color name, which is converted byname2color.See also