You've already forked godot
mirror of
https://github.com/godotengine/godot.git
synced 2025-12-05 17:15:09 +00:00
StyleBoxTexture: Texture instead of RES for texture and normal_map.
This commit is contained in:
@@ -112,11 +112,11 @@ public:
|
||||
void set_region_rect(const Rect2 &p_region_rect);
|
||||
Rect2 get_region_rect() const;
|
||||
|
||||
void set_texture(RES p_texture);
|
||||
RES get_texture() const;
|
||||
void set_texture(Ref<Texture> p_texture);
|
||||
Ref<Texture> get_texture() const;
|
||||
|
||||
void set_normal_map(RES p_normal_map);
|
||||
RES get_normal_map() const;
|
||||
void set_normal_map(Ref<Texture> p_normal_map);
|
||||
Ref<Texture> get_normal_map() const;
|
||||
|
||||
void set_draw_center(bool p_enabled);
|
||||
bool is_draw_center_enabled() const;
|
||||
|
||||
Reference in New Issue
Block a user