Share via


HolographicSpace.CreateForCoreWindow(CoreWindow) Method

Definition

Creates a HolographicSpace that corresponds with the specified window's CoreApplicationView.

public:
 static HolographicSpace ^ CreateForCoreWindow(CoreWindow ^ window);
 static HolographicSpace CreateForCoreWindow(CoreWindow const& window);
public static HolographicSpace CreateForCoreWindow(CoreWindow window);
function createForCoreWindow(window)
Public Shared Function CreateForCoreWindow (window As CoreWindow) As HolographicSpace

Parameters

window
CoreWindow

The window to create a HolographicSpace for.

Returns

The HolographicSpace.

Remarks

Calling this method permanently assigns the CoreApplicationView to be holographic. You may no longer call IDXGIFactory2::CreateSwapChainForCoreWindow after calling this method, or vice versa.

Applies to