omega-game-engine
    Preparing search index...

    A class for parsing the contents of a Wavefront .mtl (Material Template Library) file.

    • It converts the material definitions into a structured object format.
    Index

    Constructors

    Methods

    Constructors

    Methods

    • Parses the content of an MTL (Material Template Library) file string. *

      Parameters

      • mtlContent: string

        The entire content of the MTL file as a string. *

      Returns ParsedMtlData

      • An object containing all defined materials, keyed by name.