Skip to content

Function: exportSurfaceAnchors() ​

ts
function exportSurfaceAnchors(
   domain, 
   anchors, 
   metadata?
): Promise<SerializedSurfaceAnchors>;

Defined in: geometry/SurfaceLocation.ts:103

Separate artifact: does not change portable scene schemas or silently round to vertices.

Parameters ​

domain ​

SurfaceDomain

anchors ​

readonly SurfaceAnchor[]

metadata? ​

readonly unknown[] = ...

Returns ​

Promise<SerializedSurfaceAnchors>

Released under the MIT License.