mirror of
https://github.com/Orama-Interactive/Pixelorama.git
synced 2025-01-19 01:29:49 +00:00
14 lines
413 B
GDScript3
14 lines
413 B
GDScript3
|
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
|