omega-game-engine
    Preparing search index...

    Interface ParsedObjData

    ParsedObjData Represents the consolidated mesh data parsed from an OBJ file, ready for use in a graphics API like WebGL.

    interface ParsedObjData {
        indices: number[];
        normals: number[];
        uvs: number[];
        vertices: number[];
    }
    Index

    Properties

    indices: number[]

    Indexed drawing buffer: A list of indices referring to the consolidated

    • vertex attributes (positions, normals, uvs). These define the triangles.
    normals: number[]

    Flattened array of vertex normals (e.g., [nx1, ny1, nz1, nx2, ny2, nz2, ...]). *

    uvs: number[]

    Flattened array of vertex texture coordinates (e.g., [u1, v1, u2, v2, ...]). *

    vertices: number[]

    Flattened array of vertex positions (e.g., [x1, y1, z1, x2, y2, z2, ...]). *