# IntVolumeOffset

Artifact: [androidx.xr.compose:compose](https://developer.android.com/jetpack/androidx/releases/xr-compose) [View Source](https://cs.android.com/search?q=file:androidx/xr/compose/unit/IntVolumeOffset.kt+class:androidx.xr.compose.unit.IntVolumeOffset) Added in [1.0.0-beta02](https://developer.android.com/jetpack/androidx/releases/xr-compose#1.0.0-beta02)


```
@ExperimentalSpatialVolumeOffsetApi
class IntVolumeOffset
```

<br />

*** ** * ** ***

Represents the offset of an object in 3D space.

## Summary

| ### Public companion properties |
|---|---|
| `https://developer.android.com/reference/kotlin/androidx/xr/compose/unit/IntVolumeOffset` | `https://developer.android.com/reference/kotlin/androidx/xr/compose/unit/IntVolumeOffset#Zero()` A `https://developer.android.com/reference/kotlin/androidx/xr/compose/unit/IntVolumeOffset` with all offsets set to 0. |

| ### Public constructors |
|---|
| `https://developer.android.com/reference/kotlin/androidx/xr/compose/unit/IntVolumeOffset#IntVolumeOffset(kotlin.Int,kotlin.Int,kotlin.Int)(x: https://kotlinlang.org/api/core/kotlin-stdlib/kotlin/-int/index.html, y: https://kotlinlang.org/api/core/kotlin-stdlib/kotlin/-int/index.html, z: https://kotlinlang.org/api/core/kotlin-stdlib/kotlin/-int/index.html)` |

| ### Public functions |
|---|---|
| `open operator https://kotlinlang.org/api/core/kotlin-stdlib/kotlin/-boolean/index.html` | `https://developer.android.com/reference/kotlin/androidx/xr/compose/unit/IntVolumeOffset#equals(kotlin.Any)(other: https://kotlinlang.org/api/core/kotlin-stdlib/kotlin/-any/index.html?)` |
| `open https://kotlinlang.org/api/core/kotlin-stdlib/kotlin/-int/index.html` | `https://developer.android.com/reference/kotlin/androidx/xr/compose/unit/IntVolumeOffset#hashCode()()` |
| `open https://kotlinlang.org/api/core/kotlin-stdlib/kotlin/-string/index.html` | `https://developer.android.com/reference/kotlin/androidx/xr/compose/unit/IntVolumeOffset#toString()()` |

| ### Public properties |
|---|---|
| `https://kotlinlang.org/api/core/kotlin-stdlib/kotlin/-int/index.html` | `https://developer.android.com/reference/kotlin/androidx/xr/compose/unit/IntVolumeOffset#x()` The offset along the x-axis. |
| `https://kotlinlang.org/api/core/kotlin-stdlib/kotlin/-int/index.html` | `https://developer.android.com/reference/kotlin/androidx/xr/compose/unit/IntVolumeOffset#y()` The offset along the y-axis. |
| `https://kotlinlang.org/api/core/kotlin-stdlib/kotlin/-int/index.html` | `https://developer.android.com/reference/kotlin/androidx/xr/compose/unit/IntVolumeOffset#z()` The offset along the z-axis. |

## Public companion properties

### Zero

Added in [1.0.0-beta02](https://developer.android.com/jetpack/androidx/releases/xr-compose#1.0.0-beta02)

```
val Zero: IntVolumeOffset
```

A `https://developer.android.com/reference/kotlin/androidx/xr/compose/unit/IntVolumeOffset` with all offsets set to 0.

## Public constructors

### IntVolumeOffset

Added in [1.0.0-beta02](https://developer.android.com/jetpack/androidx/releases/xr-compose#1.0.0-beta02)

```
IntVolumeOffset(x: Int, y: Int, z: Int)
```

## Public functions

### equals

```
open operator fun equals(other: Any?): Boolean
```

### hashCode

```
open fun hashCode(): Int
```

### toString

```
open fun toString(): String
```

## Public properties

### x

Added in [1.0.0-beta02](https://developer.android.com/jetpack/androidx/releases/xr-compose#1.0.0-beta02)

```
val x: Int
```

The offset along the x-axis.

### y

Added in [1.0.0-beta02](https://developer.android.com/jetpack/androidx/releases/xr-compose#1.0.0-beta02)

```
val y: Int
```

The offset along the y-axis. The positive values in the y-axis point upwards and the negative values point downwards.

### z

Added in [1.0.0-beta02](https://developer.android.com/jetpack/androidx/releases/xr-compose#1.0.0-beta02)

```
val z: Int
```

The offset along the z-axis.