MCPcopy Create free account
hub / github.com/FlaxEngine/FlaxEngine / StepProgress

Method StepProgress

Source/Editor/Cooker/GameCooker.cpp:335–340  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

333}
334
335void CookingData::StepProgress(const String& info, const float stepProgress) const
336{
337 const float singleStepProgress = 1.0f / (StepsCount + 1);
338 const float totalProgress = (CurrentStepIndex + stepProgress) * singleStepProgress;
339 ReportProgress(info, totalProgress);
340}
341
342void CookingData::AddRootAsset(const Guid& id)
343{

Callers 7

PerformMethod · 0.80
PerformMethod · 0.80
PerformMethod · 0.80
PerformMethod · 0.80
PerformMethod · 0.80
PerformMethod · 0.80
OnPostProcessMethod · 0.80

Calls

no outgoing calls

Tested by 1

PerformMethod · 0.64