1
0
Fork 0
mirror of https://github.com/Orama-Interactive/Pixelorama.git synced 2025-01-18 17:19:50 +00:00
Pixelorama/addons/aimg_io/frame.gd

14 lines
413 B
GDScript3
Raw Normal View History

class_name AImgIOFrame
extends Reference
# Represents a variable-timed frame of an animation.
# Typically stuffed into an array.
# Content of the frame.
# WARNING: Exporters expect this to be FORMAT_RGBA8.
# This is because otherwise they'd have to copy it or convert it in place.
# Both of those are bad ideas, so thus this.
var content: Image
# Time in seconds this frame lasts for.
var duration: float = 0.1