UNPKG

@polygonjs/polygonjs

Version:

node-based WebGL 3D engine https://polygonjs.com

10 lines (9 loc) 693 B
import { BufferGeometry, Object3D } from 'three'; import { Object3DWithGeometry } from './Group'; import { ObjectContent, CoreObjectType } from './ObjectContent'; import type { QuadObject } from './modules/quad/QuadObject'; export declare function bufferGeometryMaxGroupEnd(geometry: BufferGeometry): number; export declare function truncateBufferGeometry(geometry: BufferGeometry, maxCount: number): void; export declare function object3DHasGeometry(o: Object3D): o is Object3DWithGeometry; export declare function objectContentHasGeometry(o: ObjectContent<CoreObjectType>): o is Object3DWithGeometry | QuadObject; export declare function markedAsInstance(geometry: BufferGeometry): boolean;