FakeXrExtensions.FakeReformEvent


public class FakeXrExtensions.FakeReformEvent


Fake ReformEvent.

Summary

Public constructors

Public methods

@NonNull Vec3

The current ray direction, in task space.

@NonNull Vec3

The current ray origin and direction, in task space.

int

An identifier for this reform action.

@NonNull Vec3

The initial ray direction, in task space.

@NonNull Vec3

The initial ray origin and direction, in task space.

@NonNull 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).

@NonNull 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).

@NonNull Vec3

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

@NonNull 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.

void
setProposedOrientation(@NonNull Quatf proposedOrientation)
void
setProposedPosition(@NonNull Vec3 proposedPosition)
void
setProposedScale(@NonNull Vec3 proposedScale)
void
setState(int state)
void
setType(int type)

Public fields

currentRayDirection

Added in 1.0.0-alpha01
public Vec3 currentRayDirection

currentRayOrigin

Added in 1.0.0-alpha01
public Vec3 currentRayOrigin

id

Added in 1.0.0-alpha01
public int id

initialRayDirection

Added in 1.0.0-alpha01
public Vec3 initialRayDirection

initialRayOrigin

Added in 1.0.0-alpha01
public Vec3 initialRayOrigin

proposedOrientation

Added in 1.0.0-alpha01
public Quatf proposedOrientation

proposedPosition

Added in 1.0.0-alpha01
public Vec3 proposedPosition

proposedScale

Added in 1.0.0-alpha01
public Vec3 proposedScale

proposedSize

Added in 1.0.0-alpha01
public Vec3 proposedSize

state

Added in 1.0.0-alpha01
public int state

type

Added in 1.0.0-alpha01
public int type

Public constructors

FakeReformEvent

Added in 1.0.0-alpha01
public FakeReformEvent()

Public methods

getCurrentRayDirection

Added in 1.0.0-alpha01
public @NonNull Vec3 getCurrentRayDirection()

The current ray direction, in task space.

getCurrentRayOrigin

Added in 1.0.0-alpha01
public @NonNull Vec3 getCurrentRayOrigin()

The current ray origin and direction, in task space.

getId

Added in 1.0.0-alpha01
public int getId()

An identifier for this reform action.

getInitialRayDirection

Added in 1.0.0-alpha01
public @NonNull Vec3 getInitialRayDirection()

The initial ray direction, in task space.

getInitialRayOrigin

Added in 1.0.0-alpha01
public @NonNull Vec3 getInitialRayOrigin()

The initial ray origin and direction, in task space.

getProposedOrientation

Added in 1.0.0-alpha01
public @NonNull Quatf getProposedOrientation()

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-alpha01
public @NonNull Vec3 getProposedPosition()

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-alpha01
public @NonNull Vec3 getProposedScale()

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

getProposedSize

Added in 1.0.0-alpha01
public @NonNull Vec3 getProposedSize()

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-alpha01
public int getState()

Returns the state of the reform action.

getType

Added in 1.0.0-alpha01
public int getType()

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

setProposedOrientation

Added in 1.0.0-alpha01
public void setProposedOrientation(@NonNull Quatf proposedOrientation)

setProposedPosition

Added in 1.0.0-alpha01
public void setProposedPosition(@NonNull Vec3 proposedPosition)

setProposedScale

Added in 1.0.0-alpha01
public void setProposedScale(@NonNull Vec3 proposedScale)

setState

Added in 1.0.0-alpha01
public void setState(int state)

setType

Added in 1.0.0-alpha01
public void setType(int type)