plusAssign

operator fun plusAssign(element: Material)

Overloads the += operator to append a single material to the end of the array.

Parameters

element

The Material instance to add.


operator fun plusAssign(elements: Array<Material>)

Overloads the += operator to append an array of materials to the end of the array.

Parameters

elements

The array of Material instances to add.