Navigation
API > API/Runtime > API/Runtime/Engine > API/Runtime/Engine/Materials
Inheritance Hierarchy
- UObjectBase
- UObjectBaseUtility
- UObject
- UMaterialExpression
- UMaterialExpressionCustomOutput
- UMaterialExpressionRuntimeVirtualTextureOutput
References
| Module | Engine |
| Header | /Engine/Source/Runtime/Engine/Public/Materials/MaterialExpressionRuntimeVirtualTextureOutput.h |
| Include | #include "Materials/MaterialExpressionRuntimeVirtualTextureOutput.h" |
Syntax
UCLASS (CollapseCategories, HideCategories=Object)
class UMaterialExpressionRuntimeVirtualTextureOutput : public UMaterialExpressionCustomOutput
Remarks
Material output expression for writing to a runtime virtual texture.
Variables
| Type | Name | Description | |
|---|---|---|---|
| FExpressionInput | BaseColor | Input for Base Color to output to virtual texture. | |
| FExpressionInput | Displacement | Input for World Height to output to virtual texture. | |
| FExpressionInput | Mask | Input for Mask to output to virtual texture. | |
| FExpressionInput | Mask4 | Input for Mask to output to virtual texture. | |
| FExpressionInput | Normal | Input for Surface Normal to output to virtual texture. | |
| FExpressionInput | Opacity | Input for Opacity value used for blending to virtual texture. | |
| FExpressionInput | Roughness | Input for Roughness to output to virtual texture. | |
| FExpressionInput | Specular | Input for Specular to output to virtual texture. | |
| FExpressionInput | WorldHeight | Input for World Height to output to virtual texture. |
Constructors
| Type | Name | Description | |
|---|---|---|---|
UMaterialExpressionRuntimeVirtualTextureOutput
(
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). |