plus

operator fun plus(element: Material): MaterialSet

A set with element added to the materials of this set.


operator fun plus(elements: Iterable<Material>): MaterialSet

A set with elements added to the materials of this set. If elements is a MaterialSet, its materials are added to the materials and its tags to the tags of this set.


operator fun plus(elements: Array<out Material>): MaterialSet
operator fun plus(elements: Sequence<Material>): MaterialSet

A set with elements added to the materials of this set.


operator fun plus(tag: Tag<Material>): MaterialSet

A set with tag added to the tags of this set. Nothing changes if a tag with the same key is part of it.