Cocos Creator
手册文档
API 参考
Cocos Creator 3D
手册文档
API 参考
Cocos2d-x
手册文档
API 参考
Version: 1.2
Version: 1.0
Version: 1.1
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
节点的空间变换位标记
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
cocos\core\scene-
graph
Node
Space
Transform
Bit
NONE
POSITION
ROTATION
RS
SCALE
TRS
TRS_
MASK
Generated using
TypeDoc
节点的空间变换位标记