summaryrefslogtreecommitdiffstats
path: root/scene/resources/texture.h
diff options
context:
space:
mode:
authorRémi Verschelde <remi@verschelde.fr>2022-09-06 18:32:48 +0200
committerGitHub <noreply@github.com>2022-09-06 18:32:48 +0200
commit0c4d578bdf0630d81ab4ef13a8e596c6980b3df9 (patch)
tree3390ebab0ed61a65972d8eb3daa6d217541fb34c /scene/resources/texture.h
parent5fb84e5702d7fbfc011c05304500c0b61ef2ef92 (diff)
parent8949386382320bc1055ee1d8eb3e86dc94c0ad8e (diff)
downloadredot-engine-0c4d578bdf0630d81ab4ef13a8e596c6980b3df9.tar.gz
Merge pull request #65194 from Mickeon/rename-one-shot
Diffstat (limited to 'scene/resources/texture.h')
-rw-r--r--scene/resources/texture.h6
1 files changed, 3 insertions, 3 deletions
diff --git a/scene/resources/texture.h b/scene/resources/texture.h
index 430c73dbc6..1ce3b27065 100644
--- a/scene/resources/texture.h
+++ b/scene/resources/texture.h
@@ -929,7 +929,7 @@ private:
int frame_count = 1.0;
int current_frame = 0;
bool pause = false;
- bool oneshot = false;
+ bool one_shot = false;
float fps = 4.0;
float time = 0.0;
@@ -952,8 +952,8 @@ public:
void set_pause(bool p_pause);
bool get_pause() const;
- void set_oneshot(bool p_oneshot);
- bool get_oneshot() const;
+ void set_one_shot(bool p_one_shot);
+ bool get_one_shot() const;
void set_frame_texture(int p_frame, const Ref<Texture2D> &p_texture);
Ref<Texture2D> get_frame_texture(int p_frame) const;