STATE_3D_sequence_get_number_of_laps
Returns the number of times that we have passed the last frame in the sequence If the sequence is not cyclic then this function will return 0 or 1. This function can be used to check if the sequence was finished.