SSMGraphProperty_Base¶
Module: SMSystemEditor
#include <SSMGraphProperty_Base.h>
Inherits from SCompoundWidget
Description¶
Base representation of an exposed graph property. Extend this to implement custom graph properties.
Protected Functions¶
| Name | |
|---|---|
| virtual void | OnInteractProperty(const FSMPropertyInteractionEventArgs & InArgs) |
| virtual bool | IsGraphPropertyVisuallyEnabled() const |
| TSharedRef< SBorder > | MakeHighlightBorder() |
| TSharedRef< SWidget > | MakeNotifyIconWidget() |
| virtual EVisibility | GetHighlightVisibility() const |
| virtual FSlateColor | GetHighlightColor() const |
| bool | IsHighlightTargetingThisRow() const |
| EVisibility | GetNotifyVisibility() const |
| const FSlateBrush * | GetNotifyIconBrush() const |
| FSlateColor | GetNotifyIconColor() const |
| FText | GetNotifyIconTooltip() const |
| FText | BuildPropertyTooltipText() const |
Protected Attributes¶
| Name | |
|---|---|
| TWeakObjectPtr< UEdGraphNode > | GraphNode |
| constexpr float | HighlightPadding |
| const FMargin | NotifyPadding |
Friends¶
| Name | |
|---|---|
| class | SSMNodeInstancePropertyView |
Protected Functions Documentation¶
function OnInteractProperty¶
Called when the owning graph property node is interacted with. Widgets sharing a property node filter by matching FSMPropertyInteractionEventArgs::SubPinId so sub-pin events don't leak to the main row and vice versa.
function IsGraphPropertyVisuallyEnabled¶
Special handling for IsEnabled(), to be called by children on specific widgets, so we still allow interaction while dimming the property.
function MakeHighlightBorder¶
function MakeNotifyIconWidget¶
function GetHighlightVisibility¶
function GetHighlightColor¶
function IsHighlightTargetingThisRow¶
Whether the property node's current highlight should display on this widget. When FHighlightArgs::SubPinName is empty (whole-node mode), only the main row lights up so a hover/select on the parent doesn't bleed onto its sub-pin rows. When SubPinName is set, only the sub-pin row whose engine PinName matches lights up; the main row stays neutral so the highlight doesn't double up on the parent.
function GetNotifyVisibility¶
function GetNotifyIconBrush¶
function GetNotifyIconColor¶
function GetNotifyIconTooltip¶
function BuildPropertyTooltipText¶
Creates tooltip text for the given property.
Protected Attributes Documentation¶
variable GraphNode¶
variable HighlightPadding¶
variable NotifyPadding¶
Private Attributes Documentation¶
variable CachedParentStateWidget¶
Cached ptr to parent state widget.
variable TreeItemWeakPtr¶
Pointer back to the tree item that owns us.
variable RegisteredWidgetGuid¶
Guid assigned to our widget from the owning state node.