SGraphNodeDocumentation

Windows
MacOS
Linux

Inheritance Hierarchy

References

Module

GraphEditor

Header

/Engine/Source/Editor/GraphEditor/Public/SGraphNodeDocumentation.h

Include

#include "SGraphNodeDocumentation.h"

Syntax

class SGraphNodeDocumentation : public SGraphNodeResizable

Functions

Name Description

Public function

void

 

Construct

(
    const FArguments& InArgs,
    UEdGraphNode* InNode
)

Protected function

TSharedPtr< ...

 

CreateDocumentationPage()

Create documentation page from link and excerpt

Protected function Const

FOptionalSiz...

 

GetContentHeight()

Returns the height the documentation content must adhere to, used as a delegate in child widgets

Protected function Const

FOptionalSiz...

 

GetContentWidth()

Returns the width the documentation content must adhere to, used as a delegate in child widgets

Protected function Const

FText

 

GetDocumentationTitle()

Retrives the current documentation title based on the chosen excerpt

Protected function Const

float

 

GetDocumentationWrapWidth()

Returns the child widget text wrapat size, used as a delegate during creation of documentation page

Protected function Const

FLinearColor

 

GetPageGradientEndColor()

Color of the page gradient end

Protected function Const

FLinearColor

 

GetPageGradientStartColor()

Color of the page gradient start

Protected function Const

EVisibility

 

GetWidgetVisibility()

Returns the current child widgets visibility for hit testing

Overridden from SGraphNodeResizable

Name Description

Public function Virtual Const

FSlateRect

 

GetHitTestingBorder()

Public function Virtual Const

FVector2D

 

GetNodeMaximumSize()

Return largest desired node size

Public function Virtual Const

FVector2D

 

GetNodeMinimumSize()

Return smallest desired node size

Public function Virtual Const

float

 

GetTitleBarHeight()

Get the current titlebar size

Overridden from SGraphNode

Name Description

Protected function Virtual Const

bool

 

IsNameReadOnly()

Helper function to check if node can be renamed

Protected function Virtual

void

 

UpdateGraphNode()

Update this GraphNode to match the data that it is observing

Overridden from SWidget

Name Description

Public function Virtual Const

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.

Public function Virtual

FReply

 

OnMouseWheel

(
    const FGeometry& MyGeometry,
    const FPointerEvent& MouseEvent
)

Called when the mouse wheel is spun. This event is bubbled.

Public function Virtual

void

 

Tick

(
    const FGeometry& AllottedGeometry,
    const double InCurrentTime,
    const float InDeltaTime
)

Ticks this widget with Geometry.

Classes

Name

Description

Public struct

FArguments

Help shape the future of Unreal Engine documentation! Tell us how we're doing so we can serve you better.
Take our survey
Dismiss