Udostępnij za pośrednictwem


HolographicViewConfiguration Class

Definition

Represents a view configuration for a HolographicDisplay. This object provides apps with fine-grained control of the rendering configuration for a HolographicCamera.

public ref class HolographicViewConfiguration sealed
/// [Windows.Foundation.Metadata.ContractVersion(Windows.Foundation.UniversalApiContract, 524288)]
/// [Windows.Foundation.Metadata.MarshalingBehavior(Windows.Foundation.Metadata.MarshalingType.Agile)]
class HolographicViewConfiguration final
[Windows.Foundation.Metadata.ContractVersion(typeof(Windows.Foundation.UniversalApiContract), 524288)]
[Windows.Foundation.Metadata.MarshalingBehavior(Windows.Foundation.Metadata.MarshalingType.Agile)]
public sealed class HolographicViewConfiguration
Public NotInheritable Class HolographicViewConfiguration
Inheritance
Object Platform::Object IInspectable HolographicViewConfiguration
Attributes

Windows requirements

Device family
Windows 10, version 1903 (introduced in 10.0.18362.0)
API contract
Windows.Foundation.UniversalApiContract (introduced in v8.0)

Remarks

This class facilitates render target size and pixel format configuration for a HolographicCamera. This class also facilitates holographic rendering from alternate points of view, such as the built-in photo/video camera for mixed reality capture. See TryGetViewConfiguration for more info.

Properties

Display

Gets the HolographicDisplay which this HolographicViewConfiguration is for.

IsEnabled

Gets or sets whether this HolographicViewConfiguration is enabled.

IsStereo

Gets whether this HolographicViewConfiguration is stereoscopic.

Kind

Gets the kind of rendering this HolographicViewConfiguration is for.

NativeRenderTargetSize

Gets the native render target size for this HolographicViewConfiguration.

PixelFormat

Gets or sets the pixel format of this HolographicViewConfiguration.

RefreshRate

Gets the refresh rate for this HolographicViewConfiguration.

RenderTargetSize

Gets the render target size for this HolographicViewConfiguration.

SupportedDepthReprojectionMethods

Gets the list of depth reprojection modes which are supported for this HolographicViewConfiguration.

SupportedPixelFormats

Gets a list of the supported pixel formats for this HolographicViewConfiguration.

Methods

RequestRenderTargetSize(Size)

Requests a new minimum render target size for this HolographicViewConfiguration.

Applies to

See also