USelection::Num

Returns the number of objects in the selection set.

Windows
MacOS
Linux

References

Module

Engine

Header

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

Include

#include "Engine/Selection.h"

Syntax

int32 Num() const

Remarks

Returns the number of objects in the selection set. This function is used by clients in conjunction with op::() to iterate over selected objects.

that some of these objects may be NULL, and so clients should use CountSelections() to get the true number of non-NULL selected objects.

Returns

Number of objects in the selection set.

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