mirror of
https://github.com/godotengine/godot.git
synced 2025-12-08 06:09:55 +00:00
Hide clip_children for non-drawn CanvasItems
This commit is contained in:
parent
cc7aa72f01
commit
bbf203bc32
22 changed files with 40 additions and 0 deletions
|
|
@ -106,6 +106,7 @@ private:
|
|||
bool use_parent_material = false;
|
||||
bool notify_local_transform = false;
|
||||
bool notify_transform = false;
|
||||
bool hide_clip_children = false;
|
||||
|
||||
ClipChildrenMode clip_children_mode = CLIP_CHILDREN_DISABLED;
|
||||
|
||||
|
|
@ -155,6 +156,9 @@ protected:
|
|||
|
||||
void _notification(int p_what);
|
||||
static void _bind_methods();
|
||||
void _validate_property(PropertyInfo &p_property) const;
|
||||
|
||||
_FORCE_INLINE_ void set_hide_clip_children(bool p_value) { hide_clip_children = p_value; }
|
||||
|
||||
GDVIRTUAL0(_draw)
|
||||
public:
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue