Dela via


IAttachmentPointManager.ReleaseAttachmentPoint(IAttachmentPoint) Method

Definition

Release an attachment point for disposal. The attachment point is no longer valid after this call. This also un-registers the handlers (if any) given when it was created.

public void ReleaseAttachmentPoint (Microsoft.MixedReality.WorldLocking.Core.IAttachmentPoint attachPointIface);
abstract member ReleaseAttachmentPoint : Microsoft.MixedReality.WorldLocking.Core.IAttachmentPoint -> unit
Public Sub ReleaseAttachmentPoint (attachPointIface As IAttachmentPoint)

Parameters

attachPointIface
IAttachmentPoint

The attachment point to release.

Remarks

In the unlikely circumstance that another attachment point has been spawned from this one but has not yet been processed (is still in the pending queue), that relationship is broken on release of this one, and when the other attachment point is finally processed, it will be as if it was created with a null context.

Applies to