Navigation
API > API/Runtime > API/Runtime/Engine > API/Runtime/Engine/Materials
Inheritance Hierarchy
- UObjectBase
- UObjectBaseUtility
- UObject
- UMaterialExpression
- UMaterialExpressionRerouteBase
- UMaterialExpressionNamedRerouteBase
- UMaterialExpressionNamedRerouteUsage
References
| Module | Engine |
| Header | /Engine/Source/Runtime/Engine/Public/Materials/MaterialExpressionNamedReroute.h |
| Include | #include "Materials/MaterialExpressionNamedReroute.h" |
Syntax
UCLASS (CollapseCategories, HideCategories=Object, DisplayName="Named Reroute Usage", MinimalAPI)
class UMaterialExpressionNamedRerouteUsage : public UMaterialExpressionNamedRerouteBase
Variables
| Type | Name | Description | |
|---|---|---|---|
| TObjectPtr< UMaterialExpressionNamedRerouteDeclaration > | Declaration | The declaration this node is linked to. | |
| FGuid | DeclarationGuid | The variable GUID, to support copy across graphs. |
Constructors
| Type | Name | Description | |
|---|---|---|---|
UMaterialExpressionNamedRerouteUsage
(
const FObjectInitializer& ObjectInitializer |
Overridden from UMaterialExpressionRerouteBase
| Type | Name | Description | |
|---|---|---|---|
| bool | GetRerouteInput
(
FExpressionInput& OutInput |
Get the reroute node input pin. We could use GetInput, but we'd loose const correctness |
Overridden from UMaterialExpression
| Type | Name | Description | |
|---|---|---|---|
| int32 | Compile
(
FMaterialCompiler* Compiler, |
Create the new shader code chunk needed for the Abs expression | |
| int32 | CompilePreview
(
FMaterialCompiler* Compiler, |
||
| bool | GenerateHLSLExpression
(
FMaterialHLSLGenerator& Generator, |
||
| void | GetCaption
(
TArray< FString >& OutCaptions |
Returns the text to display on the material expression (in the material editor). | |
| uint32 | GetOutputType
(
int32 OutputIndex |
||
| bool | MatchesSearchQuery
(
const TCHAR* SearchQuery |
MatchesSearchQuery: Check this expression to see if it matches the search query | |
| 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 |