class

FConstructionScheduler

Module
Game
Header
#include "Game/ConstructionScheduler.h"
Namespace
Mowo

Properties

TypeNameDescription
static constexpr uint8_tkMaxChainHops a re-run may chain through other actors before the chain is cut. Default 8.

Public functions

ReturnsNameDescription
voidRequestChangecomponent is empty for the actor itself, else the component's name: an identity that survives the object being rebuilt between request and flush.
voidRequestMoveThe actor's transform changed (a gizmo move, a transform edit).
voidRequestRerunSomething about the actor changed and the edit did not say what.
voidFlushRuns the queued re-runs inside the budget.
voidClear
size_tPendingCount
const FStats&GetStats
doubleGetDebtMsBudget still owed to earlier overruns, in milliseconds.
voidSetClockThe clock Flush measures with, in milliseconds.
voidSetBudgetMsOverrides ed.ConstructionBudgetMs for this scheduler (< 0 = use the cvar).

Function details

RequestChange

C++
void RequestChange(EntityID entity, const std::string& component, FName property)

component is empty for the actor itself, else the component's name: an identity that survives the object being rebuilt between request and flush.

RequestMove

C++
void RequestMove(EntityID entity)

The actor's transform changed (a gizmo move, a transform edit).

RequestRerun

C++
void RequestRerun(EntityID entity)

Something about the actor changed and the edit did not say what.

Flush

C++
void Flush(Scene& scene)

Runs the queued re-runs inside the budget. Only a scene that is the level being authored runs anything; a Play world drops its queue.

Clear

C++
void Clear()

PendingCount

C++
size_t PendingCount() const

GetStats

C++
const FStats& GetStats() const

GetDebtMs

C++
double GetDebtMs() const

Budget still owed to earlier overruns, in milliseconds.

SetClock

C++
void SetClock(std::function<double()> nowMs)

The clock Flush measures with, in milliseconds. Tests install a fake one so a budget is deterministic; the default is the steady clock.

SetBudgetMs

C++
void SetBudgetMs(double budgetMs)

Overrides ed.ConstructionBudgetMs for this scheduler (< 0 = use the cvar).

Generated from Game/ConstructionScheduler.h via game.json · Dec 5, 2026Version 1.1.0