Navigation
API > API/Runtime > API/Runtime/Engine > API/Runtime/Engine/Materials
Inheritance Hierarchy
- UObjectBase
- UObjectBaseUtility
- UObject
- UMaterialExpression
- UMaterialExpressionSkyAtmosphereLightIlluminance
References
| Module | Engine |
| Header | /Engine/Source/Runtime/Engine/Classes/Materials/MaterialExpressionSkyAtmosphereLightIlluminance.h |
| Include | #include "Materials/MaterialExpressionSkyAtmosphereLightIlluminance.h" |
Syntax
UCLASS ()
class UMaterialExpressionSkyAtmosphereLightIlluminance : public UMaterialExpression
Variables
| Type | Name | Description | |
|---|---|---|---|
| int32 | LightIndex | Index of the atmosphere light to sample. | |
| FExpressionInput | WorldPosition | World position of the sample. If not specified, the pixel world position will be used. | |
| EPositionOrigin | WorldPositionOriginType | Defines the reference space for the WorldPosition input. |
Constructors
| Type | Name | Description | |
|---|---|---|---|
UMaterialExpressionSkyAtmosphereLightIlluminance
(
const FObjectInitializer& ObjectInitializer |
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). | |
| void | GetExpressionToolTip
(
TArray< FString >& OutToolTip |
Get a tooltip for the expression itself. | |
| FName | GetInputName
(
int32 InputIndex |
Overridden from UObject
| Type | Name | Description | |
|---|---|---|---|
| void | PostEditChangeProperty
(
FPropertyChangedEvent& PropertyChangedEvent |
Called when a property on this object has been modified externally |