Navigation
Unreal Engine C++ API Reference > Runtime > Engine > Materials
Inheritance Hierarchy
- UObjectBase
- UObjectBaseUtility
- UObject
- UMaterialExpression
- UMaterialExpressionGIReplace
References
Module | Engine |
Header | /Engine/Source/Runtime/Engine/Classes/Materials/MaterialExpressionGIReplace.h |
Include | #include "Materials/MaterialExpressionGIReplace.h" |
Syntax
class UMaterialExpressionGIReplace : public UMaterialExpression
Variables
Type | Name | Description | |
---|---|---|---|
![]() |
FExpressionInput | Default | Used for direct lighting computations e.g. real-time shaders |
![]() |
FExpressionInput | DynamicIndirect | Used for dynamic indirect lighting e.g. Light Propagation Volumes |
![]() |
FExpressionInput | StaticIndirect | Used for baked indirect lighting e.g. Lightmass |
Constructors
Type | Name | Description | |
---|---|---|---|
![]() |
UMaterialExpressionGIReplace
(
const FObjectInitializer& ObjectInitializer |
Overridden from UMaterialExpression
Type | Name | Description | |
---|---|---|---|
![]() ![]() |
int32 | Compile
(
FMaterialCompiler* Compiler, |
Create the new shader code chunk needed for the Abs expression |
![]() ![]() ![]() |
void | GetCaption
(
TArray< FString >& OutCaptions |
Returns the text to display on the material expression (in the material editor). |