Share via


SpacePinBinder Class

Definition

Implementation of the IBinder interface, managing the relationship between space pins and cloud anchors.

[UnityEngine.RequireComponent(typeof(Microsoft.MixedReality.WorldLocking.ASA.PublisherASA))]
public class SpacePinBinder : UnityEngine.MonoBehaviour, Microsoft.MixedReality.WorldLocking.ASA.IBinder
[<UnityEngine.RequireComponent(typeof(Microsoft.MixedReality.WorldLocking.ASA.PublisherASA))>]
type SpacePinBinder = class
    inherit MonoBehaviour
    interface IBinder
Public Class SpacePinBinder
Inherits MonoBehaviour
Implements IBinder
Inheritance
UnityEngine.MonoBehaviour
SpacePinBinder
Attributes
UnityEngine.RequireComponentAttribute
Implements

Constructors

SpacePinBinder()

Fields

SpacePinIdKey

The key for the key-value pair in the space pin/cloud anchor properties identifying the space pin id in the value.

Properties

IsReady

If the binder is ready to execute tasks.

Name

The name of this binder.

PublisherStatus

The current status of the publisher.

SearchRadius

Distance (roughly) to search from device when looking for cloud anchors using coarse relocation.

SpacePins

Methods

AddSpacePin(SpacePinASA)

Add a space pin to the list of managed pins.

Clear()

Delete all known (bound) cloud anchors from the cloud, and erase their bindings.

CreateBinding(String, String)

Set the cloud anchor id associated with this space pin.

Download()

Pull down cloud anchors for all known bindings, and apply them to the bound space pins.

GetBindings()

Known bindings between space pins and cloud anchors.

Publish()

Publish all active space pins to the cloud.

Publish(SpacePinASA)

Publish the spacePin.

Purge()

Find all cloud anchors in the area, delete them, and release their bindings.

RemoveBinding(String)

Erase a binding between a space pin and its corresponding cloud anchor.

RemoveSpacePin(String)

Remove the space pin binding associated with this SpacePin.

Search()

Search for cloud anchors in the area, download them, and apply to associated space pins.

UnPin()

Applies to