mirror of
https://github.com/godotengine/godot.git
synced 2024-12-03 09:32:11 +00:00
Texture: Fix wrong method bind instance type
This commit is contained in:
parent
d9a97aae04
commit
640a3c46c3
@ -73,7 +73,7 @@ void Texture::_bind_methods() {
|
||||
ClassDB::bind_method(D_METHOD("draw", "canvas_item", "pos", "modulate", "transpose", "normal_map:Texture"), &Texture::draw, DEFVAL(Color(1, 1, 1)), DEFVAL(false), DEFVAL(Variant()));
|
||||
ClassDB::bind_method(D_METHOD("draw_rect", "canvas_item", "rect", "tile", "modulate", "transpose", "normal_map:Texture"), &Texture::draw_rect, DEFVAL(Color(1, 1, 1)), DEFVAL(false), DEFVAL(Variant()));
|
||||
ClassDB::bind_method(D_METHOD("draw_rect_region", "canvas_item", "rect", "src_rect", "modulate", "transpose", "normal_map:Texture", "clip_uv"), &Texture::draw_rect_region, DEFVAL(Color(1, 1, 1)), DEFVAL(false), DEFVAL(Variant()), DEFVAL(true));
|
||||
ClassDB::bind_method(D_METHOD("get_data:Image", "cube_side"), &ImageTexture::get_data);
|
||||
ClassDB::bind_method(D_METHOD("get_data:Image"), &Texture::get_data);
|
||||
|
||||
BIND_CONSTANT(FLAG_MIPMAPS);
|
||||
BIND_CONSTANT(FLAG_REPEAT);
|
||||
|
Loading…
Reference in New Issue
Block a user