Choose your operating system:
Windows
macOS
Linux
| UMeshComponent::RegisterLODStreamingCallback()
|
Module |
|
Header |
/Engine/Source/Runtime/Engine/Classes/Components/MeshComponent.h |
Include |
#include "Components/MeshComponent.h" |
Source |
/Engine/Source/Runtime/Engine/Private/Components/MeshComponent.cpp |
virtual void RegisterLODStreamingCallback
(
FLODStreamingCallback && Callback,
int32 LODIdx,
float TimeoutSecs,
bool bOnStreamIn
)
Register a one-time callback that will be called when criteria met
Parameter |
Description |
---|---|
Callback |
|
LODIdx |
The LOD index expected |
TimeoutSecs |
Timeout in seconds |
bOnStreamIn |
To get notified when the expected LOD is streamed in or out |