DepthAlignment

@Stable
interface DepthAlignment

Depth alignment defines how an element is aligned along the depth axis (usually the Z-axis) of a three-dimensional coordinate system, and determines the offset applied to the element in that axis.

Types

Link copied to clipboard
object Companion

Predefined depth alignment instances.

Functions

Link copied to clipboard
abstract fun depthOffset(depth: Int, space: Int): Int

Calculates the depth offset based on the bias factor.