Cocos Creator
Manual
API Ref
Cocos2d-x
Manual
API Ref
Version: 3.1
Version: 3.5
Version: 3.4
Version: 3.3
Version: 3.2
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
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