1
0
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:
Pieter-Jan Briers
2018-02-22 19:27:35 +01:00
parent edd07270c2
commit b51a86a57a
3 changed files with 10 additions and 10 deletions

View File

@@ -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;