IPublisher.CreateLocalPeg(String, Pose) Method
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
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.