UDocumentation UE5.7 10.02.2026 (Source)
API documentation for Unreal Engine 5.7
LateUpdateManager.h
Go to the documentation of this file.
1// Copyright Epic Games, Inc. All Rights Reserved.
2
3#pragma once
4#include "CoreMinimal.h"
5
6class USceneComponent;
9
14{
15public:
18
20 HEADMOUNTEDDISPLAY_API void Setup(const FTransform& ParentToWorld, USceneComponent* Component, bool bSkipLateUpdate);
21
23 bool GetSkipLateUpdate_RenderThread() const { return PipelinedUpdateStatesRendering.bSkip; }
24
27
28private:
29
31 HEADMOUNTEDDISPLAY_API void GatherLateUpdatePrimitives(USceneComponent* ParentComponent);
33 HEADMOUNTEDDISPLAY_API void CacheSceneInfo(USceneComponent* Component);
34
35 struct FLateUpdateState
36 {
37 FLateUpdateState()
38 : ParentToWorld(FTransform::Identity)
39 , bSkip(false)
40 {}
41
43 FTransform ParentToWorld;
47 bool bSkip;
48 };
49
50 FLateUpdateState PipelinedUpdateStatesGame;
51 FLateUpdateState PipelinedUpdateStatesRendering;
52};
53
UE_FORCEINLINE_HINT TSharedRef< CastToType, Mode > StaticCastSharedRef(TSharedRef< CastFromType, Mode > const &InSharedRef)
Definition SharedPointer.h:127
Definition LateUpdateManager.h:14
HEADMOUNTEDDISPLAY_API void Apply_RenderThread(FSceneInterface *Scene, const FTransform &OldRelativeTransform, const FTransform &NewRelativeTransform)
Definition LateUpdateManager.cpp:33
HEADMOUNTEDDISPLAY_API void Setup(const FTransform &ParentToWorld, USceneComponent *Component, bool bSkipLateUpdate)
Definition LateUpdateManager.cpp:16
bool GetSkipLateUpdate_RenderThread() const
Definition LateUpdateManager.h:23
FLateUpdateManager()
Definition LateUpdateManager.h:16
virtual ~FLateUpdateManager()
Definition LateUpdateManager.h:17
Definition PrimitiveSceneInfo.h:266
Definition SceneInterface.h:106
Definition UnrealString.h.inl:34
@ false
Definition radaudio_common.h:23