Spaces:
Running
Running
Download backend/libs/three/objects/InstancedMesh.d.ts from k-l-lambda/starry: direct link, hf CLI and curl.
- Browser
- Download file 1.01 kB
-
https://huggingface.co/spaces/k-l-lambda/starry/resolve/main/backend/libs/three/objects/InstancedMesh.d.ts
- Command line
-
hf download hf://spaces/k-l-lambda/starry/backend/libs/three/objects/InstancedMesh.d.ts
-
curl -L -o InstancedMesh.d.ts https://huggingface.co/spaces/k-l-lambda/starry/resolve/main/backend/libs/three/objects/InstancedMesh.d.ts
1.01 kB
| import { BufferGeometry } from '../core/BufferGeometry'; | |
| import { Material } from './../materials/Material'; | |
| import { BufferAttribute } from './../core/BufferAttribute'; | |
| import { InstancedBufferAttribute } from '../core/InstancedBufferAttribute'; | |
| import { Mesh } from './Mesh'; | |
| import { Matrix4 } from './../math/Matrix4'; | |
| import { Color } from './../math/Color'; | |
| export class InstancedMesh<TGeometry extends BufferGeometry = BufferGeometry, TMaterial extends Material | Material[] = Material | Material[]> extends Mesh< | |
| TGeometry, | |
| TMaterial | |
| > { | |
| constructor(geometry: TGeometry | undefined, material: TMaterial | undefined, count: number); | |
| count: number; | |
| instanceColor: null | InstancedBufferAttribute; | |
| instanceMatrix: InstancedBufferAttribute; | |
| readonly isInstancedMesh: true; | |
| getColorAt(index: number, color: Color): void; | |
| getMatrixAt(index: number, matrix: Matrix4): void; | |
| setColorAt(index: number, color: Color): void; | |
| setMatrixAt(index: number, matrix: Matrix4): void; | |
| dispose(): void; | |
| } | |