Spaces:
Running
Running
Download backend/libs/three/geometries/BoxGeometry.d.ts from k-l-lambda/starry: direct link, hf CLI and curl.
- Browser
- Download file 994 Bytes
-
https://huggingface.co/spaces/k-l-lambda/starry/resolve/main/backend/libs/three/geometries/BoxGeometry.d.ts
- Command line
-
hf download hf://spaces/k-l-lambda/starry/backend/libs/three/geometries/BoxGeometry.d.ts
-
curl -L -o BoxGeometry.d.ts https://huggingface.co/spaces/k-l-lambda/starry/resolve/main/backend/libs/three/geometries/BoxGeometry.d.ts
994 Bytes
| import { BufferGeometry } from '../core/BufferGeometry'; | |
| export class BoxGeometry extends BufferGeometry { | |
| /** | |
| * @param [width=1] — Width of the sides on the X axis. | |
| * @param [height=1] — Height of the sides on the Y axis. | |
| * @param [depth=1] — Depth of the sides on the Z axis. | |
| * @param [widthSegments=1] — Number of segmented faces along the width of the sides. | |
| * @param [heightSegments=1] — Number of segmented faces along the height of the sides. | |
| * @param [depthSegments=1] — Number of segmented faces along the depth of the sides. | |
| */ | |
| constructor(width?: number, height?: number, depth?: number, widthSegments?: number, heightSegments?: number, depthSegments?: number); | |
| /** | |
| * @default 'BoxGeometry' | |
| */ | |
| type: string; | |
| parameters: { | |
| width: number; | |
| height: number; | |
| depth: number; | |
| widthSegments: number; | |
| heightSegments: number; | |
| depthSegments: number; | |
| }; | |
| static fromJSON(data: any): BoxGeometry; | |
| } | |
| export { BoxGeometry as BoxBufferGeometry }; | |