Module |
|
Header |
/Engine/Source/Editor/Kismet/Public/SSCSEditor.h |
Include |
#include "SSCSEditor.h" |
class SSCSEditor : public SCompoundWidget
Name | Description | ||
---|---|---|---|
|
TAttribute< cla... |
ActorContext |
Attribute that provides access to the Actor context for which we are viewing/editing the SCS. |
|
TAttribute< boo... |
AllowEditing |
Attribute to indicate whether or not editing is allowed. |
|
TSharedPtr< FUI... |
CommandList |
Command list for handling actions in the SSCSEditor |
|
TAttribute< TSu... |
ComponentTypeFilter |
Attribute to limit visible nodes to a particular component type when filtering the tree view. |
|
TUniquePtr< FSc... |
DeferredOngoingCreateTransaction |
Scope the creation of a component which ends when the initial component 'name' is given/accepted by the user, which can be several frames after the component was actually created. |
|
DeferredRenameRequest |
Name of a node that has been requested to be renamed |
|
|
TAttribute< boo... |
HideComponentClassCombo |
Attribute to indicate whether or not the "Add Component" button is visible. |
|
OnHighlightPropertyInDetailsView |
Delegate to invoke when the given property should be highlighted in the details view (e.g. diff). |
|
|
OnItemDoubleClicked |
Delegate to invoke when an item in the tree is double clicked. |
|
|
OnSelectionUpdated |
Delegate to invoke on selection update. |
|
|
PostTickHandle |
Used to unregister from the post tick event. |
|
|
TAttribute< cla... |
PreviewActor |
Attribute that provides access to a "preview" Actor context (may not be same as the Actor context that's being edited. |
|
TSharedPtr< SSC... |
SCSTreeWidget |
Tree widget |
Name | Description | |
---|---|---|
|
~SSCSEditor() |
Name | Description | ||
---|---|---|---|
|
UActorCompon... |
AddNewComponent ( |
Adds a component to the SCS Table |
|
AddNewNode ( |
Adds a new SCS Node to the component Table |
|
|
UActorCompon... |
AddNewNode ( |
Adds a new SCS Node to the component Table |
|
AddNewNodeForInstancedComponent ( |
Adds a new component instance node to the component Table |
|
|
FSCSEditorTr... |
AddTreeNode ( |
Helper method to add a tree node for the given SCS node |
|
FSCSEditorTr... |
AddTreeNodeFromChildActor ( |
Helper method to add a tree node for the given node's child actor node, if present |
|
FSCSEditorTr... |
AddTreeNodeFromComponent ( |
Helper method to add a tree node for the given actor component |
|
BuildMenuEventsSection ( |
Fills out an events section in ui. |
|
|
BuildSubTreeForActorNode ( |
Helper method to construct the subtree for the given actor (root) node. |
|
|
CanCopyNodes() |
||
|
CanCutNodes() |
||
|
CanDeleteNodes() |
||
|
CanDuplicateComponent() |
Callbacks to duplicate the selected component |
|
|
CanPasteNodes() |
Pastes previously copied node(s) |
|
|
CanRenameComponent() |
Checks to see if renaming is allowed on the selected component |
|
|
ClearSelection() |
Clears the current selection |
|
|
Construct ( |
||
|
ConstructEvent ( |
Function to construct an event for a node |
|
|
CopySelectedNodes() |
Copy selected node(s) |
|
|
TSharedPtr< ... |
CreateContextMenu() |
Called to display context menu when right clicking on the widget |
|
CreateEventsForSelection ( |
Function to create events for the current selection |
|
|
UClass * |
CreateNewBPComponent ( |
Creates a new Blueprint component from the specified class type The user will be prompted to pick a new subclass name and a blueprint asset will be created |
|
UClass * |
CreateNewCPPComponent ( |
Creates a new C++ component from the specified class type The user will be prompted to pick a new subclass name and code will be recompiled |
|
CutSelectedNodes() |
Cut selected node(s) |
|
|
DepthFirstTraversal ( |
Recursively visits the given node + its children and invokes the given function for each. |
|
|
DumpTree() |
Dumps out the tree view contents to the log (used to assist with debugging widget hierarchy issues) |
|
|
FSCSEditorTr... |
FindOrCreateParentForExistingComponent ( |
|
|
FSCSEditorTr... |
FindParentForNewComponent ( |
|
|
FSCSEditorTr... |
FindParentForNewNode ( |
|
|
FSCSEditorTr... |
FindTreeNode ( |
Helper method to recursively find a tree node for the given scene component starting at the given tree node |
|
FSCSEditorTr... |
FindTreeNode ( |
Helper method to recursively find a tree node for the given SCS node starting at the given tree node |
|
FSCSEditorTr... |
FindTreeNode ( |
Helper method to recursively find a tree node for the given variable or instance name starting at the given tree node |
|
AActor * |
GetActorContext() |
Returns the Actor context for which we are viewing/editing the SCS. |
|
FSCSEditorAc... |
GetActorNode() |
Gets the actor root |
|
UBlueprint &... |
GetBlueprint() |
Provides access to the Blueprint context that's being edited |
|
GetCollapsedNodes ( |
Returns the set of expandable nodes that are currently collapsed in the UI |
|
|
GetComponentClassComboButtonVisibility() |
||
|
GetComponentsFilterBoxVisibility() |
||
|
GetComponentsTreeVisibility() |
||
|
TSubclassOf<... |
GetComponentTypeFilterToApply() |
|
|
GetEditBlueprintButtonVisibility() |
||
|
EComponentEd... |
GetEditorMode() |
|
|
GetFilterText() |
Callback for the action trees to get the filter text |
|
|
FSCSEditorTr... |
GetNodeFromActorComponent ( |
Given an actor component, attempts to find an associated tree node. |
|
GetNumSelectedNodes() |
Get the number of currently selected tree nodes |
|
|
GetPromoteToBlueprintButtonVisibility() |
||
|
const TArray... |
GetRootNodes() |
Gets a root nodes of the tree |
|
FSCSEditorTr... |
GetSceneRootNode() |
Get the root scene node |
|
GetSelectedEditableObjects() |
||
|
GetSelectedItemsForContextMenu |
Fills the supplied array with the currently selected objects |
|
|
GetSelectedNodes() |
Get the currently selected tree nodes |
|
|
HandleItemDoubleClicked ( |
Callback when a component item is double clicked. |
|
|
HighlightTreeNode |
Highlight a tree node and, optionally, a property with in it |
|
|
HighlightTreeNode ( |
Highlight a tree node and, optionally, a property with in it |
|
|
IsComponentSelected ( |
Returns true if the specified component is currently selected |
|
|
IsEditingAllowed() |
Returns true if editing is allowed |
|
|
IsNodeInSimpleConstructionScript ( |
Is this node still used by the Simple Construction Script |
|
|
TSharedRef< ... |
MakeTableRowWidget ( |
Used by tree control - make a widget for a table row from a node |
|
OnActorSelected ( |
Called when the Actor is selected. |
|
|
OnApplyChangesToBlueprint() |
Propagates instance changes to the blueprint |
|
|
OnDeleteNodes() |
Removes existing selected component nodes from the SCS |
|
|
OnDuplicateComponent() |
||
|
OnFilterTextChanged ( |
Recursively updates the filtered state for each component item |
|
|
OnFindReferences() |
Callbacks to find references of the selected component |
|
|
OnGetApplyChangesToBlueprintTooltip() |
||
|
OnGetChildrenForTree ( |
Used by tree control - get children for a specified node |
|
|
OnGetResetToBlueprintDefaultsTooltip() |
||
|
ECheckBoxSta... |
OnIsActorSelected() |
Called to determine if actor is selected. |
|
OnItemScrolledIntoView ( |
Callback when a component item is scrolled into view |
|
|
OnLevelComponentRequestRename ( |
Called when the level editor requests a component to be renamed. |
|
|
OnObjectsReplaced |
Called when component objects are replaced following construction script execution |
|
|
OnOpenBlueprintEditor ( |
Opens the blueprint editor for the blueprint being viewed by the scseditor |
|
|
OnPostTick ( |
Called at the end of each frame. |
|
|
OnPromoteToBlueprintClicked() |
Called when the promote to blueprint button is clicked |
|
|
OnRenameComponent ( |
Requests a rename on the selected component just after creation so that the user can provide the initial component name (overwriting the default generated one), which is considered part of the creation process. |
|
|
OnRenameComponent() |
Requests a rename on the selected component. |
|
|
OnResetToBlueprintDefaults() |
Resets instance changes to the blueprint default |
|
|
OnTreeSelectionChanged ( |
Called when selection in the tree changes |
|
|
PasteNodes() |
Pastes previously copied node(s) |
|
|
UActorCompon... |
PerformComboAddClass ( |
Add a component from the selection in the combo box |
|
PopulateContextMenu ( |
Populate context menu on the fly |
|
|
PromoteToBlueprint() |
Converts the current actor instance to a blueprint |
|
|
RefreshFilteredState ( |
Compares the filter bar's text with the item's component name. |
|
|
RefreshSelectionDetails() |
Forces the details panel to refresh on the same objects |
|
|
RegisterContextMenu() |
Registers context menu by name for later access |
|
|
RemoveComponentNode ( |
Removes an existing component node from the tree |
|
|
ReplaceComponentReferencesInTree ( |
Helper method to update component pointers held by the given actor node's subtree |
|
|
ReplaceComponentReferencesInTree ( |
Update component pointers held by tree nodes if components have been replaced following construction script execution |
|
|
SaveSCSCurrentState ( |
Function to save current state of SimpleConstructionScript and nodes associated with it. |
|
|
SaveSCSNode ( |
Function to save the current state of SCS_Node and its children |
|
|
SelectNode ( |
Select the given tree node |
|
|
SelectRoot() |
Select the root of the tree |
|
|
SetItemExpansionRecursive ( |
Handler for recursively expanding/collapsing items |
|
|
SetNodeExpansionState ( |
Set the expansion state of a node |
|
|
SetSceneRootNode ( |
||
|
SetSelectionOverride ( |
Assigns a selection override delegate to the specified component |
|
|
SetUICustomization |
Sets UI customizations of this SCSEditor. |
|
|
TryHandleAssetDragDropOperation ( |
Try to handle a drag-drop operation |
|
|
UpdateSelectionFromNodes ( |
Update any associated selection (e.g. details view) from the passed in nodes |
|
|
UpdateTree ( |
Refresh the tree control to reflect changes in the SCS |
|
|
ViewEvent ( |
Function to view an event for a node |
Name |
Description |
|
---|---|---|
|
FAddedNodeDetails |
|
|
FAddNewComponentParams |
Adds a component to the SCS tree |
|
FArguments |
Name | Description | ||
---|---|---|---|
|
UActorCompon... |
AddNewComponent |
Use version that takes parameter block |