SpatialResizeEvent

class SpatialResizeEvent


When the resizable modifier is present and enabled, UI controls will be shown that allow the user to resize the element in 3D space.

Summary

Public constructors

Public properties

IntVolumeSize

The new size of the composable, expressed in virtual pixels.

SpatialResizeEventType

The current type of the resize event.

Public constructors

SpatialResizeEvent

Added in 1.0.0-alpha16
SpatialResizeEvent(type: SpatialResizeEventType, size: IntVolumeSize)

Public properties

size

Added in 1.0.0-alpha16
val sizeIntVolumeSize

The new size of the composable, expressed in virtual pixels.

type

val typeSpatialResizeEventType

The current type of the resize event.