Spaces:
Running
Running
File size: 1,112 Bytes
b24de8b |
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 |
import { Vector3 } from "../math/Vector3";
import { Quaternion } from "../math/Quaternion";
declare class SplatData {
static RowLength: number;
changed: boolean;
detached: boolean;
private _vertexCount;
private _positions;
private _rotations;
private _scales;
private _colors;
private _selection;
translate: (translation: Vector3) => void;
rotate: (rotation: Quaternion) => void;
scale: (scale: Vector3) => void;
serialize: () => Uint8Array;
reattach: (positions: ArrayBufferLike, rotations: ArrayBufferLike, scales: ArrayBufferLike, colors: ArrayBufferLike, selection: ArrayBufferLike) => void;
constructor(vertexCount?: number, positions?: Float32Array | null, rotations?: Float32Array | null, scales?: Float32Array | null, colors?: Uint8Array | null);
static Deserialize(data: Uint8Array): SplatData;
get vertexCount(): number;
get positions(): Float32Array;
get rotations(): Float32Array;
get scales(): Float32Array;
get colors(): Uint8Array;
get selection(): Uint8Array;
clone(): SplatData;
}
export { SplatData };
|