get_ground_plane_info

omni.kit.viewport.utility.get_ground_plane_info(viewport, ortho_special: bool = True) Tuple[Vec3d, List[str]]

For a given Viewport returns a tuple representing the ground plane.

@param viewport: ViewportAPI to use for ground plane info @param ortho_special: bool Use an alternate ground plane for orthographic cameras that are looking down a single axis @return: A tuple of type (normal: Gf.Vec3d, planes: List[str]), where planes is a list of axis’ occupied (x, y, z)