JxrPlatformAdapter.MoveEvent


class JxrPlatformAdapter.MoveEvent


MoveEvent for SceneCore Platform.

Summary

Constants

const Int
const Int
const Int

Public constructors

MoveEvent(
    moveState: Int,
    initialInputRay: JxrPlatformAdapter.Ray,
    currentInputRay: JxrPlatformAdapter.Ray,
    previousPose: Pose,
    currentPose: Pose,
    previousScale: Vector3,
    currentScale: Vector3,
    initialParent: JxrPlatformAdapter.Entity,
    updatedParent: JxrPlatformAdapter.Entity?,
    disposedEntity: JxrPlatformAdapter.Entity?
)

Public properties

JxrPlatformAdapter.Ray

Current ray origin and direction in activity space.

Pose

Current pose of the entity, relative to its parent.

Vector3

Current scale of the entity.

JxrPlatformAdapter.Entity?

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

JxrPlatformAdapter.Ray

Initial ray origin and direction in activity space.

JxrPlatformAdapter.Entity

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

Int

State of the move action.

Pose

Previous pose of the entity, relative to its parent.

Vector3

Previous scale of the entity.

JxrPlatformAdapter.Entity?

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

Constants

MOVE_STATE_END

Added in 1.0.0-alpha01
const val MOVE_STATE_END = 3: Int

MOVE_STATE_ONGOING

Added in 1.0.0-alpha01
const val MOVE_STATE_ONGOING = 2: Int

MOVE_STATE_START

Added in 1.0.0-alpha01
const val MOVE_STATE_START = 1: Int

Public constructors

MoveEvent

Added in 1.0.0-alpha01
MoveEvent(
    moveState: Int,
    initialInputRay: JxrPlatformAdapter.Ray,
    currentInputRay: JxrPlatformAdapter.Ray,
    previousPose: Pose,
    currentPose: Pose,
    previousScale: Vector3,
    currentScale: Vector3,
    initialParent: JxrPlatformAdapter.Entity,
    updatedParent: JxrPlatformAdapter.Entity?,
    disposedEntity: JxrPlatformAdapter.Entity?
)

Public properties

currentInputRay

Added in 1.0.0-alpha01
val currentInputRayJxrPlatformAdapter.Ray

Current ray origin and direction in activity space.

currentPose

Added in 1.0.0-alpha01
val currentPosePose

Current pose of the entity, relative to its parent.

currentScale

Added in 1.0.0-alpha01
val currentScaleVector3

Current scale of the entity.

disposedEntity

Added in 1.0.0-alpha01
val disposedEntityJxrPlatformAdapter.Entity?

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

initialInputRay

Added in 1.0.0-alpha01
val initialInputRayJxrPlatformAdapter.Ray

Initial ray origin and direction in activity space.

initialParent

Added in 1.0.0-alpha01
val initialParentJxrPlatformAdapter.Entity

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

moveState

Added in 1.0.0-alpha01
val moveStateInt

State of the move action.

previousPose

Added in 1.0.0-alpha01
val previousPosePose

Previous pose of the entity, relative to its parent.

previousScale

Added in 1.0.0-alpha01
val previousScaleVector3

Previous scale of the entity.

updatedParent

Added in 1.0.0-alpha01
val updatedParentJxrPlatformAdapter.Entity?

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