SpaceChangeEvent


class SpaceChangeEvent


An event that is dispatched when the space for the scene has changed, such as from Home Space to Full Space

Summary

Public constructors

SpaceChangeEvent(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

SpaceChangeEvent

Added in 1.0.0-rc01
SpaceChangeEvent(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-rc01
val recommendedPose: Pose

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-rc01
val recommendedScale: Float

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.