Navigation
API > API/Runtime > API/Runtime/Engine
| Name | UMaterialExpressionGenericConstant |
| Type | class |
| Header File | /Engine/Source/Runtime/Engine/Public/Materials/MaterialExpressionGenericConstant.h |
| Include Path | #include "Materials/MaterialExpressionGenericConstant.h" |
Syntax
UCLASS (Abstract, MinimalAPI)
class UMaterialExpressionGenericConstant : public UMaterialExpression
Inheritance Hierarchy
- UObjectBase → UObjectBaseUtility → UObject → UMaterialExpression → UMaterialExpressionGenericConstant
Derived Classes
Constructors
| Name | Remarks | Include Path | Unreal Specifiers |
|---|---|---|---|
UMaterialExpressionGenericConstant
(
const FObjectInitializer& ObjectInitializer |
Materials/MaterialExpressionGenericConstant.h |
Functions
Public
| Name | Remarks | Include Path | Unreal Specifiers |
|---|---|---|---|
virtual UE::Shader::FValue GetConstantValue() |
Materials/MaterialExpressionGenericConstant.h |
Overridden from UMaterialExpression
| Name | Remarks | Include Path | Unreal Specifiers |
|---|---|---|---|
virtual int32 Compile
(
FMaterialCompiler* Compiler, |
Create the new shader code chunk needed for the Abs expression | Materials/MaterialExpressionGenericConstant.h | |
virtual void GetCaption
(
TArray< FString >& OutCaptions |
Returns the text to display on the material expression (in the material editor). | Materials/MaterialExpressionGenericConstant.h | |
virtual FString GetDescription() |
Get a single line description of the material expression (used for lists) | Materials/MaterialExpressionGenericConstant.h |