UNPKG

@tresjs/cientos

Version:

Collection of useful helpers and fully functional, ready-made abstractions for Tres

10 lines (9 loc) 291 B
import { Group } from 'three'; /** * Loads an FBX file and returns a THREE.Object3D. * * @export * @param {(string | string[])} path * @return {*} {Promise<Group>} */ export declare function useFBX<T extends string | string[]>(path: T): Promise<T extends string[] ? Group[] : Group>;