react-native-filament
Version:
A real-time physically based 3D rendering engine for React Native
20 lines • 734 B
TypeScript
import { AABB } from './Boxes';
import { Animator } from './Animator';
import { Entity } from './Entity';
import { NameComponentManager } from './NameComponentManager';
/**
* Every asset loaded has at least one FilamentInstance. You can load multiple instances of the same asset.
*
* Provides access to a hierarchy of entities that have been instanced from a glTF asset.
*
* Every entity has a TransformManager component, and some entities also have Name or
* Renderable components.
*
*/
export interface FilamentInstance {
getEntities(): Entity[];
getRoot(): Entity;
createAnimator(nameComponentManager: NameComponentManager): Animator;
getBoundingBox(): AABB;
}
//# sourceMappingURL=FilamentInstance.d.ts.map