Change the sprite image to a new image, and update the collision shape accordingly.
procedure SetImageAndUpdateShape(const NewImage: TAgkImage);
Updating the collision shape is an expensive process. To change the image without updating the collision shape, use the Image property.
Copyright (c) 2012. All rights reserved.
|