Navigation
API > API/Runtime > API/Runtime/Engine > API/Runtime/Engine/Components > API/Runtime/Engine/Components/USkinnedMeshComponent > API/Runtime/Engine/Components/USkinnedMeshComponent/RegisterLODStreamingCallback
- UMeshComponent::RegisterLODStreamingCallback()
- USkinnedMeshComponent::RegisterLODStreamingCallback()
References
| Module | Engine |
| Header | /Engine/Source/Runtime/Engine/Classes/Components/SkinnedMeshComponent.h |
| Include | #include "Components/SkinnedMeshComponent.h" |
| Source | /Engine/Source/Runtime/Engine/Private/Components/SkinnedMeshComponent.cpp |
virtual void RegisterLODStreamingCallback
&40;
FLODStreamingCallback && CallbackStreamingStart,
FLODStreamingCallback && CallbackStreamingDone,
float TimeoutStartSecs,
float TimeoutDoneSecs
&41;
Remarks
Register a one-time callback that will be called when streaming starts or ends.
Parameters
| Name | Description |
|---|---|
| CallbackStreamingStart | The callback to notify when streaming new LODs in begins. The callback will not always be called if the asset is not streamable, or the asset or component is unloaded. |
| CallbackStreamingDone | The callback to notify when streaming is done. The callback will not be called if the start timeout expired. |
| TimeoutStartSecs | Timeout for streaming to start, in seconds |
| TimeoutDoneSecs | Timeout for streaming to end, in seconds |