Clarify documentation and indicate that rect_clip_content affects only CanvasItem based nodes.
Resolves #37683
This commit is contained in:
parent
4f5ad0734b
commit
3f19b5e0b3
|
@ -838,7 +838,7 @@
|
||||||
Controls whether the control will be able to receive mouse button input events through [method _gui_input] and how these events should be handled. Also controls whether the control can receive the [signal mouse_entered], and [signal mouse_exited] signals. See the constants to learn what each does.
|
Controls whether the control will be able to receive mouse button input events through [method _gui_input] and how these events should be handled. Also controls whether the control can receive the [signal mouse_entered], and [signal mouse_exited] signals. See the constants to learn what each does.
|
||||||
</member>
|
</member>
|
||||||
<member name="rect_clip_content" type="bool" setter="set_clip_contents" getter="is_clipping_contents" default="false">
|
<member name="rect_clip_content" type="bool" setter="set_clip_contents" getter="is_clipping_contents" default="false">
|
||||||
Enables whether rendering of children should be clipped to this control's rectangle. If [code]true[/code], parts of a child which would be visibly outside of this control's rectangle will not be rendered.
|
Enables whether rendering of [CanvasItem] based children should be clipped to this control's rectangle. If [code]true[/code], parts of a child which would be visibly outside of this control's rectangle will not be rendered.
|
||||||
</member>
|
</member>
|
||||||
<member name="rect_global_position" type="Vector2" setter="_set_global_position" getter="get_global_position">
|
<member name="rect_global_position" type="Vector2" setter="_set_global_position" getter="get_global_position">
|
||||||
The node's global position, relative to the world (usually to the top-left corner of the window).
|
The node's global position, relative to the world (usually to the top-left corner of the window).
|
||||||
|
|
Loading…
Reference in New Issue