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

Method BeginSync

Source/Engine/Level/Level.cpp:1058–1068  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

1056}
1057
1058void TimeSlicer::BeginSync(float timeBudget, int32 count, int32 startIndex)
1059{
1060 if (Index == -1)
1061 {
1062 // Starting
1063 Index = startIndex;
1064 Count = count;
1065 }
1066 TimeBudget = (double)timeBudget;
1067 StartTime = Platform::GetTimeSeconds();
1068}
1069
1070bool TimeSlicer::StepSync()
1071{

Callers 1

OnDeserializeMethod · 0.80

Calls

no outgoing calls

Tested by

no test coverage detected