omega-game-engine
    Preparing search index...

    Interface ObjFace

    ObjFace Represents a single face (polygon) as defined in the OBJ file, storing 0-based indices to original vertex, UV, and normal lists.

    interface ObjFace {
        normals: number[];
        positions: number[];
        uvs: number[];
    }
    Index

    Properties

    Properties

    normals: number[]

    Array of 0-based vertex normal indices for this face.

    • Can contain -1 if normals are not provided for a vertex.
    positions: number[]

    Array of 0-based vertex position indices for this face. *

    uvs: number[]

    Array of 0-based vertex texture coordinate indices for this face.

    • Can contain -1 if UVs are not provided for a vertex.