Navigation
API > API/Editor > API/Editor/GraphEditor > API/Editor/GraphEditor/MaterialNodes > API/Editor/GraphEditor/MaterialNodes/FPreviewElement
References
| Module | GraphEditor |
| Header | /Engine/Source/Editor/GraphEditor/Public/MaterialNodes/SGraphNodeMaterialBase.h |
| Include | #include "MaterialNodes/SGraphNodeMaterialBase.h" |
| Source | /Engine/Source/Editor/GraphEditor/Private/MaterialNodes/SGraphNodeMaterialBase.cpp |
bool BeginRenderingCanvas
(
const FIntRect & InCanvasRect,
const FIntRect & InClippingRect,
UMaterialGraphNode * InGraphNode,
bool bInIsRealtime
)
Remarks
Sets up the canvas for rendering Whether there is anything to render
Parameters
| Name | Description |
|---|---|
| InCanvasRect | Size of the canvas tile |
| InClippingRect | How to clip the canvas tile |
| InGraphNode | The graph node for the material preview |
| bInIsRealtime | Whether preview is using realtime values |