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
TransformBit
Enumeration TransformBit
Bit masks for node's transformation
Index
Enumeration members
NONE
POSITION
ROTATION
RS
SCALE
TRS
TRS_
MASK
Enumeration members
NONE
NONE
:
= 0
zh
无改变
POSITION
POSITION
:
= (1 << 0)
zh
节点位置改变
ROTATION
ROTATION
:
= (1 << 1)
zh
节点旋转
RS
RS
:
= TransformBit.ROTATION | TransformBit.SCALE
zh
节点旋转及缩放
SCALE
SCALE
:
= (1 << 2)
zh
节点缩放
TRS
TRS
:
= TransformBit.POSITION | TransformBit.ROTATION | TransformBit.SCALE
zh
节点平移,旋转及缩放
TRS_
MASK
TRS_
MASK
:
= ~TransformBit.TRS
Globals
scene-
graph
Transform
Bit
NONE
POSITION
ROTATION
RS
SCALE
TRS
TRS_
MASK
Generated using
TypeDoc
Bit masks for node's transformation