InterpolationNode.Interpolation



Interpolation functions for use in an InterpolationNode.

Summary

Public companion properties

InterpolationNode.Interpolation

Inverse linear interpolation.

Cmn
InterpolationNode.Interpolation

Linear interpolation.

Cmn

Public functions

open String
Cmn

Public companion properties

INVERSE_LERP

val INVERSE_LERPInterpolationNode.Interpolation

Inverse linear interpolation. Evaluates to 0 when the InterpolationNode.paramInput value is equal to the InterpolationNode.startInput value, and to 1 when the parameter is equal to the InterpolationNode.endInput value. Evaluates to null when the InterpolationNode.startInput and InterpolationNode.endInput values are equal.

LERP

val LERPInterpolationNode.Interpolation

Linear interpolation. Evaluates to the InterpolationNode.startInput value when the InterpolationNode.paramInput value is 0, and to the InterpolationNode.endInput value when the InterpolationNode.paramInput value is 1.

Public functions

toString

open fun toString(): String