IntVolumeSize
class IntVolumeSize
Represents the size of a volume in pixels.
This class provides a convenient way to store and manipulate the width, height, and depth of a 3D volume in pixels. It also provides methods to convert to and from FloatSize3d in meters.
Note: As with all Int values in Compose XR, the values in this class represent pixels.
Summary
Public companion properties |
|
|---|---|
IntVolumeSize |
An |
Public constructors |
|---|
IntVolumeSize(width: Int, height: Int, depth: Int) |
Public properties |
|
|---|---|
Int |
the size of the volume along the z dimension, in pixels. |
Int |
the size of the volume along the y dimension, in pixels. |
Int |
the size of the volume along the x dimension, in pixels. |
Public companion properties
Public constructors
Public functions
Public properties
depth
val depth: Int
the size of the volume along the z dimension, in pixels. Panels have 0 depth and cannot be set to non-zero depth.
height
val height: Int
the size of the volume along the y dimension, in pixels.
width
val width: Int
the size of the volume along the x dimension, in pixels.