packArray
fun packArray(array: ERROR CLASS: Symbol not found for ReadonlyArray<cesium/engine/Cartesian4>, result: ERROR CLASS: Symbol not found for ReadonlyArray<ERROR CLASS: Symbol not found for JsDouble>?? = definedExternally): ERROR CLASS: Symbol not found for ReadonlyArray<ERROR CLASS: Symbol not found for JsDouble>(source)
Flattens an array of Cartesian4s into an array of components.
Return
The packed array.
Parameters
array
The array of cartesians to pack.
result
The array onto which to store the result. If this is a typed array, it must have array.length * 4 components, else a DeveloperError will be thrown. If it is a regular array, it will be resized to have (array.length * 4) elements.