unpartition

  • Removes partitions from the binary payload of a glTF file, so that the asset contains at most one (1) .bin Buffer. This process reverses the changes from a partition transform.

    Example:

    document.getRoot().listBuffers(); // → [Buffer, Buffer, ...]
    
    await document.transform(unpartition());
    
    document.getRoot().listBuffers(); // → [Buffer]
    
Function symbol, where the argument and output are a box labeled 'glTF'.

Made by Don McCurdy. Documentation built with greendoc and published under Creative Commons Attribution 3.0.