Index
Cocos Creator v2.4
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 ccAlphaKey
from ccAnimation
from ccAnimation.EventType
from ccAnimationClip
from ccAnimationCurve
from ccAnimationState
from ccArmatureDisplay
from dragonBonesarray
from jsAsset
from ccAssetManager
from ccAudioClip
from ccaudioEngine
from ccAudioSource
from ccBitmapFont
from ccBlendFunc
from ccBlockInputEvents
from ccBoxCollider
from ccBoxCollider3D
from ccBufferAsset
from ccBufferRange
from ccBuiltins
from cc.AssetManagerBundle
from cc.AssetManagerBurst
from ccButton
from ccCache
from cc.AssetManagerCacheManager
from cc.AssetManagerCallbacksInvoker
from ccCamera
from ccCanvas
from ccCCFactory
from dragonBonesCircleCollider
from ccCollider
from ccCollider.Box
from ccCollider.Circle
from ccCollider.Polygon
from ccCollider3D
from ccColliderInfo
from ccCollisionManager
from ccColor
from ccColorKey
from ccColorOvertimeModule
from ccComponent
from ccComponent.EventHandler
from ccConstantForce
from ccconstructor
from ccContainerStrategy
from ccContentStrategy
from ccCurveRange
from ccdebug
from ccDependUtil
from cc.AssetManagerDetails
from ccDirector
from ccDistanceJoint
from ccDownloader
from cc.AssetManagerdragonBones.AttachUtil
from dragonBonesDragonBonesAsset
from dragonBonesDragonBonesAtlasAsset
from dragonBonesDynamicAtlasManager
from ccEasing
from ccEditBox
from ccEffectAsset
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 ccForceOvertimeModule
from ccGame
from ccgeomUtils.Aabb
from ccgeomUtils.Frustum
from ccgeomUtils.intersect
from ccgeomUtils.Line
from ccgeomUtils.Obb
from ccgeomUtils.Plane
from ccgeomUtils.Ray
from ccgeomUtils.Sphere
from ccgeomUtils.Triangle
from ccGradient
from ccGradientRange
from ccGraphics
from ccGraySpriteState
from ccHelper
from cc.AssetManagerIBaseShape
from ccIBoxShape
from ccICollisionDetect
from ccICollisionEvent
from ccIContactEquation
from ccIntersection
from ccIPhysicsWorld
from ccIQuatLike
from ccIRaycastOptions
from ccIRigidBody
from ccISphereShape
from ccITriggerEvent
from ccIVec3Like
from ccJoint
from ccJsonAsset
from ccLabel
from ccLabelAtlas
from ccLabelOutline
from ccLabelShadow
from ccLayout
from ccLight
from ccLimitVelocityOvertimeModule
from ccloader
from ccLoadingItems
from ccmacro
from ccManifold
from ccManifoldPoint
from ccMapUtils
from ccMask
from ccMat3
from ccMat4
from ccMaterial
from ccMaterialVariant
from ccMesh
from ccMeshRenderer
from ccmisc
from ccMotionStreak
from ccMotorJoint
from ccMouseJoint
from ccNode
from ccNode.EventType
from ccNodePool
from ccOptimizedCurve
from ccOriginalContainer
from ccPackManager
from cc.AssetManagerPageView
from ccPageViewIndicator
from ccParser
from cc.AssetManagerParticleAsset
from ccParticleSystem
from ccParticleSystem3D
from ccpath
from ccPhysics3DManager
from ccPhysicsBoxCollider
from ccPhysicsChainCollider
from ccPhysicsCircleCollider
from ccPhysicsCollider
from ccPhysicsContact
from ccPhysicsImpulse
from ccPhysicsManager
from ccPhysicsMaterial
from ccPhysicsPolygonCollider
from ccPhysicsRayCastResult
from ccPhysicsRayResult
from ccPipeline
from cc.AssetManagerPlayable
from ccPolygonCollider
from ccPool
from jsPrefab
from ccprimitive.VertexData
from ccPrismaticJoint
from ccPrivateNode
from ccProgressBar
from ccProportionalToFrame
from ccProportionalToWindow
from ccQuat
from ccRect
from ccRenderComponent
from ccrenderer
from ccRenderTexture
from ccRequestItem
from cc.AssetManagerResolutionPolicy
from ccRevoluteJoint
from ccRichText
from ccRigidBody
from ccRigidBody3D
from ccRopeJoint
from ccRotationOvertimeModule
from ccSafeArea
from ccScene
from ccSceneAsset
from ccScheduler
from ccscreen
from ccScrollbar
from ccScrollView
from ccShapeModule
from ccSize
from ccSizeOvertimeModule
from ccSkeleton
from spSkeletonAnimation
from ccSkeletonAnimationClip
from ccSkeletonData
from spSkinnedMeshRenderer
from ccSlider
from ccsp.AttachUtil
from spSphereCollider3D
from ccSprite
from ccSpriteAtlas
from ccSpriteFrame
from ccSubContextView
from ccSwanSubContextView
from ccsys
from ccSystemEvent
from ccSystemEvent.EventType
from ccTask
from cc.AssetManagerTextAsset
from ccTexture2D
from ccTextureAnimationModule
from ccTiledLayer
from ccTiledMap
from ccTiledMapAsset
from ccTiledObjectGroup
from ccTiledTile
from ccTMXImageLayerInfo
from ccTMXLayerInfo
from ccTMXMapInfo
from ccTMXObjectGroupInfo
from ccTMXTilesetInfo
from ccToggle
from ccToggleContainer
from ccToggleGroup
from ccTouch
from ccTrailModule
from ccTTFFont
from ccTween
from ccTypeScript
from ccurl
from ccValueType
from ccVec2
from ccVec3
from ccVec4
from ccVelocityOvertimeModule
from ccVertexEffectDelegate
from spVertexFormat
from ccVideoClip
from ccVideoPlayer
from ccView
from ccViewGroup
from ccvisibleRect
from ccWebView
from ccWeldJoint
from ccWheelJoint
from ccWidget
from ccWorldManifold
from ccWXSubContextView
from cc
Enums
AnimationCurve.WrapMode
from ccAnimationEventType
from spArmatureDisplay.AnimationCacheMode
from dragonBonesaudioEngine.AudioState
from ccBuiltinBundleName
from cc.AssetManagerButton.Transition
from ccCamera.ClearFlags
from ccdebug.DebugMode
from ccEditBox.InputFlag
from ccEditBox.InputMode
from ccEditBox.KeyboardReturnType
from ccERigidBodyType
from ccgeomUtils.enums
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 ccmacro.BlendFactor
from ccmacro.ImageFormat
from ccmacro.KEY
from ccmacro.TextAlignment
from ccMask.Type
from ccMaterial.BUILTIN_NAME
from ccMeshRenderer.ShadowCastingMode
from ccPageView.Direction
from ccPageView.EventType
from ccPageView.SizeMode
from ccPageViewIndicator.Direction
from ccParticleSystem.EmitterMode
from ccParticleSystem.PositionType
from ccParticleSystem3DAssembler.RenderMode
from ccParticleSystem3DAssembler.Space
from ccPhysicsManager.DrawBits
from ccPrefab.OptimizationPolicy
from ccprimitive.PolyhedronType
from ccProgressBar.Mode
from ccRayCastType
from ccRenderTexture.DepthStencilFormat
from ccRigidBodyType
from ccScrollbar.Direction
from ccScrollView.EventType
from ccshapeModule.ArcMode
from ccshapeModule.EmitLocation
from ccshapeModule.ShapeType
from ccSkeleton.AnimationCacheMode
from spSlider.Direction
from ccSprite.FillType
from ccSprite.SizeMode
from ccSprite.State
from ccSprite.Type
from ccsys.NetworkType
from ccTexture2D.Filter
from ccTexture2D.PixelFormat
from ccTexture2D.WrapMode
from cctextureAnimationModule.Animation
from cctextureAnimationModule.Mode
from ccTiledMap.Orientation
from ccTiledMap.Property
from ccTiledMap.RenderOrder
from ccTiledMap.StaggerAxis
from ccTiledMap.TileFlag
from ccTiledMap.TMXObjectType
from cctrailModule.TextureMode
from cctrailModule.TrailMode
from ccVerticalTextAlignment
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