Navigation
Unreal Engine C++ API Reference > Runtime > Engine > Materials
Inheritance Hierarchy
- UObjectBase
- UObjectBaseUtility
- UObject
- UMaterialExpression
- UMaterialExpressionDistanceFieldApproxAO
References
Module | Engine |
Header | /Engine/Source/Runtime/Engine/Classes/Materials/MaterialExpressionDistanceFieldApproxAO.h |
Include | #include "Materials/MaterialExpressionDistanceFieldApproxAO.h" |
Syntax
class UMaterialExpressionDistanceFieldApproxAO : public UMaterialExpression
Variables
Type | Name | Description | |
---|---|---|---|
![]() |
FExpressionInput | BaseDistance | |
![]() |
float | BaseDistanceDefault | Only used if BaseDistance is not hooked up |
![]() |
FExpressionInput | Normal | |
![]() |
uint32 | NumSteps | |
![]() |
FExpressionInput | Position | |
![]() |
FExpressionInput | Radius | |
![]() |
float | RadiusDefault | Only used if Radius is not hooked up |
![]() |
float | StepScaleDefault |
Constructors
Type | Name | Description | |
---|---|---|---|
![]() |
UMaterialExpressionDistanceFieldApproxAO
(
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). |