Skip to main content

with_point_cloud

Function with_point_cloud 

Source
pub fn with_point_cloud<F, R>(name: &str, f: F) -> Option<R>
where F: FnOnce(&mut PointCloud) -> R,
Expand description

Executes a closure with mutable access to a registered point cloud.

Returns None if the point cloud does not exist.