USelection::GetSelectedObjects

Fills in the specified array with all selected objects of the desired type.