SpatialAlignment.Depth

interface SpatialAlignment.Depth

Known direct subclasses
SpatialBiasAlignment.Depth

Creates a weighted alignment that specifies a depth bias.


An interface to calculate the position of a box of a certain depth inside an available depth.

Summary

Public functions

Int
offset(depth: Int, space: Int)

Public functions

offset

Added in 1.0.0-alpha01
fun offset(depth: Int, space: Int): Int
See also
depthOffset