FakeXrExtensions.FakePassthroughVisibilityState


public class FakeXrExtensions.FakePassthroughVisibilityState


A fake implementation of the XR extensions EnvironmentVisibilityState.

Summary

Public fields

float

Public constructors

FakePassthroughVisibilityState(int state, float opacity)

Public methods

int

Returns the current passthrough visibility state

float

Returns the current passthrough opacity

Public fields

opacity

Added in 1.0.0-alpha01
public float opacity

Public constructors

FakePassthroughVisibilityState

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

Public methods

getCurrentState

Added in 1.0.0-alpha01
public int getCurrentState()

Returns the current passthrough visibility state

getOpacity

Added in 1.0.0-alpha01
public float getOpacity()

Returns the current passthrough opacity