HolographicCamera Class

Definition

Provides per-frame rendering functionality for a HolographicViewConfiguration on a HolographicDisplay.

public ref class HolographicCamera sealed
/// [Windows.Foundation.Metadata.ContractVersion(Windows.Foundation.UniversalApiContract, 131072)]
/// [Windows.Foundation.Metadata.MarshalingBehavior(Windows.Foundation.Metadata.MarshalingType.Agile)]
/// [Windows.Foundation.Metadata.Threading(Windows.Foundation.Metadata.ThreadingModel.Both)]
class HolographicCamera sealed
[Windows.Foundation.Metadata.ContractVersion(typeof(Windows.Foundation.UniversalApiContract), 131072)]
[Windows.Foundation.Metadata.MarshalingBehavior(Windows.Foundation.Metadata.MarshalingType.Agile)]
[Windows.Foundation.Metadata.Threading(Windows.Foundation.Metadata.ThreadingModel.Both)]
public sealed class HolographicCamera
Public NotInheritable Class HolographicCamera
Inheritance
HolographicCamera
Attributes

Windows 10 requirements

Device family
Windows 10 (introduced in 10.0.10586.0 - for Xbox, see UWP features that aren't yet supported on Xbox)
API contract
Windows.Foundation.UniversalApiContract (introduced in v2.0)

Remarks

An app renders to the back buffer for at least one HolographicCamera before presenting each HolographicFrame.

Version history

Windows version SDK version Value added
1703 15063 Display
1703 15063 LeftViewportParameters
1703 15063 RightViewportParameters
1709 16299 IsPrimaryLayerEnabled
1709 16299 MaxQuadLayerCount
1709 16299 QuadLayers
1803 17134 CanOverrideViewport
1809 17763 IsHardwareContentProtectionEnabled
1809 17763 IsHardwareContentProtectionSupported
1903 18362 ViewConfiguration

Properties

CanOverrideViewport

Gets whether the display supports overriding the viewport rectangles.

Display

Gets metadata about the display represented by this HolographicCamera.

Id

Gets the unique identifier for the HolographicCamera.

IsHardwareContentProtectionEnabled

Gets or sets whether this HolographicCamera will produce hardware-protected back buffers for the primary layer.

IsHardwareContentProtectionSupported

Gets whether hardware content protection is supported for this HolographicCamera.

IsPrimaryLayerEnabled

Gets or sets whether this camera should display the primary back buffer filled by the app.

IsStereo

Gets whether the current display is stereo rather than mono.

LeftViewportParameters

Gets rendering parameters related to display's left-eye viewport.

MaxQuadLayerCount

Gets the maximum number of quad layers supported by the current system.

QuadLayers

Gets the mutable list of quad layers to display on top of this camera's primary back buffer.

RenderTargetSize

Gets the dimensions in pixels of the back buffers allocated for this camera.

RightViewportParameters

Gets rendering parameters related to display's right-eye viewport.

ViewConfiguration

Gets the HolographicViewConfiguration that this HolographicCamera provides rendering for.

ViewportScaleFactor

Gets or sets the scale factor to apply to the default viewport size.

Methods

SetFarPlaneDistance(Double)

Sets the distance, along the z-axis, from the origin of view space to the far plane of the view frustum.

SetNearPlaneDistance(Double)

Sets the distance, along the z-axis, from the origin of view space to the near plane of the view frustum.

Applies to

See also