SysSpatialStageManager.SetAndSaveNewStageAsync 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.
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.
Returns
An operation that triggers when the update is complete.
- Attributes