<div class='sourceset sourceset-android'>Android</div>

```kotlin
public class SpatialBiasAlignment(
    public val horizontalBias: Float,
    public val verticalBias: Float,
    public val depthBias: Float,
) : SpatialAlignment
```

Creates a weighted alignment that specifies a horizontal, vertical, and depth bias.

#### Parameters

| | |
| --- | --- |
| horizontalBias | Must be within the range of [-1, 1] with -1 being left and 1 being right. |
| verticalBias | Must be within the range of [-1, 1] with -1 being bottom and 1 being top. |
| depthBias | Must be within the range of [-1, 1] with -1 being back and 1 being front. |

## Functions

<h2 id="copy-horizontalbias-verticalbias-depthbias">copy</h2>

```kotlin
public fun copy(
        horizontalBias: Float = this.horizontalBias,
        verticalBias: Float = this.verticalBias,
        depthBias: Float = this.depthBias,
    ): SpatialBiasAlignment
```

## Companion Object