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
16
class
FLandscapePhysicalMaterialRenderTask
17
{
18
public
:
19
FLandscapePhysicalMaterialRenderTask
()
20
{}
21
22
~FLandscapePhysicalMaterialRenderTask
()
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
;
48
TArray <class UPhysicalMaterial* >
const
&
GetResultMaterials
()
const
;
49
50
uint32
GetHash()
const
{
return
Hash
; }
51
private
:
52
void
UpdateInternal(
bool
bInFlush
);
53
54
private
:
55
int32
PoolHandle
= -1;
56
57
friend
class
FLandscapePhysicalMaterialRenderTaskPool
;
58
FLandscapePhysicalMaterialRenderTask
(
FLandscapePhysicalMaterialRenderTask
const
&);
59
60
uint32
Hash
= 0;
61
};
62
63
namespace
LandscapePhysicalMaterial
64
{
66
void
GarbageCollectTasks();
67
}
68
69
#endif
// WITH_EDITOR
EAnalyticsBuildType::Release
@ Release
EChaosVDManifoldPointFlags::IsValid
@ IsValid
ECbFieldType::Hash
@ Hash
CoreMinimal.h
int32
FPlatformTypes::int32 int32
A 32-bit signed integer.
Definition
Platform.h:1125
StaticCastSharedRef
UE_FORCEINLINE_HINT TSharedRef< CastToType, Mode > StaticCastSharedRef(TSharedRef< CastFromType, Mode > const &InSharedRef)
Definition
SharedPointer.h:127
Init
void Init()
Definition
LockFreeList.h:4
EUpdateClockSource::Tick
@ Tick
EEndReplicationFlags::Flush
@ Flush
uint32
uint32_t uint32
Definition
binka_ue_file_header.h:6
TArray
Definition
Array.h:670
Engine
Source
Runtime
Landscape
Classes
LandscapePhysicalMaterial.h
Generated by
1.9.8