Navigation
API > API/Runtime > API/Runtime/Engine > API/Runtime/Engine/Materials
Inheritance Hierarchy
- UObjectBase
- UObjectBaseUtility
- UObject
- UMaterialExpression
- UMaterialExpressionCustomOutput
- UMaterialExpressionFirstPersonOutput
References
Module | Engine |
Header | /Engine/Source/Runtime/Engine/Public/Materials/MaterialExpressionFirstPersonOutput.h |
Include | #include "Materials/MaterialExpressionFirstPersonOutput.h" |
Syntax
UCLASS (MinimalAPI, CollapseCategories, HideCategories=Object)
class UMaterialExpressionFirstPersonOutput : public UMaterialExpressionCustomOutput
Remarks
Material output expression for writing first person rendering properties.
Variables
Type | Name | Description | |
---|---|---|---|
![]() ![]() ![]() |
float | ConstFirstPersonInterpolationAlpha | Only used if FirstPersonInterpolationAlpha is not hooked up. |
![]() ![]() ![]() |
FExpressionInput | FirstPersonInterpolationAlpha | Interpolates between world space and first person space. |
Constructors
Type | Name | Description | |
---|---|---|---|
![]() |
UMaterialExpressionFirstPersonOutput
(
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. | |
![]() ![]() |
EShaderFrequency | ||
![]() ![]() |
bool |
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). |