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

Function UpdateFileWrite

Source/ThirdParty/assimp/ProgressHandler.hpp:136–139  ·  view source on GitHub ↗

------------------------------------------------------------------- @brief Progress callback for export steps. * @param numberOfSteps The number of total processing * steps * @param currentStep The index of the current post-processing * step that will run, or equal to numberOfSteps if all of * them has finished. This number is always strictly monotone * incr

Source from the content-addressed store, hash-verified

134 * increasing, although not necessarily linearly.
135 * */
136 virtual void UpdateFileWrite(int currentStep /*= 0*/, int numberOfSteps /*= 0*/) {
137 float f = numberOfSteps ? currentStep / (float)numberOfSteps : 1.0f;
138 Update(f * 0.5f);
139 }
140}; // !class ProgressHandler
141
142// ------------------------------------------------------------------------------------

Callers

nothing calls this directly

Calls 1

UpdateFunction · 0.50

Tested by

no test coverage detected