Navigation
API > API/Editor > API/Editor/GraphEditor > API/Editor/GraphEditor/MaterialNodes
Inheritance Hierarchy
- ISlateViewport
- FPreviewViewport
References
| Module | GraphEditor |
| Header | /Engine/Source/Editor/GraphEditor/Public/MaterialNodes/SGraphNodeMaterialBase.h |
| Include | #include "MaterialNodes/SGraphNodeMaterialBase.h" |
Syntax
class FPreviewViewport : public ISlateViewport
Variables
| Type | Name | Description | |
|---|---|---|---|
| UMaterialGraphNode * | MaterialNode | Material node to get expression preview from | |
| FThreadSafePreviewPtr | PreviewElement | Custom Slate Element to display the preview |
Constructors
| Type | Name | Description | |
|---|---|---|---|
FPreviewViewport
(
UMaterialGraphNode* InNode |
Destructors
| Type | Name | Description | |
|---|---|---|---|
Functions
| Type | Name | Description | |
|---|---|---|---|
| FIntPoint | GetSize () |
||
| FSlateShaderResource * | |||
| void | OnDrawViewport
(
const FGeometry& AllottedGeometry, |
||
| bool |