Navigation
Unreal Engine C++ API Reference > Runtime > Engine > Materials
Inheritance Hierarchy
- UObjectBase
- UObjectBaseUtility
- UObject
- UMaterialExpression
- UMaterialExpressionAbs
References
Module | Engine |
Header | /Engine/Source/Runtime/Engine/Classes/Materials/MaterialExpressionAbs.h |
Include | #include "Materials/MaterialExpressionAbs.h" |
Syntax
class UMaterialExpressionAbs : public UMaterialExpression
Remarks
Absolute value material expression for user-defined materials
Variables
Type | Name | Description | |
---|---|---|---|
![]() |
FExpressionInput | Input | Link to the input expression to be evaluated |
Constructors
Type | Name | Description | |
---|---|---|---|
![]() |
UMaterialExpressionAbs
(
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 | GenerateHLSLExpression
(
FMaterialHLSLGenerator& Generator, |
|
![]() ![]() ![]() |
void | GetCaption
(
TArray< FString >& OutCaptions |
Returns the text to display on the material expression (in the material editor). |