Cocos Creator
手册文档
API 参考
Cocos Creator 3D
手册文档
API 参考
Cocos2d-x
手册文档
API 参考
Version: 1.2
Version: 1.0
Version: 1.1
Version: 1.2
Search
Preparing search index...
The search index is not available
Creator3dAPI
Options
All
Public
Public/Protected
All
Inherited
Externals
Only exported
Menu
Globals
scenegraph
NodeUIProperties
Class NodeUIProperties
节点上 UI 相关的属性抽象类
Hierarchy
NodeUIProperties
Index
Constructors
constructor
Properties
_node
_ui
Transform
Comp
opacity
ui
Comp
Accessors
ui
Transform
Comp
Constructors
constructor
new
NodeUIProperties
(
node
:
any
)
:
NodeUIProperties
Parameters
node:
any
Returns
NodeUIProperties
Properties
Private
_node
_node
:
any
Protected
_ui
Transform
Comp
_ui
Transform
Comp
:
UITransform
|
null
= null
opacity
opacity
:
number
= 1
UI 透明度
ui
Comp
ui
Comp
:
UIComponent
|
UIRenderable
|
null
= null
UI 基类组件
Accessors
ui
Transform
Comp
get
uiTransformComp
(
)
:
null
|
UITransform
set
uiTransformComp
(
value
:
null
|
UITransform
)
:
void
UI 变换组件
Returns
null
|
UITransform
UI 变换组件
Parameters
value:
null
|
UITransform
Returns
void
Globals
scene-
graph
NodeUIProperties
constructor
_node
_ui
Transform
Comp
opacity
ui
Comp
ui
Transform
Comp
Generated using
TypeDoc
节点上 UI 相关的属性抽象类