Udostępnij za pośrednictwem


HolographicSpaceUserPresence Enum

Definition

Represents whether the user is present within the headset to view and interact with a particular HolographicSpace.

public enum class HolographicSpaceUserPresence
/// [Windows.Foundation.Metadata.ContractVersion(Windows.Foundation.UniversalApiContract, 393216)]
enum class HolographicSpaceUserPresence
[Windows.Foundation.Metadata.ContractVersion(typeof(Windows.Foundation.UniversalApiContract), 393216)]
public enum HolographicSpaceUserPresence
var value = Windows.Graphics.Holographic.HolographicSpaceUserPresence.absent
Public Enum HolographicSpaceUserPresence
Inheritance
HolographicSpaceUserPresence
Attributes

Windows requirements

Device family
Windows 10, version 1803 (introduced in 10.0.17134.0)
API contract
Windows.Foundation.UniversalApiContract (introduced in v6.0)

Fields

Name Value Description
Absent 0

This HolographicSpace is not visible in the headset or the user is not wearing the headset.

The app may wish to pause and stop rendering to release system resources for use by other apps.

PresentPassive 1

This HolographicSpace is visible in the headset and the user is wearing the headset, but a modal dialog is taking all input from the app.

The app should continue rendering, but may wish to pause its simulation.

PresentActive 2

This HolographicSpace is visible in the headset, the user is wearing the headset, and input is being routed to the app.

The app should render and run its simulation as normal.

Applies to

See also