FakeXrExtensions.FakeReformOptions


class FakeXrExtensions.FakeReformOptions


Fake ReformOptions.

Summary

Public functions

Int

Which reform actions are enabled.

Consumer<ReformEvent!>

Returns the callback that will receive reform events.

Executor

Returns the executor that events will be handled on.

Int

Behaviour flags.

ReformOptions

By default, only ALLOW_MOVE is enabled.

ReformOptions

Sets the callback that will receive reform events.

ReformOptions

Sets the executor that events will be handled on.

ReformOptions

By default, the flags are set to 0.

Public functions

getEnabledReform

Added in 1.0.0-alpha01
fun getEnabledReform(): Int

Which reform actions are enabled.

getEventCallback

Added in 1.0.0-alpha01
fun getEventCallback(): Consumer<ReformEvent!>

Returns the callback that will receive reform events.

getEventExecutor

Added in 1.0.0-alpha01
fun getEventExecutor(): Executor

Returns the executor that events will be handled on.

getFlags

Added in 1.0.0-alpha01
fun getFlags(): Int

Behaviour flags.

setEnabledReform

Added in 1.0.0-alpha01
fun setEnabledReform(i: Int): ReformOptions

By default, only ALLOW_MOVE is enabled.

setEventCallback

Added in 1.0.0-alpha01
fun setEventCallback(consumer: Consumer<ReformEvent!>): ReformOptions

Sets the callback that will receive reform events.

setEventExecutor

Added in 1.0.0-alpha01
fun setEventExecutor(executor: Executor): ReformOptions

Sets the executor that events will be handled on.

setFlags

Added in 1.0.0-alpha01
fun setFlags(i: Int): ReformOptions

By default, the flags are set to 0.

Public properties

currentSize

Added in 1.0.0-alpha01
var currentSizeVec3!

fixedAspectRatio

Added in 1.0.0-alpha01
var fixedAspectRatioFloat

maximumSize

Added in 1.0.0-alpha01
var maximumSizeVec3!

minimumSize

Added in 1.0.0-alpha01
var minimumSizeVec3!

scaleWithDistanceMode

Added in 1.0.0-alpha01
var scaleWithDistanceModeInt