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

Function UpdateFileRead

Source/ThirdParty/assimp/ProgressHandler.hpp:107–110  ·  view source on GitHub ↗

------------------------------------------------------------------- @brief Progress callback for file loading steps * @param numberOfSteps The number of total post-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

Source from the content-addressed store, hash-verified

105 * of the file parsing.
106 * */
107 virtual void UpdateFileRead(int currentStep /*= 0*/, int numberOfSteps /*= 0*/) {
108 float f = numberOfSteps ? currentStep / (float)numberOfSteps : 1.0f;
109 Update( f * 0.5f );
110 }
111
112 // -------------------------------------------------------------------
113 /** @brief Progress callback for post-processing steps

Callers

nothing calls this directly

Calls 1

UpdateFunction · 0.50

Tested by

no test coverage detected