/Engine/Plugins/Runtime/MeshModelingToolset/Source/ModelingComponents/Public/Selection/GeometrySelector.h
TargetObject cast to template ObjectTypeT, or nullptr if it is not defined or not this type
template<typename ObjectTypeT> ObjectTypeT * GetAsObjectType() const