载入中...
搜索中...
未找到
Retained UI widget node (arena tree). Conceptual counterpart of eve::scene::SceneNode; built declaratively from WidgetDesc. 更多...
#include <UIHost.h>
Public 属性 | |
| NodeType | type = NodeType::Text |
| std::string | id |
| std::string | key |
| std::string | text |
| std::string | valueText |
| bool | visible = true |
| bool | checked = false |
| bool | open = true |
| float | value = 0.f |
| float | minValue = 0.f |
| float | maxValue = 1.f |
| float | sizeX = 0.f |
| float | sizeY = 0.f |
| float | marginL = 0.f |
| float | marginT = 0.f |
| float | marginR = 0.f |
| float | marginB = 0.f |
| float | paddingL = 0.f |
| float | paddingT = 0.f |
| float | paddingR = 0.f |
| float | paddingB = 0.f |
| float | minSizeX = 0.f |
| float | minSizeY = 0.f |
| float | maxSizeX = 0.f |
| float | maxSizeY = 0.f |
| float | percentW = 0.f |
| float | percentH = 0.f |
| float | anchorX = 0.f |
| float | anchorY = 0.f |
| float | posX = 0.f |
| float | posY = 0.f |
| bool | absolute = false |
| uint64_t | textureId = 0 |
| float | tintR = 1.f |
| float | tintG = 1.f |
| float | tintB = 1.f |
| float | tintA = 1.f |
| float | uv0x = 0.f |
| float | uv0y = 0.f |
| float | uv1x = 1.f |
| float | uv1y = 1.f |
| float | borderL = 0.f |
| float | borderT = 0.f |
| float | borderR = 0.f |
| float | borderB = 0.f |
| float | cornerRadius = 0.f |
| float | wrapWidth = 0.f |
| float | itemHeight = 0.f |
| float | measuredW = 0.f |
| float | measuredH = 0.f |
| FlexDirection | flexDirection = FlexDirection::Row |
| FlexAlign | alignItems = FlexAlign::Start |
| FlexJustify | justifyContent = FlexJustify::Start |
| float | gap = -1.f |
| float | flexGrow = 0.f |
| int | firstChild = -1 |
| int | nextSibling = -1 |
| uint32_t | handlerClick = 0 |
| uint32_t | handlerToggle = 0 |
| uint32_t | handlerValue = 0 |
| uint32_t | handlerText = 0 |
详细描述
Retained UI widget node (arena tree). Conceptual counterpart of eve::scene::SceneNode; built declaratively from WidgetDesc.
类成员变量说明
◆ absolute
◆ alignItems
| FlexAlign eve::ui::UINode::alignItems = FlexAlign::Start |
◆ anchorX
◆ anchorY
◆ borderB
◆ borderL
◆ borderR
◆ borderT
◆ checked
◆ cornerRadius
◆ firstChild
◆ flexDirection
| FlexDirection eve::ui::UINode::flexDirection = FlexDirection::Row |
◆ flexGrow
◆ gap
◆ handlerClick
◆ handlerText
◆ handlerToggle
◆ handlerValue
◆ id
◆ itemHeight
◆ justifyContent
| FlexJustify eve::ui::UINode::justifyContent = FlexJustify::Start |
◆ key
◆ marginB
◆ marginL
◆ marginR
◆ marginT
◆ maxSizeX
◆ maxSizeY
◆ maxValue
◆ measuredH
◆ measuredW
◆ minSizeX
◆ minSizeY
◆ minValue
◆ nextSibling
◆ open
◆ paddingB
◆ paddingL
◆ paddingR
◆ paddingT
◆ percentH
◆ percentW
◆ posX
◆ posY
◆ sizeX
◆ sizeY
◆ text
◆ textureId
◆ tintA
◆ tintB
◆ tintG
◆ tintR
◆ type
| NodeType eve::ui::UINode::type = NodeType::Text |
◆ uv0x
◆ uv0y
◆ uv1x
◆ uv1y
◆ value
◆ valueText
◆ visible
◆ wrapWidth
该结构体的文档由以下文件生成:
- src/modules/ui/UIHost.h