Texture2D
Inherits: Texture < Resource < RefCounted < Object
Inherited By: AnimatedTexture, AtlasTexture, CameraTexture, CanvasTexture, CompressedTexture2D, CurveTexture, CurveXYZTexture, GradientTexture1D, GradientTexture2D, ImageTexture, MeshTexture, NoiseTexture2D, PlaceholderTexture2D, PortableCompressedTexture2D, Texture2DRD, ViewportTexture
There is currently no description for this class. Please help us by contributing one!
Methods
void |
_draw ( RID to_canvas_item, Vector2 pos, Color modulate, bool transpose ) virtual const |
void |
_draw_rect ( RID to_canvas_item, Rect2 rect, bool tile, Color modulate, bool transpose ) virtual const |
void |
_draw_rect_region ( RID to_canvas_item, Rect2 rect, Rect2 src_rect, Color modulate, bool transpose, bool clip_uv ) virtual const |
_get_height ( ) virtual const |
|
_get_width ( ) virtual const |
|
_has_alpha ( ) virtual const |
|
_is_pixel_opaque ( int x, int y ) virtual const |
|
create_placeholder ( ) const |
|
void |
draw ( RID canvas_item, Vector2 position, Color modulate=Color(1, 1, 1, 1), bool transpose=false ) const |
void |
draw_rect ( RID canvas_item, Rect2 rect, bool tile, Color modulate=Color(1, 1, 1, 1), bool transpose=false ) const |
void |
draw_rect_region ( RID canvas_item, Rect2 rect, Rect2 src_rect, Color modulate=Color(1, 1, 1, 1), bool transpose=false, bool clip_uv=true ) const |
get_height ( ) const |
|
get_image ( ) const |
|
get_size ( ) const |
|
get_width ( ) const |
|
has_alpha ( ) const |
Method Descriptions
void _draw ( RID to_canvas_item, Vector2 pos, Color modulate, bool transpose ) virtual const
There is currently no description for this method. Please help us by contributing one!
void _draw_rect ( RID to_canvas_item, Rect2 rect, bool tile, Color modulate, bool transpose ) virtual const
There is currently no description for this method. Please help us by contributing one!
void _draw_rect_region ( RID to_canvas_item, Rect2 rect, Rect2 src_rect, Color modulate, bool transpose, bool clip_uv ) virtual const
There is currently no description for this method. Please help us by contributing one!
int _get_height ( ) virtual const
There is currently no description for this method. Please help us by contributing one!
int _get_width ( ) virtual const
There is currently no description for this method. Please help us by contributing one!
bool _has_alpha ( ) virtual const
There is currently no description for this method. Please help us by contributing one!
bool _is_pixel_opaque ( int x, int y ) virtual const
There is currently no description for this method. Please help us by contributing one!
Resource create_placeholder ( ) const
There is currently no description for this method. Please help us by contributing one!
void draw ( RID canvas_item, Vector2 position, Color modulate=Color(1, 1, 1, 1), bool transpose=false ) const
There is currently no description for this method. Please help us by contributing one!
void draw_rect ( RID canvas_item, Rect2 rect, bool tile, Color modulate=Color(1, 1, 1, 1), bool transpose=false ) const
There is currently no description for this method. Please help us by contributing one!
void draw_rect_region ( RID canvas_item, Rect2 rect, Rect2 src_rect, Color modulate=Color(1, 1, 1, 1), bool transpose=false, bool clip_uv=true ) const
There is currently no description for this method. Please help us by contributing one!
int get_height ( ) const
There is currently no description for this method. Please help us by contributing one!
Image get_image ( ) const
There is currently no description for this method. Please help us by contributing one!
Vector2 get_size ( ) const
There is currently no description for this method. Please help us by contributing one!
int get_width ( ) const
There is currently no description for this method. Please help us by contributing one!
bool has_alpha ( ) const
There is currently no description for this method. Please help us by contributing one!