Share via


SysSpatialStageManager.UpdateStageAnchorAsync Method

Definition

Updates an existing stage with a new anchor.

Important

This API is available only to components of the Windows operating system. Calls to these APIs will fail at runtime for all other processes. These APIs may be modified or removed in future Windows releases.

public:
 virtual IAsyncAction ^ UpdateStageAnchorAsync(SpatialStageFrameOfReference ^ stage, SpatialAnchor ^ stageAnchor) = UpdateStageAnchorAsync;
/// [Windows.Foundation.Metadata.RemoteAsync]
IAsyncAction UpdateStageAnchorAsync(SpatialStageFrameOfReference const& stage, SpatialAnchor const& stageAnchor);
[Windows.Foundation.Metadata.RemoteAsync]
public IAsyncAction UpdateStageAnchorAsync(SpatialStageFrameOfReference stage, SpatialAnchor stageAnchor);
function updateStageAnchorAsync(stage, stageAnchor)
Public Function UpdateStageAnchorAsync (stage As SpatialStageFrameOfReference, stageAnchor As SpatialAnchor) As IAsyncAction

Parameters

stage
SpatialStageFrameOfReference

The stage.

stageAnchor
SpatialAnchor

The new anchor.

Returns

An operation that triggers when the update is complete.

Attributes

Applies to