UDocumentation UE5.7 10.02.2026 (Source)
API documentation for Unreal Engine 5.7
LandscapePhysicalMaterial.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"
6
7#if WITH_EDITOR
8
17{
18public:
20 {}
21
23 {
24 Release();
25 }
26
28 bool Init(class ULandscapeComponent const* LandscapeComponent, uint32 InHash);
30 void Release();
31
33 bool IsValid() const;
35 bool IsComplete() const;
37 bool IsInProgress() const;
38
39
41 void Tick();
43 void Flush();
44
46 TArray<uint8> const& GetResultIds() const;
49
50 uint32 GetHash() const { return Hash; }
51private:
52 void UpdateInternal(bool bInFlush);
53
54private:
55 int32 PoolHandle = -1;
56
59
60 uint32 Hash = 0;
61};
62
64{
66 void GarbageCollectTasks();
67}
68
69#endif // WITH_EDITOR
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
void Init()
Definition LockFreeList.h:4
uint32_t uint32
Definition binka_ue_file_header.h:6
Definition Array.h:670