OutOfRange



The desired behavior when an input value is outside the range defined by SourceNode.sourceValueRangeStart and SourceNode.sourceValueRangeEnd.

Summary

Public companion properties

OutOfRange

Values outside the range will be clamped to not exceed the bounds.

Cmn
OutOfRange

Similar to REPEAT, but every other repetition of the bounds will be mirrored, as though SourceNode.sourceValueRangeStart and SourceNode.sourceValueRangeEnd were swapped.

Cmn
OutOfRange

Values will be shifted by an integer multiple of the range size so that they fall within the bounds.

Cmn

Public functions

open String
Cmn

Public companion properties

CLAMP

val CLAMPOutOfRange

Values outside the range will be clamped to not exceed the bounds.

MIRROR

val MIRROROutOfRange

Similar to REPEAT, but every other repetition of the bounds will be mirrored, as though SourceNode.sourceValueRangeStart and SourceNode.sourceValueRangeEnd were swapped. This means the range does not need to be treated as a half-open interval like in the case of REPEAT.

REPEAT

val REPEATOutOfRange

Values will be shifted by an integer multiple of the range size so that they fall within the bounds.

In this case, the range will be treated as a half-open interval, with a value exactly at SourceNode.sourceValueRangeEnd being treated as though it was SourceNode.sourceValueRangeStart.

Public functions

toString

open fun toString(): String