AR_Engine_SDK
|
Variables | |
XUIRadioButton = {} | |
XUIRadioButton | SELECTED = 0 |
XUIRadioButton | UNSELECTED = 0 |
function XUIRadioButtonGroup AddEventListener | ( | callback | ) |
@manual xelua_XEngine_XUIRadioButtonGroup_AddEventListener_manual XUIRadioButtonGroup_AddEventListener_manual
callback | std::function<void(XUIRadioButton*pRadioButton, xint32 index, XUIRadioButtonGroup::EventType)> |
function XUIRadioButtonGroup AddRadioButton | ( | pRadioButton | ) |
function XUIRadioButton AddRadioButtonEventListener | ( | callback | ) |
@manual xelua_XEngine_XUIRadioButton_AddRadioButtonEventListener_manual XUIRadioButton_AddRadioButtonEventListener_manual
callback | std::function<void(XUINode*, XUIRadioButton::EventType)> |
function XUIRadioButton Cleanup | ( | ) |
XUIRadioButton_Cleanup00
function XUIRadioButtonGroup Clone | ( | ) |
XUIRadioButtonGroup_Clone00
function XUIRadioButton Create | ( | ) |
function XUIRadioButton Create | ( | strBackGroundNormalTexture | , |
strBackGroundSelectedTexture | , | ||
strCrossTexture | , | ||
strBackGroundDisabledTexture | , | ||
strFrontCrossDisabledTexture | , | ||
eTextureType | |||
) |
创建并返回一个控件实例
strBackGroundNormalTexture | string 背景常态图片 |
strBackGroundSelectedTexture | string 背景选中态图片 |
strCrossTexture | string 前景图片 |
strBackGroundDisabledTexture | string 背景禁用态图片 |
strFrontCrossDisabledTexture | string 前景禁用状态图片 |
eTextureType | number 相对路径/绝对路径 |
function XUIRadioButton Create | ( | strBackGroundTexture | , |
strCrossTexture | , | ||
eTextureType | |||
) |
创建并返回一个控件实例
strBackGroundTexture | string 背景常态图片 |
strCrossTexture | string 前景图片 |
eTextureType | number 相对路径/绝对路径 |
function XUIRadioButtonGroup DeselectAll | ( | ) |
XUIRadioButtonGroup_DeselectAll00
function XUIRadioButton Draw | ( | pWorld | , |
unParentFlags | |||
) |
重写这个方法来绘制你自己的节点
pWorld | IXRenderSet 给定的世界指针 |
unParentFlags | number 渲染器标签 |
function XUIRadioButton GetGroup | ( | ) |
XUIRadioButton_GetGroup00
function XUIRadioButtonGroup GetNumberOfRadioButtons | ( | ) |
XUIRadioButtonGroup_GetNumberOfRadioButtons00
function XUIRadioButtonGroup GetRadioButtonByIndex | ( | nIndex | ) |
function XUIRadioButtonGroup GetSelectedButtonIndex | ( | ) |
XUIRadioButtonGroup_GetSelectedButtonIndex00
function XUIRadioButtonGroup IsAllowedNoSelection | ( | ) |
XUIRadioButtonGroup_IsAllowedNoSelection00
function XUIRadioButton new | ( | ) |
function XUIRadioButtonGroup RemoveAllRadioButtons | ( | ) |
XUIRadioButtonGroup_RemoveAllRadioButtons00
function XUIRadioButtonGroup RemoveRadioButton | ( | pRadioButton | ) |
function XUIRadioButtonGroup SetAllowedNoSelection | ( | bAllowedNoSelection | ) |
XUIRadioButtonGroup_SetAllowedNoSelection00
bAllowedNoSelection | boolean |
function XUIRadioButtonGroup SetSelectedButton | ( | nIndex | ) |
XUIRadioButtonGroup_SetSelectedButton00
nIndex | number |
function XUIRadioButtonGroup SetSelectedButton | ( | pRadioButton | ) |
function XUIRadioButtonGroup SetSelectedButtonWithoutEvent | ( | nIndex | ) |
XUIRadioButtonGroup_SetSelectedButtonWithoutEvent00
nIndex | number |
function XUIRadioButtonGroup SetSelectedButtonWithoutEvent | ( | pRadioButton | ) |
XUIRadioButtonGroup_SetSelectedButtonWithoutEvent01
pRadioButton | XUIRadioButton |
XUIRadioButton SELECTED = 0 |
XUIRadioButton UNSELECTED = 0 |
XUIRadioButton = {} |