Class MeshLoader

Hierarchy

  • MeshLoader

Constructors

Methods

Constructors

Methods

  • Parameters

    • filename: string
    • callback: null | ((rootNode: Node3) => void) = null
    • recursive: boolean = true

    Returns Node3

  • Loads an OBJ file

    Returns

    A Mesh object containing the data loaded from the file

    Parameters

    • filename: string

      The relative path to the OBJ file

    • callback: null | ((loadedMesh: Mesh3) => void) = null

      An optional callback that is called when the file has been loaded

    Returns Mesh3

  • Loads a PLY file

    Returns

    A Mesh object containing the data loaded from the file

    Parameters

    • filename: string

      The relative path to the PLY file

    • callback: null | ((loadedMesh: Mesh3) => void) = null

      An optional callback that is called when the file has been loaded

    Returns Mesh3

Generated using TypeDoc