PackableForInterpolation

Static interface for Packable types which are interpolated in a different representation than their packed value. These methods and properties are expected to be defined on a constructor function.

See also

Properties

Link copied to clipboard

The number of elements used to store the object into an array in its interpolatable form.

Functions

Link copied to clipboard
fun convertPackedArrayForInterpolation(packedArray: ReadonlyArray<Double>, startingIndex: Int? = definedExternally, lastIndex: Int? = definedExternally, result: ReadonlyArray<Double>? = definedExternally)

Converts a packed array into a form suitable for interpolation.

Link copied to clipboard
fun unpackInterpolationResult(array: ReadonlyArray<Double>, sourceArray: ReadonlyArray<Double>, startingIndex: Int? = definedExternally, lastIndex: Int? = definedExternally, result: Any? = definedExternally): Any

Retrieves an instance from a packed array converted with PackableForInterpolation.convertPackedArrayForInterpolation.