SpatialBiasAlignment.Depth

class SpatialBiasAlignment.Depth : SpatialAlignment.Depth


Creates a weighted alignment that specifies a depth bias.

Summary

Public constructors

Depth(bias: Float)

Public functions

SpatialBiasAlignment.Depth
copy(bias: Float)
open operator Boolean
equals(other: Any?)
open Int
open Int
offset(depth: Int, space: Int)
open String

Public properties

Float

Must be within the range of -1, 1 with -1 being back and 1 being front.

Public constructors

Depth

Added in 1.0.0-alpha01
Depth(bias: Float)
Parameters
bias: Float

Must be within the range of -1, 1 with -1 being back and 1 being front.

Public functions

copy

Added in 1.0.0-alpha01
fun copy(bias: Float = this.bias): SpatialBiasAlignment.Depth

equals

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

hashCode

open fun hashCode(): Int

offset

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

toString

open fun toString(): String

Public properties

bias

Added in 1.0.0-alpha01
val biasFloat

Must be within the range of -1, 1 with -1 being back and 1 being front.