IAnchorManager Interface

Definition

Create and persist a network of anchors around the camera as it moves around, and feed them into the plugin.

public interface IAnchorManager : IDisposable
type IAnchorManager = interface
    interface IDisposable
Public Interface IAnchorManager
Implements IDisposable
Derived
Implements

Properties

AnchorFromSpongy

Get the transform from spongy space to the space anchors are located in.

ErrorStatus

Error string for last error, cleared at beginning of each update.

MaxAnchorEdgeLength

Maximum distance between two anchors to create an edge between them.

MaxLocalAnchors

Maximum number of local anchors in the internal anchor graph.

MinNewAnchorDistance

Minimum distance of head to nearest anchor to create a new anchor.

NumAnchors

Return the current number of spongy anchors.

NumEdges

The number of edges connecting spongy anchors.

SupportsPersistence

Whether the underlying anchors can be locally persisted and reloaded.

Methods

LoadAnchors()

Load the spongy anchors from persistent storage

Reset()

Delete all spongy anchor objects and reset internal state

SaveAnchors()

Save the spongy anchors to persistent storage

Update()

Create any needed anchors/edges and update plugin

Applies to