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 ESMPropertyInteractionType InteractionType, const TWeakPtr< SGraphPanel > & GraphPanel, bool bForce) |
| virtual bool | IsGraphPropertyVisuallyEnabled() const |
| TSharedRef< SBorder > | MakeHighlightBorder() |
| TSharedRef< SWidget > | MakeNotifyIconWidget() |
| EVisibility | GetHighlightVisibility() const |
| FSlateColor | GetHighlightColor() 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¶
inline virtual void OnInteractProperty(
const ESMPropertyInteractionType InteractionType,
const TWeakPtr< SGraphPanel > & GraphPanel,
bool bForce
)
Called when the owning graph property node is interacted with.
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 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.