HolographicCamera HolographicCamera HolographicCamera HolographicCamera HolographicCamera Class

Definition

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

public : sealed class HolographicCamera
struct winrt::Windows::Graphics::Holographic::HolographicCamera
public sealed class HolographicCamera
Public NotInheritable Class HolographicCamera
// This class does not provide a public constructor.
Attributes

Windows 10 requirements

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

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 CanOverrideViewport CanOverrideViewport CanOverrideViewport CanOverrideViewport

Gets whether the display supports overriding the viewport rectangles.

Display Display Display Display Display

Gets metadata about the display represented by this HolographicCamera.

Id Id Id Id Id

Gets the unique identifier for the HolographicCamera.

IsHardwareContentProtectionEnabled IsHardwareContentProtectionEnabled IsHardwareContentProtectionEnabled IsHardwareContentProtectionEnabled IsHardwareContentProtectionEnabled

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

IsHardwareContentProtectionSupported IsHardwareContentProtectionSupported IsHardwareContentProtectionSupported IsHardwareContentProtectionSupported IsHardwareContentProtectionSupported

Gets whether hardware content protection is supported for this HolographicCamera.

IsPrimaryLayerEnabled IsPrimaryLayerEnabled IsPrimaryLayerEnabled IsPrimaryLayerEnabled IsPrimaryLayerEnabled

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

IsStereo IsStereo IsStereo IsStereo IsStereo

Gets whether the current display is stereo rather than mono.

LeftViewportParameters LeftViewportParameters LeftViewportParameters LeftViewportParameters LeftViewportParameters

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

MaxQuadLayerCount MaxQuadLayerCount MaxQuadLayerCount MaxQuadLayerCount MaxQuadLayerCount

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

QuadLayers QuadLayers QuadLayers QuadLayers QuadLayers

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

RenderTargetSize RenderTargetSize RenderTargetSize RenderTargetSize RenderTargetSize

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

RightViewportParameters RightViewportParameters RightViewportParameters RightViewportParameters RightViewportParameters

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

ViewConfiguration ViewConfiguration ViewConfiguration ViewConfiguration ViewConfiguration

Gets the HolographicViewConfiguration that this HolographicCamera provides rendering for.

ViewportScaleFactor ViewportScaleFactor ViewportScaleFactor ViewportScaleFactor ViewportScaleFactor

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

Methods

SetFarPlaneDistance(Double) SetFarPlaneDistance(Double) SetFarPlaneDistance(Double) SetFarPlaneDistance(Double) 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) SetNearPlaneDistance(Double) SetNearPlaneDistance(Double) SetNearPlaneDistance(Double) SetNearPlaneDistance(Double)

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

See also