UNPKG

@pixiv/three-vrm

Version:

VRM file loader for three.js.

10 lines (9 loc) 501 B
import * as THREE from 'three'; /** * 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. * * @param root Root object that will be traversed */ export declare function removeUnnecessaryJoints(root: THREE.Object3D): void;