Navigation
API > API/Editor > API/Editor/GraphEditor > API/Editor/GraphEditor/SNodePanel
Inheritance Hierarchy
- FSlateControlledConstruction
- TSharedFromThis
- SWidget
- SPanel
- SNodePanel::SNode
- SGraphNode
- SDataflowEdNode
- SGraphNodeAI
- SGraphNodeColorConstant
- SGraphNodeDefault
- SGraphNodeKnot
- SRigVMGraphNodeKnot
- SGraphNodeFloatConstant
- SGraphNodeK2Base
- SAnimationGraphNode
- SGraphNodeK2Composite
- SGraphNodeK2Default
- SGraphNodeK2Event
- SGraphNodeK2Var
- SGraphNodeResizable
- SGraphNodeComment
- SDataflowEdNodeComment
- SRigVMGraphNodeComment
- SGraphNodeDocumentation
- SGraphNodeSkeletalMesh
- SGraphNodeStaticMesh
- SGraphNodeTexture
- SRigVMGraphNode
- SSubmixGraphNode
References
| Module | GraphEditor |
| Header | /Engine/Source/Editor/GraphEditor/Public/SNodePanel.h |
| Include | #include "SNodePanel.h" |
Syntax
class SNode : public SPanel
Variables
| Type | Name | Description | |
|---|---|---|---|
| TAttribute< FSlateColor > | BorderBackgroundColor | ||
| TAttribute< const FSlateBrush * > | BorderImage | SBorder Begin. | |
| TAttribute< FLinearColor > | ColorAndOpacity | The color and opacity to apply to this widget and all its descendants. | |
| TAttribute< FVector2D > | ContentScale | SPanel Begin. | |
| TAttribute< FVector2D > | DesiredSizeScale | ||
| TAttribute< FSlateColor > | ForegroundColor | Optional foreground color that will be inherited by all of this widget's contents | |
| FPointerEventHandler | MouseButtonDownHandler | Mouse event handlers | |
| FPointerEventHandler | MouseButtonUpHandler | ||
| FPointerEventHandler | MouseDoubleClickHandler | ||
| FPointerEventHandler | MouseMoveHandler | ||
| TAttribute< bool > | ShowDisabledEffect | Whether or not to show the disabled effect when this border is disabled |
Constructors
| Type | Name | Description | |
|---|---|---|---|
SNode () |
Functions
| Type | Name | Description | |
|---|---|---|---|
| bool | CanBeSelected
(
const FVector2D& MousePositionInNode |
Return if the node can be selected, by pointing given location | |
| void | Called when user interaction has completed | ||
| FVector2D | Override, when area used to select node, should be different, than it's size e.g. comment node - only title bar is selectable return size of node used for Marquee selecting | ||
| void | GetDiffHighlightBrushes
(
const FSlateBrush*& BackgroundOut, |
Used by GetDiffHighlights to generate outlines for diffed nodes | |
| TArray< SNodePanel::SNode::DiffHighlightInfo > | GetDiffHighlights
(
const FDiffSingleResult& DiffResult |
||
| FString | |||
| void | GetNodeInfoPopups
(
FNodeInfoContext* Context, |
Populate the popups array with any popups to render | |
| UObject * | |||
| FScopedWidgetSlotArguments | GetOrAddSlot
(
const ENodeZone::Type SlotId |
||
| void | GetOverlayBrushes
(
bool bSelected, |
Populate the brushes array with any overlay brushes to render | |
| TArray< FOverlayWidgetInfo > | GetOverlayWidgets
(
bool bSelected, |
Populate the widgets array with any overlay widgets to render | |
| FVector2D | GetPosition () |
||
| const FSlateBrush * | GetShadowBrush
(
bool bSelected |
||
| FNodeSlot * | GetSlot
(
const ENodeZone::Type SlotId |
||
| int32 | GetSortDepth () |
Returns node sort depth, defaults to and is generally 0 for most nodes. | |
| void | |||
| void | PerformSecondPassLayout
(
const TMap< UObject*, TSharedRef< SNode > >& InNodeToWidgetLookup |
Performs second pass layout; only called if RequiresSecondPassLayout returned true | |
| void | RemoveSlot
(
const ENodeZone::Type SlotId |
||
| bool | Returns true if this node is dependent on the location of other nodes (it can only depend on the location of first-pass only nodes) | ||
| void | SetParentPanel
(
const TSharedPtr< SNodePanel >& InParent |
||
| bool | Return false if this node should not be culled. |
Overridden from SWidget
| Type | Name | Description | |
|---|---|---|---|
| FVector2D | ComputeDesiredSize
(
float |
A Panel's desired size in the space required to arrange of its children on the screen while respecting all of the children's desired sizes and any layout-related options specified by the user. | |
| FChildren * | GetChildren () |
All widgets must provide a way to access their children in a layout-agnostic way. | |
| float | GetRelativeLayoutScale
(
int32 ChildIndex, |
What is the Child's scale relative to this widget. | |
| void | OnArrangeChildren
(
const FGeometry& AllottedGeometry, |
Panels arrange their children in a space described by the AllottedGeometry parameter. | |
| int32 | OnPaint
(
const FPaintArgs& Args, |
The widget should respond by populating the OutDrawElements array with FDrawElements that represent it and any of its children. |
Operators
| Type | Name | Description | |
|---|---|---|---|
| bool | operator<
(
const SNodePanel::SNode& NodeIn |
Node Sort Operator. |
Classes
| Type | Name | Description | |
|---|---|---|---|
| DiffHighlightInfo | |||
| FNodeSlot | A slot that support alignment of content and padding and z-order |
Typedefs
| Name | Description |
|---|---|
| FNodeSet | |
| FScopedWidgetSlotArguments |