UDocumentation UE5.7 10.02.2026 (Source)
API documentation for Unreal Engine 5.7
StaticLightingSystemInterface.h
Go to the documentation of this file.
1// Copyright Epic Games, Inc. All Rights Reserved.
2
3#pragma once
7
9
11{
12public:
13 virtual const class FMeshMapBuildData* GetPrimitiveMeshMapBuildData(const UPrimitiveComponent* Component, int32 LODIndex) { return nullptr; }
15 virtual const class FPrecomputedVolumetricLightmap* GetPrecomputedVolumetricLightmap() { return nullptr; }
17};
18
20{
21public:
23
24 virtual void EditorTick() {}
25 virtual bool IsStaticLightingSystemRunning() { return false; }
26};
27
29{
30public:
36
45
46 static ENGINE_API const class FMeshMapBuildData* GetPrimitiveMeshMapBuildData(const UPrimitiveComponent* Component, int32 LODIndex = 0);
49
50 static ENGINE_API void EditorTick();
51 static ENGINE_API void GameTick(float DeltaSeconds);
53
55
59
60private:
62
63 static FStaticLightingSystemInterface* Interface;
64};
FPlatformTypes::int32 int32
A 32-bit signed integer.
Definition Platform.h:1125
UE_FORCEINLINE_HINT TSharedRef< CastToType, Mode > StaticCastSharedRef(TSharedRef< CastFromType, Mode > const &InSharedRef)
Definition SharedPointer.h:127
Definition MapBuildDataRegistry.h:151
Definition MaterialRenderProxy.h:102
Definition MapBuildDataRegistry.h:56
Definition NameTypes.h:617
Definition PrecomputedVolumetricLightmap.h:223
Definition StaticLightingSystemInterface.h:29
ENGINE_API void RegisterImplementation(FName Name, IStaticLightingSystemImpl *Impl)
Definition StaticLightingSystemInterface.cpp:99
static ENGINE_API FLightComponentBasedSignature OnLightComponentUnregistered
Definition StaticLightingSystemInterface.h:40
DECLARE_MULTICAST_DELEGATE_OneParam(FPrimitiveComponentBasedSignature, UPrimitiveComponent *)
static ENGINE_API FPrimitiveComponentBasedSignature OnPrimitiveComponentRegistered
Definition StaticLightingSystemInterface.h:37
static ENGINE_API bool IsStaticLightingSystemRunning()
Definition StaticLightingSystemInterface.cpp:89
DECLARE_TS_MULTICAST_DELEGATE_OneParam(FMaterialInvalidationSignature, FMaterialRenderProxy *)
DECLARE_MULTICAST_DELEGATE_OneParam(FLightComponentBasedSignature, ULightComponentBase *)
static ENGINE_API const class FPrecomputedVolumetricLightmap * GetPrecomputedVolumetricLightmap(UWorld *World)
Definition StaticLightingSystemInterface.cpp:62
ENGINE_API IStaticLightingSystemImpl * GetPreferredImplementation()
Definition StaticLightingSystemInterface.cpp:113
static ENGINE_API FLightComponentBasedSignature OnLightComponentRegistered
Definition StaticLightingSystemInterface.h:39
static ENGINE_API FSimpleMulticastDelegate OnSkyAtmosphereModified
Definition StaticLightingSystemInterface.h:44
static ENGINE_API FMaterialInvalidationSignature OnMaterialInvalidated
Definition StaticLightingSystemInterface.h:43
static ENGINE_API FStaticLightingSystemInterface * Get()
Definition StaticLightingSystemInterface.cpp:20
DECLARE_MULTICAST_DELEGATE(FLightmassImportanceVolumeModifiedSignature)
static ENGINE_API const class FMeshMapBuildData * GetPrimitiveMeshMapBuildData(const UPrimitiveComponent *Component, int32 LODIndex=0)
Definition StaticLightingSystemInterface.cpp:30
DECLARE_MULTICAST_DELEGATE_TwoParams(FStationaryLightChannelReassignmentSignature, ULightComponentBase *, int32)
ENGINE_API void UnregisterImplementation(FName Name)
Definition StaticLightingSystemInterface.cpp:106
static ENGINE_API FLightmassImportanceVolumeModifiedSignature OnLightmassImportanceVolumeModified
Definition StaticLightingSystemInterface.h:42
static ENGINE_API void EditorTick()
Definition StaticLightingSystemInterface.cpp:75
static ENGINE_API const class FLightComponentMapBuildData * GetLightComponentMapBuildData(const ULightComponent *Component)
Definition StaticLightingSystemInterface.cpp:46
static ENGINE_API FStationaryLightChannelReassignmentSignature OnStationaryLightChannelReassigned
Definition StaticLightingSystemInterface.h:41
static ENGINE_API void GameTick(float DeltaSeconds)
Definition StaticLightingSystemInterface.cpp:84
static ENGINE_API FPrimitiveComponentBasedSignature OnPrimitiveComponentUnregistered
Definition StaticLightingSystemInterface.h:38
Definition StaticLightingSystemInterface.h:20
virtual IStaticLightingSystem * GetStaticLightingSystemForWorld(UWorld *InWorld)
Definition StaticLightingSystemInterface.h:22
virtual bool IsStaticLightingSystemRunning()
Definition StaticLightingSystemInterface.h:25
virtual void EditorTick()
Definition StaticLightingSystemInterface.h:24
Definition StaticLightingSystemInterface.h:11
virtual const class FLightComponentMapBuildData * GetLightComponentMapBuildData(const ULightComponent *Component)
Definition StaticLightingSystemInterface.h:14
virtual ~IStaticLightingSystem()
Definition StaticLightingSystemInterface.h:16
virtual const class FMeshMapBuildData * GetPrimitiveMeshMapBuildData(const UPrimitiveComponent *Component, int32 LODIndex)
Definition StaticLightingSystemInterface.h:13
virtual const class FPrecomputedVolumetricLightmap * GetPrecomputedVolumetricLightmap()
Definition StaticLightingSystemInterface.h:15
Definition UnrealString.h.inl:34
Definition World.h:918
Definition ExpressionParserTypes.h:21