Private
constructorStatic
deepStatic
removeRoot object that will be traversed
Static
removeTraverse given object and remove unnecessary vertices from every BufferGeometries. This only processes buffer geometries with index buffer.
Three.js creates morph textures for each geometries and it sometimes consumes unnecessary amount of VRAM for certain models. This function will optimize geometries to reduce the size of morph texture. See: https://github.com/mrdoob/three.js/issues/23095
Root object that will be traversed
Static
rotateVRM0If the given VRM is VRM0.0, rotate the vrm.scene
by 180 degrees around the Y axis.
The target VRM
Generated using TypeDoc
Traverse given object and remove unnecessarily bound joints from every
THREE.SkinnedMesh
. Some environments like mobile devices have a lower limit of bones and might be unable to perform mesh skinning, this function might resolve such an issue. Also this function might greatly improve the performance of mesh skinning.