How to access sprite object in updateTransform callback in ReactPixi (@pixi-react)
Pixi.js added an onRender callback that is called every frame in v8, however ReactPixi seems to only have support for Pixi.js v7, so I have to use updateTransform
. The documentation below states about updateTransform
– “many people used this function to do custom logic every frame”
How to control rate that updateTransform gets called in ReactPixi (@pixi-react)
Pixi.js added an onRender callback that is called every frame in v8, however ReactPixi seems to only have support for Pixi.js v7, so I have to use updateTransform
. The documentation below states about updateTransform
– “many people used this function to do custom logic every frame”