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
primitive
PrimitiveType
Enumeration PrimitiveType
Index
Enumeration members
BOX
CAPSULE
CONE
CYLINDER
PLANE
QUAD
SPHERE
TORUS
Enumeration members
BOX
BOX
:
= 0
CAPSULE
CAPSULE
:
= 4
CONE
CONE
:
= 3
CYLINDER
CYLINDER
:
= 2
PLANE
PLANE
:
= 6
QUAD
QUAD
:
= 7
SPHERE
SPHERE
:
= 1
TORUS
TORUS
:
= 5
Globals
3d/primitive
Primitive
Type
BOX
CAPSULE
CONE
CYLINDER
PLANE
QUAD
SPHERE
TORUS
Generated using
TypeDoc