copy

fun copy(width: Int = this.width, height: Int = this.height, depth: Int = this.depth): IntSize3D

copy the size with new width, height and depth.

Return

the new IntSize3D with the new width, height and depth.

Parameters

width

the new width of the layout in the 3D coordinates space.

height

the new height of the layout in the 3D coordinates space.

depth

the new depth of the layout in the 3D coordinates space.