FMaterialEditorUtilities::GetExpressionPreview

Get a preview material render proxy for an expression

Unreal Engine C++ API Reference > Editor > MaterialEditor > FMaterialEditorUtilities

References

   
Module MaterialEditor
Header /Engine/Source/Editor/MaterialEditor/Public/MaterialEditorUtilities.h
Include #include "MaterialEditorUtilities.h"
Source /Engine/Source/Editor/MaterialEditor/Private/MaterialEditorUtilities.cpp
static [FMaterialRenderProxy](API\Runtime\Engine\Materials\FMaterialRenderProxy) * GetExpressionPreview
(
    const class [UEdGraph](API\Runtime\Engine\EdGraph\UEdGraph) * Graph,
    [UMaterialExpression](API\Runtime\Engine\Materials\UMaterialExpression) * InExpression
)

Remarks

Get a preview material render proxy for an expression FMaterialRenderProxy* Preview for this expression or NULL

Parameters

Name Description
Graph Graph representing material
InExpression Expression we want preview for

Ask questions and help your peers Developer Forums

Write your own tutorials or read those from others Learning Library