Navigation
API > API/Runtime > API/Runtime/Engine
Material output expression for writing first person rendering properties.
| Name | UMaterialExpressionFirstPersonOutput |
| Type | class |
| Header File | /Engine/Source/Runtime/Engine/Public/Materials/MaterialExpressionFirstPersonOutput.h |
| Include Path | #include "Materials/MaterialExpressionFirstPersonOutput.h" |
Syntax
UCLASS (MinimalAPI, CollapseCategories, HideCategories=Object)
class UMaterialExpressionFirstPersonOutput : public UMaterialExpressionCustomOutput
Inheritance Hierarchy
- UObjectBase → UObjectBaseUtility → UObject → UMaterialExpression → UMaterialExpressionCustomOutput → UMaterialExpressionFirstPersonOutput
Constructors
| Name | Remarks | Include Path | Unreal Specifiers |
|---|---|---|---|
UMaterialExpressionFirstPersonOutput
(
const FObjectInitializer& ObjectInitializer |
Materials/MaterialExpressionFirstPersonOutput.h |
Variables
Public
| Name | Type | Remarks | Include Path | Unreal Specifiers |
|---|---|---|---|---|
| ConstFirstPersonInterpolationAlpha | float | Only used if FirstPersonInterpolationAlpha is not hooked up. | Materials/MaterialExpressionFirstPersonOutput.h |
|
| FirstPersonInterpolationAlpha | FExpressionInput | Interpolates between world space and first person space. | Materials/MaterialExpressionFirstPersonOutput.h |
|
Functions
Public
Overridden from UMaterialExpressionCustomOutput
| Name | Remarks | Include Path | Unreal Specifiers |
|---|---|---|---|
virtual FString GetDisplayName() |
Materials/MaterialExpressionFirstPersonOutput.h | ||
virtual FString GetFunctionName() |
Materials/MaterialExpressionFirstPersonOutput.h | ||
virtual int32 GetNumOutputs() |
Override to enable multiple outputs. | Materials/MaterialExpressionFirstPersonOutput.h | |
virtual EShaderFrequency GetShaderFrequency
(
uint32 OutputIndex |
Materials/MaterialExpressionFirstPersonOutput.h | ||
virtual bool NeedsPreviousFrameEvaluation() |
Materials/MaterialExpressionFirstPersonOutput.h |
Overridden from UMaterialExpression
| Name | Remarks | Include Path | Unreal Specifiers |
|---|---|---|---|
virtual int32 Compile
(
FMaterialCompiler* Compiler, |
Create the new shader code chunk needed for the Abs expression | Materials/MaterialExpressionFirstPersonOutput.h | |
virtual void GetCaption
(
TArray< FString >& OutCaptions |
Returns the text to display on the material expression (in the material editor). | Materials/MaterialExpressionFirstPersonOutput.h |