class ResizeEvent


A resize event which is sent in response to the User interacting with the ResizableComponent.

Summary

Nested types

Public constructors

ResizeEvent(
    entity: Entity,
    resizeState: ResizeEvent.ResizeState,
    newSize: FloatSize3d
)

Public functions

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

Public properties

Entity

The Entity being resized.

FloatSize3d

The new proposed size of the Entity in local space.

ResizeEvent.ResizeState

The state of the resize event.

Public constructors

ResizeEvent

Added in 1.0.0-alpha09
ResizeEvent(
    entity: Entity,
    resizeState: ResizeEvent.ResizeState,
    newSize: FloatSize3d
)
Parameters
entity: Entity

The Entity being resized.

resizeState: ResizeEvent.ResizeState

The state of the resize event.

newSize: FloatSize3d

The new proposed size of the Entity in local space.

Public functions

equals

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

hashCode

open fun hashCode(): Int

Public properties

entity

Added in 1.0.0-alpha09
val entityEntity

The Entity being resized.

newSize

Added in 1.0.0-alpha09
val newSizeFloatSize3d

The new proposed size of the Entity in local space.

resizeState

Added in 1.0.0-alpha09
val resizeStateResizeEvent.ResizeState

The state of the resize event.