SysSpatialStageManager.SetAndSaveNewStageAsync Method

Definition

Saves a stage with a new anchor and bounds and sets it as the current stage.

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 ^ SetAndSaveNewStageAsync(SpatialAnchor ^ stageAnchor, Platform::Array <float2> ^ bounds) = SetAndSaveNewStageAsync;
/// [Windows.Foundation.Metadata.RemoteAsync]
IAsyncAction SetAndSaveNewStageAsync(SpatialAnchor const& stageAnchor, winrt::array_view <float2> const& bounds);
[Windows.Foundation.Metadata.RemoteAsync]
public IAsyncAction SetAndSaveNewStageAsync(SpatialAnchor stageAnchor, Vector2[] bounds);
function setAndSaveNewStageAsync(stageAnchor, bounds)
Public Function SetAndSaveNewStageAsync (stageAnchor As SpatialAnchor, bounds As Vector2()) As IAsyncAction

Parameters

stageAnchor
SpatialAnchor

The stage's anchor.

bounds

Vector2[]

Vector2[]

float2[]

The bounds.

Returns

An operation that triggers when the update is complete.

Attributes

Applies to