JME - Application Documentation
    Preparing search index...

    Function bodyTypeForModelIndex

    • Derive the body type string from a model index into carFiles. Model filenames are /models/car-<bodyType>-<color>.obj.

      Parameters

      • modelIndex: number

        index into the loaded car model array

      Returns string

      the body type string