Files
adriadri6972 d3d9c5f833 upload project
2025-07-31 15:21:08 +02:00

1.6 KiB

uid
uid
arfoundation-samples-point-clouds

Point clouds sample

The All Point Clouds sample demonstrates AR Foundation Point clouds functionality. You can open this sample in Unity from the Assets/Scenes/PointClouds folder.

[!include]

Point clouds scene

This sample shows all feature points over time, not just the current frame's feature points. This is unlike the AR Default Point Cloud prefab, which shows just the feature points from the current frame.

The sample uses a slightly modified version of the ARPointCloudParticleVisualizer component that stores all the feature points in a dictionary. As each feature point has a unique identifier, it can look up the stored point and update its position in the dictionary if it already exists. This is a useful starting point for custom solutions that require the entire map of point cloud points, for example for custom mesh reconstruction techniques.

UI components

This sample has two UI components:

Component Location Description
Button Lower left Swap between visualizing All points and just those in the Current Frame.
Text Upper right Displays the number of points in each point cloud.

[!include]