Navigation
API > API/Runtime > API/Runtime/Engine
| Name | UMaterialExpressionNamedRerouteUsage |
| Type | class |
| Header File | /Engine/Source/Runtime/Engine/Public/Materials/MaterialExpressionNamedReroute.h |
| Include Path | #include "Materials/MaterialExpressionNamedReroute.h" |
Syntax
UCLASS (CollapseCategories, HideCategories=Object, DisplayName="Named Reroute Usage", MinimalAPI)
class UMaterialExpressionNamedRerouteUsage : public UMaterialExpressionNamedRerouteBase
Inheritance Hierarchy
- UObjectBase → UObjectBaseUtility → UObject → UMaterialExpression → UMaterialExpressionRerouteBase → UMaterialExpressionNamedRerouteBase → UMaterialExpressionNamedRerouteUsage
Variables
Public
| Name | Type | Remarks | Include Path | Unreal Specifiers |
|---|---|---|---|---|
| Declaration | TObjectPtr< UMaterialExpressionNamedRerouteDeclaration > | The declaration this node is linked to. | Materials/MaterialExpressionNamedReroute.h | |
| DeclarationGuid | FGuid | The variable GUID, to support copy across graphs. | Materials/MaterialExpressionNamedReroute.h |
Functions
Public
| Name | Remarks | Include Path | Unreal Specifiers |
|---|---|---|---|
bool IsDeclarationValid() |
Check that the declaration isn't deleted. | Materials/MaterialExpressionNamedReroute.h |
Overridden from UMaterialExpression
| Name | Remarks | Include Path | Unreal Specifiers |
|---|---|---|---|
virtual void Build
(
MIR::FEmitter& Emitter |
Builds this expression's material IR. | Materials/MaterialExpressionNamedReroute.h | |
virtual int32 Compile
(
FMaterialCompiler* Compiler, |
Create the new shader code chunk needed for the Abs expression | Materials/MaterialExpressionNamedReroute.h | |
virtual int32 CompilePreview
(
FMaterialCompiler* Compiler, |
Materials/MaterialExpressionNamedReroute.h | ||
| Returns the text to display on the material expression (in the material editor). | Materials/MaterialExpressionNamedReroute.h | ||
virtual EMaterialValueType GetOutputValueType
(
int32 OutputIndex |
Materials/MaterialExpressionNamedReroute.h | ||
virtual bool MatchesSearchQuery
(
const TCHAR* SearchQuery |
MatchesSearchQuery: Check this expression to see if it matches the search query | Materials/MaterialExpressionNamedReroute.h | |
virtual void PostCopyNode
(
const TArray< UMaterialExpression* >& CopiedExpressions |
Called after a node copy, once the Material and Function properties are set correctly and that all new expressions are added to Material->Expressions | Materials/MaterialExpressionNamedReroute.h |
Protected
Overridden from UMaterialExpressionRerouteBase
| Name | Remarks | Include Path | Unreal Specifiers |
|---|---|---|---|
virtual bool GetRerouteInput
(
FExpressionInput& OutInput |
Get the reroute node input pin. We could use GetInput, but we'd loose const correctness | Materials/MaterialExpressionNamedReroute.h |