Navigation
API > API/Editor > API/Editor/MaterialEditor
| Name | SGraphNodeMaterialBase |
| Type | class |
| Header File | /Engine/Source/Editor/MaterialEditor/Public/MaterialEditor/MaterialNodes/SGraphNodeMaterialBase.h |
| Include Path | #include "MaterialEditor/MaterialNodes/SGraphNodeMaterialBase.h" |
Syntax
class SGraphNodeMaterialBase : public SGraphNode
Inheritance Hierarchy
- FSharedFromThisBase → TSharedFromThis → SWidget → SPanel → SNodePanel::SNode → SGraphNode → SGraphNodeMaterialBase
- FSlateControlledConstruction → SWidget → SPanel → SNodePanel::SNode → SGraphNode → SGraphNodeMaterialBase
Derived Classes
Structs
| Name | Remarks |
|---|---|
| FArguments |
Functions
Public
| Name | Remarks | Include Path | Unreal Specifiers |
|---|---|---|---|
void Construct
(
const FArguments& InArgs, |
MaterialEditor/MaterialNodes/SGraphNodeMaterialBase.h | ||
virtual void CreatePinWidgets() |
MaterialEditor/MaterialNodes/SGraphNodeMaterialBase.h | ||
UMaterialGraphNode * GetMaterialGraphNode() |
MaterialEditor/MaterialNodes/SGraphNodeMaterialBase.h | ||
virtual void MoveTo
(
const FVector2f& NewPosition, |
MaterialEditor/MaterialNodes/SGraphNodeMaterialBase.h | ||
virtual void PopulateMetaTag
(
FGraphNodeMetaData* TagMeta |
Populate a meta data tag with information about this graph node | MaterialEditor/MaterialNodes/SGraphNodeMaterialBase.h |
Protected
| Name | Remarks | Include Path | Unreal Specifiers |
|---|---|---|---|
virtual void AddPin
(
const TSharedRef< SGraphPin >& PinToAdd |
MaterialEditor/MaterialNodes/SGraphNodeMaterialBase.h | ||
virtual void CreateBelowPinControls
(
TSharedPtr< SVerticalBox > MainBox |
MaterialEditor/MaterialNodes/SGraphNodeMaterialBase.h | ||
virtual TSharedRef< SWidget > CreateNodeContentArea() |
MaterialEditor/MaterialNodes/SGraphNodeMaterialBase.h | ||
TSharedRef< SWidget > CreatePreviewWidget() |
Creates a preview viewport if necessary | MaterialEditor/MaterialNodes/SGraphNodeMaterialBase.h | |
FText ExpressionPreviewOverlayText() |
Returns text to over lay over the expression preview viewport | MaterialEditor/MaterialNodes/SGraphNodeMaterialBase.h | |
EVisibility ExpressionPreviewVisibility() |
Returns visibility of Expression Preview viewport | MaterialEditor/MaterialNodes/SGraphNodeMaterialBase.h | |
const FSlateBrush * GetExpressionPreviewArrow() |
Up when shown, down when hidden | MaterialEditor/MaterialNodes/SGraphNodeMaterialBase.h | |
ECheckBoxState IsExpressionPreviewChecked() |
Hidden == unchecked, shown == checked | MaterialEditor/MaterialNodes/SGraphNodeMaterialBase.h | |
virtual void OnAdvancedViewChanged
(
const ECheckBoxState NewCheckedState |
MaterialEditor/MaterialNodes/SGraphNodeMaterialBase.h | ||
void OnExpressionPreviewChanged
(
const ECheckBoxState NewCheckedState |
Show/hide Expression Preview | MaterialEditor/MaterialNodes/SGraphNodeMaterialBase.h | |
FReply OnTogglePreviewClicked() |
Called when we click to preview node button | MaterialEditor/MaterialNodes/SGraphNodeMaterialBase.h | |
virtual void SetDefaultTitleAreaWidget
(
TSharedRef< SOverlay > DefaultTitleAreaWidget |
MaterialEditor/MaterialNodes/SGraphNodeMaterialBase.h |