FakeXrExtensions.FakePassthroughVisibilityState


public class FakeXrExtensions.FakePassthroughVisibilityState


A fake implementation of the XR extensions EnvironmentVisibilityState.

Summary

Public constructors

FakePassthroughVisibilityState(int state, float opacity)

Public methods

int

Returns the current passthrough visibility state

float

Returns the current passthrough opacity

Public constructors

FakePassthroughVisibilityState

Added in 1.0.0-alpha02
public FakePassthroughVisibilityState(int state, float opacity)

Public methods

getCurrentState

Added in 1.0.0-alpha02
public int getCurrentState()

Returns the current passthrough visibility state

getOpacity

Added in 1.0.0-alpha02
public float getOpacity()

Returns the current passthrough opacity