Navigation
API > API/Plugins > API/Plugins/GeometryScriptingCore > API/Plugins/GeometryScriptingCore/FGeometryScriptMeshSelection
Description
Note that for edge selections, this can return more elements than expected because both can be redundantly represented i.e. an edge can be in the selection once per 'half edge', since it is represented by triangle/index-in-triangle pair. Call GetNumUniqueValidSelected(Mesh) to get the number of unique elements in the selection
| Name | GetNumSelected |
| Type | function |
| Header File | /Engine/Plugins/Runtime/GeometryScripting/Source/GeometryScriptingCore/Public/GeometryScript/GeometryScriptSelectionTypes.h |
| Include Path | #include "GeometryScript/GeometryScriptSelectionTypes.h" |
| Source | /Engine/Plugins/Runtime/GeometryScripting/Source/GeometryScriptingCore/Private/GeometryScriptSelectionTypes.cpp |
int32 GetNumSelected() const