FakeXrExtensions.FakePassthroughVisibilityState


class FakeXrExtensions.FakePassthroughVisibilityState


A fake implementation of the XR extensions EnvironmentVisibilityState.

Summary

Public constructors

Public functions

Int

Returns the current passthrough visibility state

Public properties

Float

Public constructors

FakePassthroughVisibilityState

Added in 1.0.0-alpha01
FakePassthroughVisibilityState(state: Int, opacity: Float)

Public functions

getCurrentState

Added in 1.0.0-alpha01
fun getCurrentState(): Int

Returns the current passthrough visibility state

Public properties

opacity

Added in 1.0.0-alpha01
val opacityFloat