import { Color, InstancedMesh, Matrix4 } from '../../thirdparty/three/imports'; import { InstancedBufferAttribute3D } from '../core/InstancedBufferAttribute3D'; import { Mesh3D } from './Mesh3D'; declare module '@feng3d/ecs' { interface ComponentMap { InstancedMesh3D: InstancedMesh3D; } } /** * 包装`three`中`Mesh` */ export declare class InstancedMesh3D extends Mesh3D { _mesh: InstancedMesh; get count(): number; set count(v: number); private _count; init(): void; destroy(): void; get instanceMatrix(): InstancedBufferAttribute3D; get instanceColor(): InstancedBufferAttribute3D; setMatrixAt(index: number, matrix: Matrix4): void; setColorAt(index: number, color: Color): void; getColorAt(index: number, color: Color): void; } //# sourceMappingURL=InstancedMesh3D.d.ts.map