USelection::CountSelections

Returns the number of selected objects of the specified type.

Windows
MacOS
Linux

References

Module

Engine

Header

/Engine/Source/Runtime/Engine/Classes/Engine/Selection.h

Include

#include "Engine/Selection.h"

Syntax

template<class T>
int32 CountSelections
(
    bool bIgnorePendingKill
)

Remarks

Returns the number of selected objects of the specified type.

Returns

The number of objects of the specified type.

Parameters

Parameter

Description

bIgnorePendingKill

specify true to count only those objects which are not pending kill (marked for garbage collection)

Help shape the future of Unreal Engine documentation! Tell us how we're doing so we can serve you better.
Take our survey
Dismiss