索引
Cocos Creator v2.0.0
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.
模块
类型
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 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 ccLayout
from ccloader
from ccLoadingItems
from ccmacro
from ccManifold
from ccManifoldPoint
from ccMask
from ccMat4
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 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 spSkeletonData
from spSlider
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 ccVideoPlayer
from ccView
from ccViewGroup
from ccvisibleRect
from ccWebView
from ccWeldJoint
from ccWheelJoint
from ccWidget
from ccWorldManifold
from ccWXSubContextView
from cc
枚举
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 ccDrawBits
from ccEditBox.InputFlag
from ccEditBox.InputMode
from ccEditBox.KeyboardReturnType
from ccGraphics.LineCap
from ccGraphics.LineJoin
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 ccLoadingItems.ItemState
from ccmacro.BlendFactor
from ccmacro.ImageFormat
from ccmacro.KEY
from ccmacro.TextAlignment
from ccMask.Type
from ccNetworkType
from ccPageView.Direction
from ccPageView.EventType
from ccPageView.SizeMode
from ccPageViewIndicator.Direction
from ccParticleSystem.EmitterMode
from ccParticleSystem.PositionType
from ccPayResultCode
from anysdkPrefab.OptimizationPolicy
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 ccTaskType
from anysdkTexture2D.Filter
from ccTexture2D.PixelFormat
from ccTexture2D.WrapMode
from ccTiledMap.Orientation
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