UI图片
UI Image
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.
图片元素是否加载完成。
Whether the image element has finished loading.
事件管理器。
Event manager.
图片元素的内容,应为图片的路径或者 URL。
The content of the image element, which should be the path or URL of the image.
图片元素的图片资源展示方式
The display mode of the image resource for the image element
图片元素中的图片资源不属于其子元素,所以图片资源只受imageDisplayMode属性影响,不受其所在元素的裁剪、自适应作用。
缺省值:ImageDisplayMode.Fill
The image resource in the image element is not a child element, so the image resource is only affected by the imageDisplayMode property and is not affected by the clipping and adaptive effects of its parent element.
Default value: ImageDisplayMode.Fill
图片元素的透明度。
The opacity of the image element.
该节点的标识,可重复。
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 UiImage instance.
Zh
UI图片
En
UI Image