Function AnimatedTexture.setFrameTexture
Assigns a Texture
to the given frame. Frame IDs start at 0, so the first frame has ID 0, and the last frame of the animation has ID frames
- 1.
You can define any number of textures up to constant MAX_FRAMES
, but keep in mind that only frames from 0 to frames
- 1 will be part of the animation.