opencv::ovis

Function create_plane_mesh_def

Source
pub fn create_plane_mesh_def(name: &str, size: Size2f) -> Result<()>
Expand description

create a 2D plane, X right, Y down, Z up

creates a material with the same name

§Parameters

  • name: name of the mesh
  • size: size in world units
  • image: optional texture

§Note

This alternative version of create_plane_mesh function uses the following default values for its arguments:

  • image: noArray()