Dimension

data class Dimension(val width: Int, val height: Int, val depth: Int)(source)

Represents a dimension in a 3-dimensional space. This class is immutable.

Since

1.0.0

Parameters

width

The width of the dimension (x-axis).

height

The height of the dimension (y-axis).

depth

The depth of the dimension (z-axis).

Constructors

Link copied to clipboard
constructor(width: Int, height: Int, depth: Int)

Properties

Link copied to clipboard
val depth: Int
Link copied to clipboard
val height: Int
Link copied to clipboard
val width: Int