SpatialEnvironment.PassthroughMode.Companion


public static class SpatialEnvironment.PassthroughMode.Companion


Summary

Public methods

static final @NonNull SpatialEnvironment.PassthroughMode

This method is deprecated. Use isSpatialEnvironmentPreferenceActive() instead.

static final @NonNull SpatialEnvironment.PassthroughMode

This method is deprecated. Use isSpatialEnvironmentPreferenceActive() instead.

static final @NonNull SpatialEnvironment.PassthroughMode

This method is deprecated. Use isSpatialEnvironmentPreferenceActive() instead.

Public methods

getDisabled

public static final @NonNull SpatialEnvironment.PassthroughMode getDisabled()

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

getEnabled

public static final @NonNull SpatialEnvironment.PassthroughMode getEnabled()

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

getUninitialized

public static final @NonNull SpatialEnvironment.PassthroughMode getUninitialized()

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