Class

SpatialBiasAbsoluteAlignment

An SpatialAbsoluteAlignment specified by bias

RevenueCat

RevenueCat

Add subscriptions to your apps in minutes

Ad Get started for free
Android
public class SpatialBiasAbsoluteAlignment(
    public val horizontalBias: Float,
    public val verticalBias: Float,
    public val depthBias: Float,
) : SpatialAlignment

An SpatialAbsoluteAlignment specified by 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

copy

public fun copy(
        horizontalBias: Float = this.horizontalBias,
        verticalBias: Float = this.verticalBias,
        depthBias: Float = this.depthBias,
    ): SpatialBiasAbsoluteAlignment

Companion Object