FakeXrExtensions.FakeConfig


public class FakeXrExtensions.FakeConfig


Fake implementation of Extensions Config.

Summary

Constants

static final float

Public constructors

Public methods

float
defaultPixelsPerMeter(float density)

Returns the default pixelsPerMeter value for 2D surfaces.

Constants

DEFAULT_PIXELS_PER_METER

Added in 1.0.0-alpha01
public static final float DEFAULT_PIXELS_PER_METER = 1.0f

Public constructors

FakeConfig

Added in 1.0.0-alpha01
public FakeConfig()

Public methods

defaultPixelsPerMeter

Added in 1.0.0-alpha01
public float defaultPixelsPerMeter(float density)

Returns the default pixelsPerMeter value for 2D surfaces. See NodeTransaction.setPixelResolution() for the meaning of pixelsPerMeter.

Parameters
float density

The logical density of the display.

Returns
float

The default pixelsPerMeter value.