HolographicCamera.IsPrimaryLayerEnabled Property
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.
Gets or sets whether this camera should display the primary back buffer filled by the app.
public:
property bool IsPrimaryLayerEnabled { bool get(); void set(bool value); };
bool IsPrimaryLayerEnabled();
void IsPrimaryLayerEnabled(bool value);
public bool IsPrimaryLayerEnabled { get; set; }
var boolean = holographicCamera.isPrimaryLayerEnabled;
holographicCamera.isPrimaryLayerEnabled = boolean;
Public Property IsPrimaryLayerEnabled As Boolean
Property Value
bool
True, if the primary layer should be displayed; otherwise, false.
Windows requirements
Device family |
Windows 10 Fall Creators Update (introduced in 10.0.16299.0)
|
API contract |
Windows.Foundation.UniversalApiContract (introduced in v5.0)
|
Remarks
The primary layer displays the pixels that an app renders into the back buffer returned by HolographicCameraRenderingParameters. The primary layer appears behind any quad layers. If an app only intends to render quad layers, for example during a loading screen, it may disable the primary layer. When the primary layer is disabled, any pixels not covered by quad layers will remain black.