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.
.bin
Example:
document.getRoot().listBuffers(); // → [Buffer, Buffer, ...] await document.transform(unpartition()); document.getRoot().listBuffers(); // → [Buffer]
Made by Don McCurdy. Documentation built with greendoc and published under Creative Commons Attribution 3.0.
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]