FakeXrExtensions.FakeReformEvent


class FakeXrExtensions.FakeReformEvent


Fake ReformEvent.

Summary

Public constructors

Public functions

Vec3

The current ray direction, in task space.

Vec3

The current ray origin and direction, in task space.

Int

An identifier for this reform action.

Vec3

The initial ray direction, in task space.

Vec3

The initial ray origin and direction, in task space.

Quatf

For a move event, the proposed orientation of the node, in task space (or relative to the parent node, if FLAG_POSE_RELATIVE_TO_PARENT was specified in the ReformOptions).

Vec3

For a move event, the proposed pose of the node, in task space (or relative to the parent node, if FLAG_POSE_RELATIVE_TO_PARENT was specified in the ReformOptions).

Vec3

Scale will change with distance if ReformOptions.FLAG_SCALE_WITH_DISTANCE is set.

Vec3

For a resize event, the proposed new size in meters.

Int

Returns the state of the reform action.

Int

Returns the type of reform action this event is referring to.

Unit
setProposedOrientation(proposedOrientation: Quatf)
Unit
setProposedPosition(proposedPosition: Vec3)
Unit
setProposedScale(proposedScale: Vec3)
Unit
setProposedSize(proposedSize: Vec3)
Unit
setState(state: Int)
Unit
setType(type: Int)

Public constructors

FakeReformEvent

Added in 1.0.0-alpha02
FakeReformEvent()

Public functions

getCurrentRayDirection

Added in 1.0.0-alpha02
fun getCurrentRayDirection(): Vec3

The current ray direction, in task space.

getCurrentRayOrigin

Added in 1.0.0-alpha02
fun getCurrentRayOrigin(): Vec3

The current ray origin and direction, in task space.

getId

Added in 1.0.0-alpha02
fun getId(): Int

An identifier for this reform action.

getInitialRayDirection

Added in 1.0.0-alpha02
fun getInitialRayDirection(): Vec3

The initial ray direction, in task space.

getInitialRayOrigin

Added in 1.0.0-alpha02
fun getInitialRayOrigin(): Vec3

The initial ray origin and direction, in task space.

getProposedOrientation

Added in 1.0.0-alpha02
fun getProposedOrientation(): Quatf

For a move event, the proposed orientation of the node, in task space (or relative to the parent node, if FLAG_POSE_RELATIVE_TO_PARENT was specified in the ReformOptions).

getProposedPosition

Added in 1.0.0-alpha02
fun getProposedPosition(): Vec3

For a move event, the proposed pose of the node, in task space (or relative to the parent node, if FLAG_POSE_RELATIVE_TO_PARENT was specified in the ReformOptions).

getProposedScale

Added in 1.0.0-alpha02
fun getProposedScale(): Vec3

Scale will change with distance if ReformOptions.FLAG_SCALE_WITH_DISTANCE is set.

getProposedSize

Added in 1.0.0-alpha02
fun getProposedSize(): Vec3

For a resize event, the proposed new size in meters. Note that in the initial implementation, the Z size may not be modified.

getState

Added in 1.0.0-alpha02
fun getState(): Int

Returns the state of the reform action.

getType

Added in 1.0.0-alpha02
fun getType(): Int

Returns the type of reform action this event is referring to.

setProposedOrientation

Added in 1.0.0-alpha02
fun setProposedOrientation(proposedOrientation: Quatf): Unit

setProposedPosition

Added in 1.0.0-alpha02
fun setProposedPosition(proposedPosition: Vec3): Unit

setProposedScale

Added in 1.0.0-alpha02
fun setProposedScale(proposedScale: Vec3): Unit

setProposedSize

Added in 1.0.0-alpha02
fun setProposedSize(proposedSize: Vec3): Unit

setState

Added in 1.0.0-alpha02
fun setState(state: Int): Unit

setType

Added in 1.0.0-alpha02
fun setType(type: Int): Unit