Buckets:
| import { Loader, Texture, Mesh, LoadingManager } from 'three' | |
| export interface Chunk { | |
| palette: number[] | |
| size: { x: number; y: number; z: number } | |
| data: Uint8Array | |
| } | |
| export class VOXLoader extends Loader { | |
| constructor(manager?: LoadingManager) | |
| load( | |
| url: string, | |
| onLoad: (chunks: Chunk[]) => void, | |
| onProgress?: (event: ProgressEvent) => void, | |
| onError?: (event: ErrorEvent) => void, | |
| ): void | |
| loadAsync(url: string, onProgress?: (event: ProgressEvent) => void): Promise<object[]> | |
| parse(data: ArrayBuffer): object[] | |
| } | |
| export class VOXMesh extends Mesh { | |
| constructor(chunk: Chunk) | |
| } | |
| // Data3DTexture | |
| export class VOXData3DTexture extends Texture { | |
| constructor(chunk: Chunk) | |
| } | |
Xet Storage Details
- Size:
- 712 Bytes
- Xet hash:
- 9fbbb61d24606d65d5ff3ba4d47b75a4f17030a74c72a7ae63eb7f6383871fbd
·
Xet efficiently stores files, intelligently splitting them into unique chunks and accelerating uploads and downloads. More info.