Class

IntVolumeSize

Represents the size of a volume in pixels.

RevenueCat

RevenueCat

Add subscriptions to your apps in minutes

Ad Get started for free
Android
public class IntVolumeSize(public val width: Int, public val height: Int, public val depth: Int)

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.

Companion Object

Properties

Android
public val Zero: IntVolumeSize

An IntVolumeSize with all dimensions set to 0.