UMeshComponent::RegisterLODStreamingCallback

Register a one-time callback that will be called when criteria met

Windows
MacOS
Linux

Override Hierarchy

UMeshComponent::RegisterLODStreamingCallback()

USkinnedMeshComponent::RegisterLODStreamingCallback()

References

Module

Engine

Header

/Engine/Source/Runtime/Engine/Classes/Components/MeshComponent.h

Include

#include "Components/MeshComponent.h"

Source

/Engine/Source/Runtime/Engine/Private/Components/MeshComponent.cpp

Syntax

virtual void RegisterLODStreamingCallback
(
    FLODStreamingCallback && Callback,
    int32 LODIdx,
    float TimeoutSecs,
    bool bOnStreamIn
)

Remarks

Register a one-time callback that will be called when criteria met

Parameters

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

Help shape the future of Unreal Engine documentation! Tell us how we're doing so we can serve you better.
Take our survey
Dismiss