count property

int count
final

Current frame count.

This method provides access to the frame count, which is a sequence number indicating how many frames have been rendered up to (but not including) the current frame, starting at 0.

Can be used for:

  • Animations
  • Performance tracking
  • Debugging

The frame count is guaranteed to be monotonically increasing except it will wrap around to 0 after reaching the maximum value of an integer on the executing platform.

Implementation

final int count;