Navigation
API > API/Runtime > API/Runtime/Engine > API/Runtime/Engine/Materials
Inheritance Hierarchy
- UObjectBase
- UObjectBaseUtility
- UObject
- UMaterialExpression
- UMaterialExpressionRerouteBase
- UMaterialExpressionNamedRerouteBase
- UMaterialExpressionNamedRerouteDeclaration
References
| Module | Engine |
| Header | /Engine/Source/Runtime/Engine/Classes/Materials/MaterialExpressionNamedReroute.h |
| Include | #include "Materials/MaterialExpressionNamedReroute.h" |
Syntax
class UMaterialExpressionNamedRerouteDeclaration : public UMaterialExpressionNamedRerouteBase
Variables
| Type | Name | Description | |
|---|---|---|---|
| FExpressionInput | Input | The input pin. | |
| FName | Name | ||
| FLinearColor | NodeColor | The color of the graph node. | |
| FGuid | VariableGuid | The variable GUID, to support copy across graphs. |
Constructors
| Type | Name | Description | |
|---|---|---|---|
UMaterialExpressionNamedRerouteDeclaration
(
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 | |
|---|---|---|---|
| bool | Can this node be renamed? | ||
| 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). | |
| FText | |||
| FText | |||
| FString | Returns the current 'name' of the node (typically a parameter name). | ||
| 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 | |
| void | SetEditableName
(
const FString& NewName |
Sets the current 'name' of the node (typically a parameter name) Only valid to call on a node that previously returned CanRenameNode() = true. |
Overridden from UObject
| Type | Name | Description | |
|---|---|---|---|
| void | PostDuplicate
(
bool bDuplicateForPIE |
Called after duplication & serialization and before PostLoad. | |
| void | PostEditChangeProperty
(
FPropertyChangedEvent& PropertyChangedEvent |
Called when a property on this object has been modified externally | |
| void | Called after the C++ constructor and after the properties have been initialized, including those loaded from config. | ||
| void | PostLoad () |
Do any object-specific cleanup required immediately after loading an object. |