Share via


IPublisher.CreateLocalPeg(String, Pose) Method

Definition

Create a local position holder blob.

public System.Threading.Tasks.Task<Microsoft.MixedReality.WorldLocking.ASA.ILocalPeg> CreateLocalPeg (string id, UnityEngine.Pose lockedPose);
abstract member CreateLocalPeg : string * UnityEngine.Pose -> System.Threading.Tasks.Task<Microsoft.MixedReality.WorldLocking.ASA.ILocalPeg>
Public Function CreateLocalPeg (id As String, lockedPose As Pose) As Task(Of ILocalPeg)

Parameters

id
String

Unique name to give the local peg.

lockedPose
UnityEngine.Pose

The position in WLT.LockedSpace to capture

Returns

Awaitable created blob.

Remarks

This can be called anytime, regardless of the ReadinessStatus. See ILocalPeg for more details.

Applies to