JxrPlatformAdapter.MoveEvent


public class JxrPlatformAdapter.MoveEvent


MoveEvent for SceneCore Platform.

Summary

Constants

static final int
static final int
static final int

Public fields

final @NonNull JxrPlatformAdapter.Ray

Current ray origin and direction in activity space.

final @NonNull Pose

Current pose of the entity, relative to its parent.

final @NonNull Vector3

Current scale of the entity.

final @Nullable JxrPlatformAdapter.Entity

Reports an entity that was disposed and needs to be removed from the sdk EntityManager.

final @NonNull JxrPlatformAdapter.Ray

Initial ray origin and direction in activity space.

final @NonNull JxrPlatformAdapter.Entity

Initial Parent of the entity at the start of the move.

final int

State of the move action.

final @NonNull Pose

Previous pose of the entity, relative to its parent.

final @NonNull Vector3

Previous scale of the entity.

final @Nullable JxrPlatformAdapter.Entity

Updates parent of the entity at the end of the move or null if not updated.

Public constructors

MoveEvent(
    int moveState,
    @NonNull JxrPlatformAdapter.Ray initialInputRay,
    @NonNull JxrPlatformAdapter.Ray currentInputRay,
    @NonNull Pose previousPose,
    @NonNull Pose currentPose,
    @NonNull Vector3 previousScale,
    @NonNull Vector3 currentScale,
    @NonNull JxrPlatformAdapter.Entity initialParent,
    @Nullable JxrPlatformAdapter.Entity updatedParent,
    @Nullable JxrPlatformAdapter.Entity disposedEntity
)

Constants

MOVE_STATE_END

Added in 1.0.0-alpha01
public static final int MOVE_STATE_END = 3

MOVE_STATE_ONGOING

Added in 1.0.0-alpha01
public static final int MOVE_STATE_ONGOING = 2

MOVE_STATE_START

Added in 1.0.0-alpha01
public static final int MOVE_STATE_START = 1

Public fields

currentInputRay

Added in 1.0.0-alpha01
public final @NonNull JxrPlatformAdapter.Ray currentInputRay

Current ray origin and direction in activity space.

currentPose

Added in 1.0.0-alpha01
public final @NonNull Pose currentPose

Current pose of the entity, relative to its parent.

currentScale

Added in 1.0.0-alpha01
public final @NonNull Vector3 currentScale

Current scale of the entity.

disposedEntity

Added in 1.0.0-alpha01
public final @Nullable JxrPlatformAdapter.Entity disposedEntity

Reports an entity that was disposed and needs to be removed from the sdk EntityManager.

initialInputRay

Added in 1.0.0-alpha01
public final @NonNull JxrPlatformAdapter.Ray initialInputRay

Initial ray origin and direction in activity space.

initialParent

Added in 1.0.0-alpha01
public final @NonNull JxrPlatformAdapter.Entity initialParent

Initial Parent of the entity at the start of the move.

moveState

Added in 1.0.0-alpha01
public final int moveState

State of the move action.

previousPose

Added in 1.0.0-alpha01
public final @NonNull Pose previousPose

Previous pose of the entity, relative to its parent.

previousScale

Added in 1.0.0-alpha01
public final @NonNull Vector3 previousScale

Previous scale of the entity.

updatedParent

Added in 1.0.0-alpha01
public final @Nullable JxrPlatformAdapter.Entity updatedParent

Updates parent of the entity at the end of the move or null if not updated.

Public constructors

MoveEvent

Added in 1.0.0-alpha01
public MoveEvent(
    int moveState,
    @NonNull JxrPlatformAdapter.Ray initialInputRay,
    @NonNull JxrPlatformAdapter.Ray currentInputRay,
    @NonNull Pose previousPose,
    @NonNull Pose currentPose,
    @NonNull Vector3 previousScale,
    @NonNull Vector3 currentScale,
    @NonNull JxrPlatformAdapter.Entity initialParent,
    @Nullable JxrPlatformAdapter.Entity updatedParent,
    @Nullable JxrPlatformAdapter.Entity disposedEntity
)