Navigation
API > API/Runtime > API/Runtime/Engine > API/Runtime/Engine/Materials
Inheritance Hierarchy
- UObjectBase
- UObjectBaseUtility
- UObject
- UMaterialExpression
- UMaterialExpressionGenericConstant
- UMaterialExpressionConstantDouble
References
| Module | Engine |
| Header | /Engine/Source/Runtime/Engine/Public/Materials/MaterialExpressionGenericConstant.h |
| Include | #include "Materials/MaterialExpressionGenericConstant.h" |
Syntax
UCLASS (Abstract, MinimalAPI)
class UMaterialExpressionGenericConstant : public UMaterialExpression
Remarks
Copyright Epic Games, Inc. All Rights Reserved.
Constructors
| Type | Name | Description | |
|---|---|---|---|
UMaterialExpressionGenericConstant
(
const FObjectInitializer& ObjectInitializer |
Functions
| Type | Name | Description | |
|---|---|---|---|
| UE::Shader::FValue |
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). | |
| FString | Get a single line description of the material expression (used for lists) |