Navigation
API > API/Editor > API/Editor/UnrealEd > API/Editor/UnrealEd/USelection > API/Editor/UnrealEd/USelection/CountSelections
References
| Module | UnrealEd |
| Header | /Engine/Source/Editor/UnrealEd/Public/Selection.h |
| Include | #include "Selection.h" |
template<class T>
int32 CountSelections
&40;
bool bIgnorePendingKill
&41;
Remarks
Returns the number of selected objects of the specified type. The number of objects of the specified type.
Parameters
| Name | Description |
|---|---|
| bIgnorePendingKill | specify true to count only those objects which are not pending kill (marked for garbage collection) |