You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I was looking at the code for FixedTickProvider and it just outputs a signal every frame no matter what the time adjustment or frametimer says. I replaced the code from that file with the code from FrameTickProvider and changed the dispatch function to
Now the second argument to the constructor defines how many frame-independent-seconds will elapse between signals.
new FixedTickProvider(container, 0.5); will dispatch a signal twice per second new FixedTickProvider(container, 5); will dispatch a signal once every five seconds
I'd be willing to make a pull request if this is the intended functionality of the class but I admit I don't know how
The text was updated successfully, but these errors were encountered:
I was looking at the code for FixedTickProvider and it just outputs a signal every frame no matter what the time adjustment or frametimer says. I replaced the code from that file with the code from FrameTickProvider and changed the dispatch function to
Now the second argument to the constructor defines how many frame-independent-seconds will elapse between signals.
new FixedTickProvider(container, 0.5);
will dispatch a signal twice per secondnew FixedTickProvider(container, 5);
will dispatch a signal once every five secondsI'd be willing to make a pull request if this is the intended functionality of the class but I admit I don't know how
The text was updated successfully, but these errors were encountered: