decodeSortKey
decodeSortKey(
sortKey):object
Defined in: packages/three-flatland/src/pipeline/sortLayers.ts:185
Decode a sort key back to its components.
Parameters
Section titled “Parameters”sortKey
Section titled “sortKey”number
Encoded sort key
Returns
Section titled “Returns”object
Object with sortLayer, batchId, and zIndex
batchId
Section titled “batchId”batchId:
number
sortLayer
Section titled “sortLayer”sortLayer:
number
zIndex
Section titled “zIndex”zIndex:
number