Share via


HolographicDisplay.GetDefault Method

Definition

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

public:
 static HolographicDisplay ^ GetDefault();
 static HolographicDisplay GetDefault();
public static HolographicDisplay GetDefault();
function getDefault()
Public Shared Function GetDefault () As HolographicDisplay

Returns

The default display.

Remarks

This will be null when HolographicSpace.IsAvailable is false, representing a Desktop which does not have a headset attached.

Applies to