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: Symbol not found for ReadonlyArray<ERROR CLASS: Symbol not found for JsDouble>, startingIndex: Int? = definedExternally, lastIndex: Int? = definedExternally, result: ERROR CLASS: Symbol not found for ReadonlyArray<ERROR CLASS: Symbol not found for JsDouble>?? = definedExternally)

Converts a packed array into a form suitable for interpolation.

Link copied to clipboard
fun unpackInterpolationResult(array: ERROR CLASS: Symbol not found for ReadonlyArray<ERROR CLASS: Symbol not found for JsDouble>, sourceArray: ERROR CLASS: Symbol not found for ReadonlyArray<ERROR CLASS: Symbol not found for JsDouble>, startingIndex: Int? = definedExternally, lastIndex: Int? = definedExternally, result: ERROR CLASS: Symbol not found for JsAny?? = definedExternally): ERROR CLASS: Symbol not found for JsAny

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