SpatialEnvironment.PassthroughMode


public final class SpatialEnvironment.PassthroughMode


Describes if/how the User can view their real-world physical environment.

Summary

Public fields

final @NonNull SpatialEnvironment.PassthroughMode

The user's passthrough is not composed into their view.

final @NonNull SpatialEnvironment.PassthroughMode

The user's passthrough is visible at full or partial opacity.

final @NonNull SpatialEnvironment.PassthroughMode

The state at startup.

Public methods

final int

Public fields

Disabled

public final @NonNull SpatialEnvironment.PassthroughMode Disabled

The user's passthrough is not composed into their view. Environment skyboxes and geometry are only visible in this state.

Enabled

public final @NonNull SpatialEnvironment.PassthroughMode Enabled

The user's passthrough is visible at full or partial opacity.

Uninitialized

public final @NonNull SpatialEnvironment.PassthroughMode Uninitialized

The state at startup. The application cannot set this state. No longer used.

Public methods

getValue

Added in 1.0.0-alpha01
Deprecated in 1.0.0-alpha01
public final int getValue()