IClothingSimulation::GatherStats

Called by the engine once per physics tick to gather non-cycle stats (num sim verts etc.) Will not be called if STATS is not defined, not required to be implemented if no need for stats.

Choose your operating system:

Windows

macOS

Linux

References

Module

ClothingSystemRuntimeInterface

Header

/Engine/Source/Runtime/ClothingSystemRuntimeInterface/Public/ClothingSimulationInterface.h

Include

#include "ClothingSimulationInterface.h"

Syntax

virtual void GatherStats() const

Remarks

Called by the engine once per physics tick to gather non-cycle stats (num sim verts etc.) Will not be called if STATS is not defined, not required to be implemented if no need for stats. STAT_NumCloths and STAT_NumClothVerts are already defined and can be incremented, more can be added per simulation. This can be called on any thread, so derived implementations should make sure the gather is safe