UDocumentation UE5.7 10.02.2026 (Source)
API documentation for Unreal Engine 5.7
MaterialExpressionBounds.h
Go to the documentation of this file.
1// Copyright Epic Games, Inc. All Rights Reserved.
2
3#pragma once
4
5#include "CoreMinimal.h"
9#include "MaterialExpressionBounds.generated.h"
10
11UENUM()
13{
15 MEILB_InstanceLocal UMETA(DisplayName = "Instance Local"),
16
18 MEILB_ObjectLocal UMETA(DisplayName = "Object Local"),
19
21 MEILB_PreSkinnedLocal UMETA(DisplayName = "Pre-Skinned Local"),
22};
23
26{
28
29 enum OutputIndex
30 {
31 BoundsHalfExtentOutputIndex,
32 BoundsExtentOutputIndex,
33 BoundsMinOutputIndex,
34 BoundsMaxOutputIndex,
35 };
36
38 UPROPERTY(EditAnywhere, Category = MaterialExpressionBounds, meta = (DisplayName = "Type", ShowAsInputPin = "Advanced"))
40
41#if WITH_EDITOR
42 //~ Begin UMaterialExpression Interface
43 virtual void Build(MIR::FEmitter& Emitter) override;
44 virtual int32 Compile(class FMaterialCompiler* Compiler, int32 OutputIndex) override;
45 virtual void GetCaption(TArray<FString>& OutCaptions) const override;
46 virtual void GetConnectorToolTip(int32 InputIndex, int32 OutputIndex, TArray<FString>& OutToolTip) override;
47 virtual void GetExpressionToolTip(TArray<FString>& OutToolTip) override;
48
49 //~ End UMaterialExpression Interface
50
51#if WITH_EDITORONLY_DATA
53#endif
54#endif
55};
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
EMaterialExpressionBoundsType
Definition MaterialExpressionBounds.h:13
@ UMETA
Definition MaterialExpressionBounds.h:15
#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
uint8_t uint8
Definition binka_ue_file_header.h:8
Definition MaterialCompiler.h:109
Definition Array.h:670
Definition EnumAsByte.h:22
Definition MaterialExpressionBounds.h:26
Definition MaterialExpressionExternalCodeBase.h:11