removeLast

Removes and returns the last material in the array.

Return

The last Material instance in the array.

Throws

NoSuchElementException

If the array is empty.