Attention: Here be dragons
This is the latest
(unstable) version of this documentation, which may document features
not available in or compatible with released stable versions of Godot.
Checking the stable version of the documentation...
ReferenceRect
继承: Control < CanvasItem < Node < Object
设计 UI 使用的矩形提示。
描述
仅在对应矩形周围上显示彩色边框的矩形框。用于将 Control 的范围可视化。
属性
|
||
|
||
|
属性说明
Color border_color = Color(1, 0, 0, 1)
🔗
设置该 ReferenceRect 的边框颜色。
设置该 ReferenceRect 的边框宽度。边界相对于矩形框同时向内向外伸长。
如果为 true
,则 ReferenceRect 仅在编辑器中可见。否则,ReferenceRect 将在正在运行的项目中可见。