For the complete documentation index, see llms.txt. This page is also available as Markdown.

Select Actor Component via C++

USelection* SelectedComps = GEditor->GetSelectedComponents();
SelectedComps->DeselectAll();
GEditor->SelectComponent(Component, true, true, true);
GEditor->NoteSelectionChange();

NoteSelectionChange() updates the gizmo in the viewport and calls appropriate delegates.

Last updated