wasm-spatial-core
    Preparing search index...

    Class PlyResult

    Result of parsing a PLY file. Contains vertex positions, optional colors, optional normals, and face count.

    Index
    colors: Uint8Array

    Vertex colors as Uint8Array [r, g, b, ...], or null if no color data.

    faceCount: number

    Number of faces (polygons).

    normals: Float32Array

    Vertex normals as Float32Array [nx, ny, nz, ...], or null if no normal data.

    positions: Float32Array

    Vertex positions as Float32Array [x, y, z, x, y, z, ...].

    vertexCount: number

    Number of vertices.