UDocumentation UE5.7 10.02.2026 (Source)
API documentation for Unreal Engine 5.7
MaterialExpressionViewProperty.h
Go to the documentation of this file.
1// Copyright Epic Games, Inc. All Rights Reserved.
2
3
4#pragma once
5
6#include "CoreMinimal.h"
9#include "MaterialExpressionViewProperty.generated.h"
10
11UENUM()
13{
15 MEVP_BufferSize UMETA(DisplayName="Render Target Size"),
17 MEVP_FieldOfView UMETA(DisplayName="Field Of View"),
19 MEVP_TanHalfFieldOfView UMETA(DisplayName="Tan(0.5 * Field Of View)"),
21 MEVP_ViewSize UMETA(DisplayName="View Size"),
23 MEVP_WorldSpaceViewPosition UMETA(DisplayName="View Position (Absolute World Space)"),
25 MEVP_WorldSpaceCameraPosition UMETA(DisplayName = "Camera Position (Absolute World Space)"),
27 MEVP_ViewportOffset UMETA(DisplayName = "Viewport Offset"),
29 MEVP_TemporalSampleCount UMETA(DisplayName = "Temporal Sample Count"),
31 MEVP_TemporalSampleIndex UMETA(DisplayName = "Temporal Sample Index"),
33 MEVP_TemporalSampleOffset UMETA(DisplayName = "Temporal Sample Offset"),
35 MEVP_RuntimeVirtualTextureOutputLevel UMETA(DisplayName = "Runtime Virtual Texture Output Level"),
37 MEVP_RuntimeVirtualTextureOutputDerivative UMETA(DisplayName = "Runtime Virtual Texture Output Derivative"),
39 MEVP_PreExposure UMETA(DisplayName = "Pre-Exposure"),
41 MEVP_RuntimeVirtualTextureMaxLevel UMETA(DisplayName = "Runtime Virtual Texture Max Level"),
43 MEVP_ResolutionFraction UMETA(DisplayName = "ScreenPercentage / 100"),
45 MEVP_PostVolumeUserFlags UMETA(DisplayName = "Post Process Volume User Flags"),
47 MEVP_FirstPersonFieldOfView UMETA(DisplayName = "First Person Field Of View"),
49 MEVP_FirstPersonTanHalfFieldOfView UMETA(DisplayName = "Tan(0.5 * First Person Field Of View)"),
51 MEVP_FirstPersonScale UMETA(DisplayName = "First Person Scale"),
53 MEVP_NearPlane UMETA(DisplayName = "View Near Plane"),
54
56};
57
60{
62
63
64 UPROPERTY(EditAnywhere, Category=UMaterialExpressionViewProperty, meta=(DisplayName = "View Property", ShowAsInputPin = "Advanced"))
66
67 //~ Begin UMaterialExpression Interface
68#if WITH_EDITOR
69 virtual void Build(MIR::FEmitter& Emitter) override;
70 virtual int32 Compile(class FMaterialCompiler* Compiler, int32 OutputIndex) override;
71 virtual void GetCaption(TArray<FString>& OutCaptions) const override;
72#endif
73 //~ End UMaterialExpression Interface
74};
FPlatformTypes::int32 int32
A 32-bit signed integer.
Definition Platform.h:1125
UE_FORCEINLINE_HINT TSharedRef< CastToType, Mode > StaticCastSharedRef(TSharedRef< CastFromType, Mode > const &InSharedRef)
Definition SharedPointer.h:127
EMaterialExposedViewProperty
Definition MaterialExpressionViewProperty.h:13
@ UMETA
Definition MaterialExpressionViewProperty.h:15
@ MEVP_MAX
Definition MaterialExpressionViewProperty.h:55
#define UPROPERTY(...)
UObject definition macros.
Definition ObjectMacros.h:744
#define GENERATED_UCLASS_BODY(...)
Definition ObjectMacros.h:768
#define UCLASS(...)
Definition ObjectMacros.h:776
#define UENUM(...)
Definition ObjectMacros.h:749
Definition MaterialCompiler.h:109
Definition Array.h:670
Definition EnumAsByte.h:22
Definition MaterialExpressionViewProperty.h:60
Definition MaterialExpression.h:150