FabGL
ESP32 VGA Controller and Graphics Library

◆ updateSprite()

void fabgl::Scene::updateSprite ( Sprite sprite)
inline

Update collision detector.

When a sprite changes its position or size it is necessary to update the collision detector. This method just updates the detector without generate collision events. To generate collision events call Scene.updateSpriteAndDetectCollisions instead.

Parameters
spriteThe sprite to update.