[][src]Function opencv::ovis::create_plane_mesh

pub fn create_plane_mesh(
    name: &str,
    size: Size2f,
    image: &dyn ToInputArray
) -> Result<()>

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

C++ default parameters

  • image: noArray()