29 #ifndef CANVAS_LAYER_H 30 #define CANVAS_LAYER_H 32 #include "scene/main/node.h" 33 #include "scene/resources/world_2d.h" 41 bool locrotscale_dirty;
52 void _set_rotationd(real_t p_rotation);
53 real_t _get_rotationd()
const;
56 void _update_locrotscale();
60 void _notification(
int p_what);
61 static void _bind_methods();
64 void set_layer(
int p_xform);
65 int get_layer()
const;
67 void set_transform(
const Matrix32& p_xform);
70 void set_offset(
const Vector2& p_offset);
73 void set_rotation(real_t p_radians);
74 real_t get_rotation()
const;
76 void set_rotationd(real_t p_degrees);
77 real_t get_rotationd()
const;
79 void set_scale(
const Vector2& p_scale);
84 Size2 get_viewport_size()
const;
86 RID get_viewport()
const;
91 #endif // CANVAS_LAYER_H
Definition: viewport.h:75
Definition: canvas_layer.h:37
Definition: math_2d.h:554