API

Interface PLYHeader

meta info on Splat file

interface PLYHeader {
    buffer: ArrayBuffer;
    chunkCount: number;
    chunkProperties: PlyProperty[];
    dataView: DataView;
    rowChunkLength: number;
    rowVertexLength: number;
    shBuffer: ArrayBuffer | null;
    shCoefficientCount: number;
    shDegree: number;
    vertexCount: number;
    vertexProperties: PlyProperty[];
}
Index
buffer: ArrayBuffer

buffer for the data view

chunkCount: number

number of spatial chunks for compressed ply

chunkProperties: PlyProperty[]

array listing properties per chunk

dataView: DataView

data view for parsing chunks and vertices

rowChunkLength: number

length in bytes of the chunk

rowVertexLength: number

length in bytes of the vertex info

shBuffer: ArrayBuffer | null

buffer for SH coefficients

shCoefficientCount: number

number of coefficient per splat

shDegree: number

degree of SH coefficients

vertexCount: number

number of splats

vertexProperties: PlyProperty[]

array listing properties per vertex