/Engine/Source/Editor/CurveEditor/Public/CurveEditor.h
Return the curve model IDs that are selected in the tree or have selected keys
[TSet](API\Runtime\Core\Containers\TSet)< [FCurveModelID](API\Editor\CurveEditor\FCurveModelID) > GetSelectionFromTreeAndKeys() const