Movable3D

sealed interface Movable3D(source)

Functions

Link copied to clipboard
abstract fun movedBy(offset: Vector3): Movable3D

Creates a new shape with the same size but the current position offset by the given amount.

Link copied to clipboard
abstract fun movedTo(position: Vector3): Movable3D

Creates a new shape with the same size but the current position is set to position.