UI盒子
UI Box
Readonly
节点的锚点,用于确定节点的位置。
The anchor of the node, used to determine the position of the node.
节点的自动调整尺寸的方式。
The way the node automatically resizes.
节点的背景颜色。
The background color of the node.
节点的背景透明度。
The background opacity of the node.
节点的子节点。如需要调整子节点结构,应修改子节点的parent属性。
The child nodes of this node. To adjust the child node structure, you should modify the parent property of the child node.
克隆节点,包括其子节点。
Clones the node, including its children.
事件管理器。
Event manager.
该节点的标识,可重复。
The identifier of this node, can be repeated.
节点的父节点,非根节点的父节点为空时,该节点将不会被渲染。
The parent node of this node. If the parent of a non-root node is empty, the node will not be rendered.
配置鼠标指针事件的响应方式
Configures the response method for mouse pointer events
节点的位置,相对于父节点的位置。
The position of the node, relative to the parent node.
节点的旋转(角度)
The rotation of the node (in degrees).
节点的尺寸。
The size of the node.
节点等比例缩放数据。
Node proportional scaling data.
节点的可见性。
The visibility of the node.
节点的层级,用于确定节点的渲染顺序。
The z-index of the node, used to determine the rendering order.
按名称查找子节点,返回对应子节点对象。(节点名称可在编辑模式下的属性面板中查看)
Finds a child node by name and returns the corresponding child node object. (The node name can be viewed in the properties panel in edit mode)
子节点名称。
The name of the child node.
https://docs.dao3.fun/arenapro/zh/difference/findChildByName.html
Static
创建一个新的 Ui盒子 实例。
Creates a new UiBox instance.
Zh
UI盒子
En
UI Box