Share via


ILocalPeg Interface

Definition

A data blob with enough information to be saved to the cloud and reconstructed from the cloud in a later session or on a different device.

public interface ILocalPeg
type ILocalPeg = interface
Public Interface ILocalPeg

Remarks

In a better world, this construct would be hidden in the internals of the IPublisher interface. Unfortunately, the IPublisher doesn't know when the best time to create a local peg is, and so has to leave that to the application. See CreateLocalPeg(String, Pose). In general, a local peg will be of better quality if it is created when the tracker is near the local peg's location, and the area has been adequately scanned.

Properties

GlobalPose

The current global pose for the blob.

IsReadyForPublish

Is there enough information to publish this anchor to the cloud?

Name

The name for this peg.

Applies to