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

Float

Returns the current passthrough opacity

Public constructors

FakePassthroughVisibilityState

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

Public functions

getCurrentState

Added in 1.0.0-alpha02
fun getCurrentState(): Int

Returns the current passthrough visibility state

getOpacity

Added in 1.0.0-alpha02
fun getOpacity(): Float

Returns the current passthrough opacity