Cocos Creator
手册文档
API 参考
Cocos Creator 3D
手册文档
API 参考
Cocos2d-x
手册文档
API 参考
Version: 3.2
Version: 3.5
Version: 3.4
Version: 3.3
Version: 3.1
Version: 3.0
Version: 2.4
Version: 2.3
Version: 2.2
Version: 2.1
Version: 2.0
Version: 1.10
Version: 1.9
Search
Preparing search index...
The search index is not available
CocosCreatorAPI
Options
All
Public
Public/Protected
All
Inherited
Externals
Only exported
Menu
Globals
scenegraph
TransformBit
Enumeration TransformBit
节点的空间变换位标记
Index
Enumeration members
NONE
POSITION
ROTATION
RS
SCALE
TRS
TRS_
MASK
Enumeration members
NONE
NONE
:
= 0
无改变
POSITION
POSITION
:
= (1 << 0)
节点位置改变
ROTATION
ROTATION
:
= (1 << 1)
节点旋转
RS
RS
:
= TransformBit.ROTATION | TransformBit.SCALE
节点旋转及缩放
SCALE
SCALE
:
= (1 << 2)
节点缩放
TRS
TRS
:
= TransformBit.POSITION | TransformBit.ROTATION | TransformBit.SCALE
节点平移,旋转及缩放
TRS_
MASK
TRS_
MASK
:
= ~TransformBit.TRS
Globals
scene-
graph
Transform
Bit
NONE
POSITION
ROTATION
RS
SCALE
TRS
TRS_
MASK
Generated using
TypeDoc
节点的空间变换位标记