Delen via


HolographicDisplay Class

Definition

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

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

Windows requirements

Device family
Windows 10 Creators Update (introduced in 10.0.15063.0)
API contract
Windows.Foundation.UniversalApiContract (introduced in v4.0)

Remarks

Version history

Windows version SDK version Value added
1709 16299 RefreshRate
1903 18362 TryGetViewConfiguration

Properties

AdapterId

Gets the identifier of the graphics adapter to be used when displaying holographic content to this HolographicDisplay.

DisplayName

Gets a friendly name for this display that can be displayed to the user.

IsOpaque

Gets whether this display is occluded, blocking the user's view of the physical world around them.

IsStereo

Gets whether this display requires separate rendering for the left and right eyes.

MaxViewportSize

Gets the maximum viewport size that an app will ever be asked to render to for this display.

RefreshRate

Gets the refresh rate at which an app must present content to this holographic display.

SpatialLocator

Gets a spatial locator that can be used to create frames of reference relative to this display.

Methods

GetDefault()

Gets the default display that represents the user's primary Mixed Reality headset.

TryGetViewConfiguration(HolographicViewConfigurationKind)

Attempts to retrieve the view configuration for this HolographicDisplay, which corresponds to the supplied HolographicViewConfigurationKind.

Applies to