Toggle menu
Toggle preferences menu
Toggle personal menu
Not logged in
Your IP address will be publicly visible if you make any edits.

ProtoFlux:RemoveAll

From Resonite Wiki
RemoveAll
*
OnRemoved
Element
OnFail
Collection
RemovedCount
Collections

The RemoveAll node takes in a Collection and a provided element that will be removed from the collection. When called, it will remove all instances that match that element referenced.

If you wanted to remove all entries from the collection, use the Clear node instead.

Inputs

* (Call)

Calls an impulse to remove all matching elements from the collection.

Element (Generic)

The referenced element used to remove all other matching elements in the collection.

Collection (IList)

The collection to remove elements from.

Outputs

OnRemoved (Continuation)

Fires when successful on removing element(s) from the collection.

OnFail (Continuation)

Fires when the remove operation could not be done.

RemovedCount (Int)

The number of removed elements from the collection.