@three.ez/instanced-mesh
Version:
Enhanced InstancedMesh with frustum culling, fast raycasting (using BVH), sorting, visibility management and more.
19 lines • 757 B
TypeScript
import { Mesh } from 'three';
declare module '../InstancedMesh2.js' {
interface InstancedMesh2 {
/**
* Gets the morph target data for a specific instance.
* @param id The index of the instance.
* @param object Optional `Mesh` to store the morph target data.
* @returns The mesh object with updated morph target influences.
*/
getMorphAt(id: number, object?: Mesh): Mesh;
/**
* Sets the morph target influences for a specific instance.
* @param id The index of the instance.
* @param object The `Mesh` containing the morph target influences to apply.
*/
setMorphAt(id: number, object: Mesh): void;
}
}
//# sourceMappingURL=Morph.d.ts.map