HolographicCamera HolographicCamera HolographicCamera HolographicCamera HolographicCamera Class

Definition

Provides rendering state for a display to which a holographic view must render each frame from that frame's pose.

public : sealed class HolographicCamera : IHolographicCamera, IHolographicCamera2, IHolographicCamera3, IHolographicCamera4, IHolographicCamera5
struct winrt::Windows::Graphics::Holographic::HolographicCamera : IHolographicCamera, IHolographicCamera2, IHolographicCamera3, IHolographicCamera4, IHolographicCamera5
public sealed class HolographicCamera : IHolographicCamera, IHolographicCamera2, IHolographicCamera3, IHolographicCamera4, IHolographicCamera5
Public NotInheritable Class HolographicCamera Implements IHolographicCamera, IHolographicCamera2, IHolographicCamera3, IHolographicCamera4, IHolographicCamera5
// 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 must render to each HolographicCamera before presenting each HolographicFrame.

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.

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