addCollection

fun addCollection(collection: EntityCollection, index: Int? = definedExternally)(source)

Adds a collection to the composite.

Parameters

collection

the collection to add.

index

the index to add the collection at. If omitted, the collection will added on top of all existing collections.

See also