Navigation
API > API/Runtime > API/Runtime/Engine > API/Runtime/Engine/Materials
Inheritance Hierarchy
- UObjectBase
- UObjectBaseUtility
- UObject
- UMaterialExpression
- UMaterialExpressionSetLocal
References
| Module | Engine |
| Header | /Engine/Source/Runtime/Engine/Classes/Materials/MaterialExpressionSetLocal.h |
| Include | #include "Materials/MaterialExpressionSetLocal.h" |
Syntax
class UMaterialExpressionSetLocal : public UMaterialExpression
Variables
| Type | Name | Description | |
|---|---|---|---|
| FExpressionExecOutput | Exec | ||
| FName | LocalName | ||
| FExpressionInput | Value |
Constructors
| Type | Name | Description | |
|---|---|---|---|
UMaterialExpressionSetLocal
(
const FObjectInitializer& ObjectInitializer |
Overridden from UMaterialExpression
| Type | Name | Description | |
|---|---|---|---|
| int32 | Compile
(
FMaterialCompiler* Compiler, |
Create the new shader code chunk needed for the Abs expression | |
| bool | GenerateHLSLStatements
(
FMaterialHLSLGenerator& Generator, |
A given UMaterial implementation should implement at least one of these methods in order to generate HLSL code It's valid to implement more than one, if the expression can be used in multiple ways. | |
| void | GetCaption
(
TArray< FString >& OutCaptions |
Returns the text to display on the material expression (in the material editor). | |
| uint32 | GetInputType
(
int32 InputIndex |
||
| bool | HasExecInput () |