UDocumentation UE5.7 10.02.2026 (Source)
API documentation for Unreal Engine 5.7
MaterialExpressionLogarithm.h
Go to the documentation of this file.
1// Copyright Epic Games, Inc. All Rights Reserved.
2
3
4#pragma once
5
7#include "MaterialExpressionLogarithm.generated.h"
8
11{
13
14public:
15
16 UPROPERTY()
18
19 //~ Begin UMaterialExpression Interface
20#if WITH_EDITOR
21 virtual void Build(MIR::FEmitter& Emitter) override;
22 virtual int32 Compile(class FMaterialCompiler* Compiler, int32 OutputIndex) override;
23 virtual void GetCaption(TArray<FString>& OutCaptions) const override;
24 virtual void GetExpressionToolTip(TArray<FString>& OutToolTip) override;
25 virtual FText GetKeywords() const override {return FText::FromString(TEXT("log2"));}
26#endif
27 //~ End UMaterialExpression Interface
28
29};
#define TEXT(x)
Definition Platform.h:1272
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 Text.h:385
static CORE_API FText FromString(const ANSICHAR *String)
Definition Text.cpp:1081
Definition Array.h:670
Definition MaterialExpressionLogarithm.h:11
Definition MaterialExpression.h:150
Definition MaterialExpressionIO.h:23