SpaceChangeEvent


public final 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(@NonNull Pose recommendedPose, float recommendedScale)

Public methods

boolean
equals(Object other)
final @NonNull Pose

The recommended pose for the key entity.

final float

The recommended scale for the key entity.

int
@NonNull String

Public constructors

SpaceChangeEvent

Added in 1.0.0-alpha16
public SpaceChangeEvent(@NonNull Pose recommendedPose, float recommendedScale)

Public methods

equals

public boolean equals(Object other)

getRecommendedPose

Added in 1.0.0-alpha16
public final @NonNull Pose getRecommendedPose()

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

getRecommendedScale

Added in 1.0.0-alpha16
public final float getRecommendedScale()

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.

hashCode

public int hashCode()

toString

public @NonNull String toString()