UDocumentation UE5.7 10.02.2026 (Source)
API documentation for Unreal Engine 5.7
ScopedSuspendRerunConstructionScripts.h
Go to the documentation of this file.
1// Copyright Epic Games, Inc. All Rights Reserved.
2
3#pragma once
4
5#include "CoreMinimal.h"
7
8#define UE_API ENGINE_API
9
10#if WITH_EDITOR
11
13{
14public:
17
18 // Called by AActor::RerunConstructionScripts() to see if it's suspended
19 static bool IsSuspended()
20 {
21 return SuspensionCount > 0;
22 }
23
24 // Queues an actor for a deferred rerun
25 static UE_API void DeferRerun(AActor* Actor);
26
27private:
28 // How many nested scopes are active
30
31 // All actors that attempted to rerun while suspended
33};
34
35#endif
36
37#undef UE_API
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
#define UE_API
Definition SColorGradingComponentViewer.h:12
Definition Actor.h:257