Index
Cocos Creator v2.1
Welcome to Cocos Creator JavaScript engine API reference. You can search anything in top left search filed.
All enums and classes are under cc
module if not specified otherwise.
Modules
Classes
Action
from ccActionInstant
from ccActionInterval
from ccActionManager
from ccAffineTransform
from ccAgentManager
from anysdkAnimation
from ccAnimation.EventType
from ccAnimationClip
from ccAnimationState
from ccArmatureDisplay
from dragonBonesarray
from jsAsset
from ccAudioClip
from ccaudioEngine
from ccAudioSource
from ccBitmapFont
from ccBlockInputEvents
from ccBoxCollider
from ccBufferAsset
from ccButton
from ccCallbacksInvoker
from ccCamera
from ccCanvas
from ccCCFactory
from dragonBonesCircleCollider
from ccCoffeeScript
from ccCollider
from ccCollider.Box
from ccCollider.Circle
from ccCollider.Polygon
from ccCollisionManager
from ccColor
from ccComponent
from ccComponent.EventHandler
from ccconstructor
from ccContainerStrategy
from ccContentStrategy
from ccdebug
from ccDetails
from ccDirector
from ccDistanceJoint
from ccDragonBonesAsset
from dragonBonesDragonBonesAtlasAsset
from dragonBonesDynamicAtlasManager
from ccEasing
from ccEditBox
from ccEqualToFrame
from ccEqualToWindow
from ccEvent
from ccEvent.EventAcceleration
from ccEvent.EventCustom
from ccEvent.EventKeyboard
from ccEvent.EventMouse
from ccEvent.EventTouch
from ccEventTarget
from ccFiniteTimeAction
from ccFont
from ccGame
from ccGraphics
from ccIntersection
from ccJoint
from ccJsonAsset
from ccLabel
from ccLabelAtlas
from ccLabelOutline
from ccLabelShadow
from ccLayout
from ccLight
from ccloader
from ccLoadingItems
from ccmacro
from ccManifold
from ccManifoldPoint
from ccMask
from ccMat4
from ccMaterial
from ccMesh
from ccMeshRenderer
from ccmisc
from ccMotionStreak
from ccMotorJoint
from ccMouseJoint
from ccNode
from ccNode.EventType
from ccNodePool
from ccOriginalContainer
from ccPageView
from ccPageViewIndicator
from ccParticleAsset
from ccParticleSystem
from ccpath
from ccPhysicsBoxCollider
from ccPhysicsChainCollider
from ccPhysicsCircleCollider
from ccPhysicsCollider
from ccPhysicsContact
from ccPhysicsImpulse
from ccPhysicsManager
from ccPhysicsPolygonCollider
from ccPhysicsRayCastResult
from ccPipeline
from ccPipeline.Downloader
from ccPipeline.Loader
from ccPlayable
from ccPluginParam
from anysdkPluginProtocol
from anysdkPolygonCollider
from ccPool
from jsPrefab
from ccprimitive.VertexData
from ccPrismaticJoint
from ccPrivateNode
from ccProgressBar
from ccProportionalToFrame
from ccProportionalToWindow
from ccProtocolAds
from anysdkProtocolAdTracking
from anysdkProtocolAnalytics
from anysdkProtocolCrash
from anysdkProtocolCustom
from anysdkProtocolIAP
from anysdkProtocolPush
from anysdkProtocolREC
from anysdkProtocolShare
from anysdkProtocolSocial
from anysdkProtocolUser
from anysdkQuat
from ccRawAsset
from ccRect
from ccRenderComponent
from ccrenderer
from ccRenderTexture
from ccResolutionPolicy
from ccRevoluteJoint
from ccRichText
from ccRigidBody
from ccRopeJoint
from ccScene
from ccSceneAsset
from ccScheduler
from ccscreen
from ccScrollbar
from ccScrollView
from ccSize
from ccSkeleton
from spSkeletonAnimation
from ccSkeletonAnimationClip
from ccSkeletonData
from spSkinnedMeshRenderer
from ccSlider
from ccSprite
from ccSpriteAtlas
from ccSpriteFrame
from ccSwanSubContextView
from ccsys
from ccSystemEvent
from ccSystemEvent.EventType
from ccTextAsset
from ccTexture2D
from ccTiledLayer
from ccTiledMap
from ccTiledMapAsset
from ccTiledObjectGroup
from ccTiledTile
from ccToggle
from ccToggleContainer
from ccToggleGroup
from ccTouch
from ccTTFFont
from ccTween
from ccTypeScript
from ccurl
from ccValueType
from ccVec2
from ccVec3
from ccVec4
from ccVideoPlayer
from ccView
from ccViewGroup
from ccvisibleRect
from ccWebView
from ccWeldJoint
from ccWheelJoint
from ccWidget
from ccWorldManifold
from ccWXSubContextView
from cc
Enums
AccountGender
from anysdkAccountOperate
from anysdkAccountType
from anysdkAdsPos
from anysdkAdsResultCode
from anysdkAdsType
from anysdkAnimationEventType
from spArmatureDisplay.AnimationCacheMode
from dragonBonesaudioEngine.AudioState
from ccButton.Transition
from ccCamera.ClearFlags
from ccCustomResultCode
from anysdkdebug.DebugMode
from ccEditBox.InputFlag
from ccEditBox.InputMode
from ccEditBox.KeyboardReturnType
from ccGraphics.LineCap
from ccGraphics.LineJoin
from ccLabel.CacheMode
from ccLabel.HorizontalAlign
from ccLabel.Overflow
from ccLabel.Type
from ccLabel.VerticalAlign
from ccLayout.AxisDirection
from ccLayout.HorizontalDirection
from ccLayout.ResizeMode
from ccLayout.Type
from ccLayout.VerticalDirection
from ccLight.ShadowType
from ccLight.Type
from ccLoadingItems.ItemState
from ccmacro.BlendFactor
from ccmacro.ImageFormat
from ccmacro.KEY
from ccmacro.TextAlignment
from ccMask.Type
from ccMeshRenderer.ShadowCastingMode
from ccPageView.Direction
from ccPageView.EventType
from ccPageView.SizeMode
from ccPageViewIndicator.Direction
from ccParticleSystem.EmitterMode
from ccParticleSystem.PositionType
from ccPayResultCode
from anysdkPhysicsManager.DrawBits
from ccPrefab.OptimizationPolicy
from ccprimitive.PolyhedronType
from ccProgressBar.Mode
from ccPushActionResultCode
from anysdkRayCastType
from ccRECResultCode
from anysdkRigidBodyType
from ccScrollbar.Direction
from ccScrollView.EventType
from ccShareResultCode
from anysdkSkeleton.AnimationCacheMode
from spSlider.Direction
from ccSocialRetCode
from anysdkSprite.FillType
from ccSprite.SizeMode
from ccSprite.State
from ccSprite.Type
from ccsys.NetworkType
from ccTaskType
from anysdkTexture2D.Filter
from ccTexture2D.PixelFormat
from ccTexture2D.WrapMode
from ccTiledMap.Orientation
from ccTiledMap.TMXObjectType
from ccToolBarPlace
from anysdkUserActionResultCode
from anysdkVerticalTextAlignment
from ccVideoPlayer.EventType
from ccVideoPlayer.ResourceType
from ccWebView.EventType
from ccWidget.AlignMode
from ccWrapMode
from cc
Editor API
Main Process
- Editor
- Editor (Console Module)
- Editor.App
- Editor.Debugger
- Editor.DevTools
- Editor.Dialog
- Editor.Ipc
- Editor.MainMenu
- Editor.Menu
- Editor.Package
- Editor.Panel
- Editor.Profile
- Editor.Protocol
- Editor.Window
- Editor.Worker
Renderer Process (Web Page)
- Editor
- Editor (Console Module)
- Editor.Dialog
- Editor.Ipc
- Editor.MainMenu
- Editor.Menu
- Editor.Package
- Editor.Panel
- Editor.Protocol
- Editor.Window
- Editor.UI (DOM Utils Module)
- Editor.UI (Element Utils Module)
- Editor.UI (Focus Module)
- Editor.UI (Resources Module)
- Editor.UI.Settings
- Editor.UI.DockUtils
- Editor.UI.DragDrop