Navigation
API > API/Runtime > API/Runtime/Engine
A material expression that allows access to the precomputed AO mask generated when bGenerateAmbientOcclusionMaterialMask is enabled in Lightmass World settings.
| Name | UMaterialExpressionPrecomputedAOMask |
| Type | class |
| Header File | /Engine/Source/Runtime/Engine/Public/Materials/MaterialExpressionPrecomputedAOMask.h |
| Include Path | #include "Materials/MaterialExpressionPrecomputedAOMask.h" |
Syntax
UCLASS (CollapseCategories, HideCategories=Object)
class UMaterialExpressionPrecomputedAOMask : public UMaterialExpression
Inheritance Hierarchy
- UObjectBase → UObjectBaseUtility → UObject → UMaterialExpression → UMaterialExpressionPrecomputedAOMask
Constructors
| Name | Remarks | Include Path | Unreal Specifiers |
|---|---|---|---|
UMaterialExpressionPrecomputedAOMask
(
const FObjectInitializer& ObjectInitializer |
Materials/MaterialExpressionPrecomputedAOMask.h |
Functions
Public
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/MaterialExpressionPrecomputedAOMask.h | |
virtual void GetCaption
(
TArray< FString >& OutCaptions |
Returns the text to display on the material expression (in the material editor). | Materials/MaterialExpressionPrecomputedAOMask.h |