setFrameTextures method
Sets the textures to be used for the frames of the movie clip.
list
is a list of textures to use for the frames of the movie clip.
Returns the list of textures that were set.
Implementation
List<GTexture> setFrameTextures(List<GTexture> list) {
_frameTextures = list;
frameCount = list.length;
currentFrame = 0;
texture = list.isNotEmpty ? list[0] : null;
return list;
}