UDocumentation UE5.7 10.02.2026 (Source)
API documentation for Unreal Engine 5.7
MaterialExpressionSkyLightEnvMapSample.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"
10#include "MaterialExpressionSkyLightEnvMapSample.generated.h"
11
12UCLASS()
14{
16
17public:
18
19 UPROPERTY(meta = (RequiredInput = "true", ToolTip = "The direction to sample the cubemap from"))
21
22 UPROPERTY(meta = (RequiredInput = "false", ToolTip = "The roughness used to specifiy the sharpness of the sample."))
24
25 //~ Begin UMaterialExpression Interface
26#if WITH_EDITOR
27 virtual void Build(MIR::FEmitter& Emitter) override;
28 virtual int32 Compile(class FMaterialCompiler* Compiler, int32 OutputIndex) override;
29 virtual void GetCaption(TArray<FString>& OutCaptions) const override;
30
31#endif
32 //~ End UMaterialExpression Interface
33};
34
35
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
#define UPROPERTY(...)
UObject definition macros.
Definition ObjectMacros.h:744
#define GENERATED_BODY(...)
Definition ObjectMacros.h:765
#define UCLASS(...)
Definition ObjectMacros.h:776
Definition MaterialCompiler.h:109
Definition Array.h:670
Definition MaterialExpressionExternalCodeBase.h:11
Definition MaterialExpressionSkyLightEnvMapSample.h:14
@ false
Definition radaudio_common.h:23
Definition MaterialExpressionIO.h:23