Skip to main content
Version: 31 Aug 2023

Plane Detection

Magic Leap 2 tries to understand its environment using feature points and planes.

If a cluster of feature points appears to lie on common horizontal or vertical surfaces, Magic Leap labels this cluster as a geometric plane and classifies it as being a floor, wall, or ceiling.

Each detected plane contains information about its alignment, center position, size, and extents. This information can be useful for placing virtual objects that rest on flat surfaces.


This feature requires the WORLD_RECONSTRUCTION permission to be enabled in your project's Manifest Settings. (Edit > Project Settings > Magic Leap > Manifest Settings)


Because the Magic Leap 2 uses feature points to detect planes, flat surfaces without texture, such as a white wall, may not be detected properly.

See also