Skip to main content
←API Reference ←NianticSpatial.NSDK.AR.NavigationMesh ←Utils

FastFitPlane

Fits a plane to best align with the specified set of points.

Declaration​

public static void FastFitPlane(Vector3[] points, out Vector3 position, out Vector3 normal)

Summary​

Fits a plane to best align with the specified set of points.

Parameters​

NameTypeSummary
pointsVector3[]
-
positionVector3
-
normalVector3
-