Navigation
API > API/Runtime > API/Runtime/Engine > API/Runtime/Engine/Materials
Inheritance Hierarchy
- UObjectBase
- UObjectBaseUtility
- UObject
- UMaterialExpression
- UMaterialExpressionCustomOutput
- UMaterialExpressionVolumetricCloudEmptySpaceSkippingOutput
References
| Module | Engine |
| Header | /Engine/Source/Runtime/Engine/Classes/Materials/MaterialExpressionVolumetricAdvancedMaterialOutput.h |
| Include | #include "Materials/MaterialExpressionVolumetricAdvancedMaterialOutput.h" |
Syntax
class UMaterialExpressionVolumetricCloudEmptySpaceSkippingOutput : public UMaterialExpressionCustomOutput
Remarks
USed to help the cloud system to fast skip empty space areas when ray marching.
Variables
| Type | Name | Description | |
|---|---|---|---|
| FExpressionInput | ContainsMatter | ContainsMatter must be 1 when the volume is occupied by any matter. |
Constructors
| Type | Name | Description | |
|---|---|---|---|
UMaterialExpressionVolumetricCloudEmptySpaceSkippingOutput
(
const FObjectInitializer& ObjectInitializer |
Overridden from UMaterialExpressionCustomOutput
| Type | Name | Description | |
|---|---|---|---|
| UE::Shader::EValueType | GetCustomOutputType
(
int32 OutputIndex |
This is currently only needed by the new HLSL translator Should probably be merged with UMaterialExpression base interface, which already provides GetInputType/GetOutputType | |
| FString | |||
| FString | |||
| int32 | Override to enable multiple outputs. |
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). | |
| uint32 | GetOutputType
(
int32 OutputIndex |