SpatialModeChangeEvent


class SpatialModeChangeEvent


An event that is dispatched when the spatial mode for the scene has changed.

Summary

Public constructors

SpatialModeChangeEvent(recommendedPose: Pose, recommendedScale: Float)

Public functions

open operator Boolean
equals(other: Any?)
open Int
open String

Public properties

Pose

The recommended pose for the key entity.

Float

The recommended scale for the key entity.

Public constructors

SpatialModeChangeEvent

Added in 1.0.0-alpha07
SpatialModeChangeEvent(recommendedPose: Pose, recommendedScale: Float)

Public functions

equals

open operator fun equals(other: Any?): Boolean

hashCode

open fun hashCode(): Int

toString

open fun toString(): String

Public properties

recommendedPose

Added in 1.0.0-alpha07
val recommendedPosePose

The recommended pose for the key entity. The pose is relative to ActivitySpace origin, not relative to the key entity's parent.

recommendedScale

Added in 1.0.0-alpha07
val recommendedScaleFloat

The recommended scale for the key entity. The scale value is the accumulated scale for this entity i.e. accumulated scale in ActivitySpace, not relative to the key entity's parent.