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: <Error class: unknown class><Double>,     startingIndex: Int? = definedExternally,     lastIndex: Int? = definedExternally,     result: <Error class: unknown class><Double>? = definedExternally)

Converts a packed array into a form suitable for interpolation.

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

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