Skip to content

Commit 44b2c4e

Browse files
committed
Clarify ResourceLoader.load_threaded_get_status() completion ratio description
1 parent 87318a2 commit 44b2c4e

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

doc/classes/ResourceLoader.xml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -104,7 +104,7 @@
104104
<param index="1" name="progress" type="Array" default="[]" />
105105
<description>
106106
Returns the status of a threaded loading operation started with [method load_threaded_request] for the resource at [param path]. See [enum ThreadLoadStatus] for possible return values.
107-
An array variable can optionally be passed via [param progress], and will return a one-element array containing the percentage of completion of the threaded loading.
107+
An array variable can optionally be passed via [param progress], and will return a one-element array containing the ratio of completion of the threaded loading (between [code]0.0[/code] and [code]1.0[/code]).
108108
[b]Note:[/b] The recommended way of using this method is to call it during different frames (e.g., in [method Node._process], instead of a loop).
109109
</description>
110110
</method>

0 commit comments

Comments
 (0)