From 3c7b713ef912a9c4ab9ad2aea592e1334001ae48 Mon Sep 17 00:00:00 2001 From: Danil Alexeev Date: Sun, 16 Jun 2024 18:43:20 +0300 Subject: [PATCH] Animation: Document frame duration units in `SpriteFrames` --- doc/classes/SpriteFrames.xml | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/doc/classes/SpriteFrames.xml b/doc/classes/SpriteFrames.xml index 93c4a6e8de8..fd8c15c5603 100644 --- a/doc/classes/SpriteFrames.xml +++ b/doc/classes/SpriteFrames.xml @@ -23,7 +23,7 @@ - Adds a frame to the [param anim] animation. If [param at_position] is [code]-1[/code], the frame will be added to the end of the animation. + Adds a frame to the [param anim] animation. If [param at_position] is [code]-1[/code], the frame will be added to the end of the animation. [param duration] specifies the relative duration, see [method get_frame_duration] for details. @@ -139,7 +139,7 @@ - Sets the [param texture] and the [param duration] of the frame [param idx] in the [param anim] animation. + Sets the [param texture] and the [param duration] of the frame [param idx] in the [param anim] animation. [param duration] specifies the relative duration, see [method get_frame_duration] for details.