mirror of
https://github.com/godotengine/godot.git
synced 2024-12-03 09:52:18 +08:00
Make AnimatedTexture.MAX_FRAMES
public
The constant is already exposed in GDScript, but not in C++. This information is useful for implementing animated texture resource importers via modules.
This commit is contained in:
parent
f10c3810bb
commit
528056a3c5
@ -632,11 +632,12 @@ class AnimatedTexture : public Texture2D {
|
||||
//use readers writers lock for this, since its far more times read than written to
|
||||
RWLock *rw_lock;
|
||||
|
||||
private:
|
||||
public:
|
||||
enum {
|
||||
MAX_FRAMES = 256
|
||||
};
|
||||
|
||||
private:
|
||||
RID proxy_ph;
|
||||
RID proxy;
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user