Companion

object Companion

Properties

Link copied to clipboard

The maximum number of material maps. This is the maximum size of the maps list.

Functions

Link copied to clipboard
fun default(shader: Shader? = null, apply: Material.() -> Unit = {}): Material

Loads the default material.

Link copied to clipboard
fun load(fileName: String): List<Material>
fun load(file: File): List<Material>

Loads materials from a file.