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:
Members
-
The number of elements used to store the object into an array in its interpolatable form.
Methods
-
Converts a packed array into a form suitable for interpolation.
Name Type Default Description packedArrayArray.<Number> The packed array. startingIndexNumber 0optional The index of the first element to be converted. lastIndexNumber packedArray.lengthoptional The index of the last element to be converted. resultArray.<Number> The object into which to store the result. -
Retrieves an instance from a packed array converted with
PackableForInterpolation.convertPackedArrayForInterpolation.Name Type Default Description arrayArray.<Number> The array previously packed for interpolation. sourceArrayArray.<Number> The original packed array. startingIndexNumber 0optional The startingIndex used to convert the array. lastIndexNumber packedArray.lengthoptional The lastIndex used to convert the array. resultObject optional The object into which to store the result. Returns:
The modified result parameter or a new Object instance if one was not provided.
