add

fun add(elements: Array<out Material>)

Appends an array of materials to the end of this list.

Parameters

elements

The array of Material instances to append.


fun add(element: Material)

Appends a material to the end of this list.

Parameters

element

The Material instance to append.