new PIXI.TimeLimiter(maxMilliseconds)
Name | Type | Description |
---|---|---|
maxMilliseconds |
number |
The maximum milliseconds that can be spent preparing items each frame. |
Methods
-
allowedToUpload(){boolean}
-
Checks to see if another item can be uploaded. This should only be called once per item.
Returns:
Type Description boolean If the item is allowed to be uploaded. -
beginFrame()
-
Resets any counting properties to start fresh on a new frame.