load

fun load(fileName: String): List<Material>

Loads materials from a file.

Return

A list of loaded materials.

Parameters

fileName

The file name to load the materials from.


fun load(file: File): List<Material>

Loads materials from a file.

Return

A list of loaded materials.

Parameters

file

The file to load the materials from.