18 results for "TArray"
The primary dynamic array container in Unreal Engine, equivalent to `std::vector`.
Appends an element to the end of the array and returns its index.
Adds an element only if it is not already present in the array.
Returns true if the array contains at least one element equal to Item.
Returns true if any element satisfies the predicate.
Constructs a new element in-place at the end of the array using the provided constructor arguments.
Searches for Item using operator== and returns true if found, setting Index to its position.
Returns a pointer to the first element for which Pred returns true, or nullptr if none match.
Returns true if the array contains no elements.
Returns the number of elements currently in the array.
Removes all elements equal to Item and returns the number of elements removed.
Removes all elements for which the predicate returns true, preserving order of remaining elements.
Pre-allocates memory for at least Number elements without changing the logical size.
Removes all elements (calls destructors) but retains allocated memory for reuse.
Sorts the array in-place using an introspective sort (introsort).
Sorts the array in-place and guarantees that equal elements retain their original relative order.
Returns all components of the given class attached to this actor.
An unordered container of unique elements backed by a hash set.