-
cc._decorator Modules
-
anysdk Modules
properties
-
cc Modules
properties
- ENGINE_VERSION
- _drawingUtil
- _renderContext
- _canvas
- container
- view
- director
- winSize
- game
- offset
- size
- offset
- radius
- offset
- points
- systemEvent
- BLEND_SRC
- Integer
- Float
- Boolean
- String
methods
- _initDebugSetting
- error
- warn
- log
- info
- speed
- follow
- setPoints
- cardinalSplineTo
- updatePosition
- cardinalSplineBy
- catmullRomTo
- catmullRomBy
- easeIn
- easeOut
- easeInOut
- easeExponentialIn
- easeExponentialOut
- easeExponentialInOut
- easeSineIn
- easeSineOut
- easeSineInOut
- easeElasticIn
- easeElasticOut
- easeElasticInOut
- easeBounceIn
- easeBounceOut
- easeBounceInOut
- easeBackIn
- easeBackOut
- easeBackInOut
- easeBezierAction
- easeQuadraticActionIn
- easeQuadraticActionOut
- easeQuadraticActionInOut
- easeQuarticActionIn
- easeQuarticActionOut
- easeQuarticActionInOut
- easeQuinticActionIn
- easeQuinticActionOut
- easeQuinticActionInOut
- easeCircleActionIn
- easeCircleActionOut
- easeCircleActionInOut
- easeCubicActionIn
- easeCubicActionOut
- easeCubicActionInOut
- show
- hide
- toggleVisibility
- removeSelf
- flipX
- flipY
- place
- callFunc
- sequence
- repeat
- repeatForever
- spawn
- rotateTo
- rotateBy
- moveBy
- moveTo
- skewTo
- skewBy
- jumpBy
- jumpTo
- bezierBy
- bezierTo
- scaleTo
- scaleBy
- blink
- fadeTo
- fadeIn
- fadeOut
- tintTo
- tintBy
- delayTime
- reverseTime
- targetedAction
- Class
- _isCCClass
- isChildClassOf
- getInheritanceChain
- Enum
- getList
- setAccelerometerEnabled
- setAccelerometerInterval
- lerp
- rand
- randomMinus1To1
- random0To1
- degreesToRadians
- radiansToDegrees
- nodeDrawSetup
- incrementGLDraws
- checkGLErrorDebug
- isValid
- deserialize
- instantiate
- color
- colorEqual
- hexToColor
- colorToHex
- pNeg
- pAdd
- pSub
- pMult
- pMidpoint
- pDot
- pCross
- pPerp
- pRPerp
- pProject
- pLengthSQ
- pDistanceSQ
- pLength
- pDistance
- pNormalize
- pForAngle
- pToAngle
- clampf
- clamp01
- pClamp
- pFromSize
- pCompOp
- pLerp
- pFuzzyEqual
- pCompMult
- pAngleSigned
- pAngle
- pRotateByAngle
- pLineIntersect
- pSegmentIntersect
- pIntersectPoint
- pSameAs
- pZeroIn
- pIn
- pMultIn
- pSubIn
- pAddIn
- pNormalizeIn
- rect
- rectEqualToRect
- rectContainsRect
- rectGetMaxX
- rectGetMidX
- rectGetMinX
- rectGetMaxY
- rectGetMidY
- rectGetMinY
- rectContainsPoint
- rectIntersectsRect
- rectOverlapsRect
- rectUnion
- rectIntersection
- size
- sizeEqualToSize
- V3F_C4B_T2F_QuadZero
- V3F_C4B_T2F_QuadCopy
- V3F_C4B_T2F_QuadsCopy
- v2
- p
- pointEqualToPoint
- find
-
dragonBones Modules
-
cc.js Modules
-
sp Modules
-
sp.spine Modules
-
anysdk.AgentManager Classes
methods
- init
- loadAllPlugins
- unloadAllPlugins
- getUserPlugin
- getIAPPlugins
- getIAPPlugin
- getSocialPlugin
- getSharePlugin
- getAnalyticsPlugin
- getAdsPlugin
- getPushPlugin
- getRECPlugin
- getCrashPlugin
- getAdTrackingPlugin
- getCustomPlugin
- getCustomParam
- getChannelId
- isAnaylticsEnabled
- setIsAnaylticsEnabled
- end
- getInstance
-
anysdk.PluginParam Classes
methods
-
anysdk.PluginProtocol Classes
-
anysdk.ProtocolAdTracking Classes
-
anysdk.ProtocolAds Classes
-
anysdk.ProtocolAnalytics Classes
methods
- startSession
- stopSession
- setSessionContinueMillis
- logError
- logEvent
- logTimedEventBegin
- logTimedEventEnd
- setCaptureUncaughtException
- setAccount
- onChargeRequest
- onChargeSuccess
- onChargeFail
- onChargeOnlySuccess
- onPurchase
- onUse
- onReward
- startLevel
- finishLevel
- failLevel
- startTask
- finishTask
- failTask
- isFunctionSupported
- getPluginName
- getPluginVersion
- getSDKVersion
- callFuncWithParam
- callStringFuncWithParam
- callIntFuncWithParam
- callBoolFuncWithParam
- callFloatFuncWithParam
-
anysdk.ProtocolCrash Classes
-
anysdk.ProtocolCustom Classes
-
anysdk.ProtocolIAP Classes
-
anysdk.ProtocolPush Classes
-
anysdk.ProtocolREC Classes
methods
- share
- startRecording
- stopRecording
- setListener
- getListener
- pauseRecording
- resumeRecording
- isAvailable
- isRecording
- showToolBar
- hideToolBar
- showVideoCenter
- enterPlatform
- setMetaData
- isFunctionSupported
- getPluginName
- getPluginVersion
- getSDKVersion
- callFuncWithParam
- callStringFuncWithParam
- callIntFuncWithParam
- callBoolFuncWithParam
- callFloatFuncWithParam
-
anysdk.ProtocolShare Classes
-
anysdk.ProtocolSocial Classes
methods
-
anysdk.ProtocolUser Classes
methods
- login
- isLogined
- getUserID
- getPluginId
- setListener
- getListener
- logout
- showToolBar
- hideToolBar
- enterPlatform
- exit
- pause
- realNameRegister
- antiAddictionQuery
- submitLoginGameRole
- getUserInfo
- getAvailableLoginType
- setLoginType
- sendToDesktop
- openBBS
- isFunctionSupported
- getPluginName
- getPluginVersion
- getSDKVersion
- callFuncWithParam
- callStringFuncWithParam
- callIntFuncWithParam
- callBoolFuncWithParam
- callFloatFuncWithParam
-
cc.Acceleration Classes
methods
-
cc.Action Classes
-
cc.ActionEase Classes
-
cc.ActionInstant Classes
-
cc.ActionInterval Classes
-
cc.ActionManager Classes
-
cc.AffineTransform Classes
methods
- affineTransformMake
- affineTransformClone
- pointApplyAffineTransform
- sizeApplyAffineTransform
- affineTransformMakeIdentity
- rectApplyAffineTransform
- obbApplyAffineTransform
- affineTransformTranslate
- affineTransformScale
- affineTransformRotate
- affineTransformConcat
- affineTransformConcatIn
- affineTransformEqualToTransform
- affineTransformInvert
- affineTransformInvert
-
cc.Animation Classes
properties
- defaultClip
- currentClip
- _clips
- playOnLoad
- __eventTargets
- node
- uuid
- _enabled
- enabled
- enabledInHierarchy
- _isOnLoadCalled
- _name
- _objFlags
- name
- isValid
methods
- getClips
- play
- playAdditive
- stop
- pause
- resume
- setCurrentTime
- getAnimationState
- addClip
- removeClip
- sample
- on
- off
- update
- lateUpdate
- __preload
- onLoad
- start
- onEnable
- onDisable
- onDestroy
- onFocusInEditor
- onLostFocusInEditor
- resetInEditor
- addComponent
- getComponent
- getComponents
- getComponentInChildren
- getComponentsInChildren
- _getLocalBounds
- onRestore
- schedule
- scheduleOnce
- unschedule
- unscheduleAllCallbacks
- targetOff
- once
- dispatchEvent
- emit
- destroy
- _destruct
- _onPreDestroy
- _serialize
- _deserialize
-
cc.AnimationClip Classes
-
cc.AnimationNode Classes
-
cc.AnimationNodeBase Classes
-
cc.AnimationState Classes
-
cc.Asset Classes
-
cc.AudioClip Classes
properties
methods
-
cc.AudioSource Classes
properties
- isPlaying
- clip
- volume
- mute
- loop
- playOnLoad
- __eventTargets
- node
- uuid
- _enabled
- enabled
- enabledInHierarchy
- _isOnLoadCalled
- _name
- _objFlags
- name
- isValid
methods
- play
- stop
- pause
- resume
- rewind
- getCurrentTime
- setCurrentTime
- getDuration
- update
- lateUpdate
- __preload
- onLoad
- start
- onEnable
- onDisable
- onDestroy
- onFocusInEditor
- onLostFocusInEditor
- resetInEditor
- addComponent
- getComponent
- getComponents
- getComponentInChildren
- getComponentsInChildren
- _getLocalBounds
- onRestore
- schedule
- scheduleOnce
- unschedule
- unscheduleAllCallbacks
- destroy
- _destruct
- _onPreDestroy
- _serialize
- _deserialize
-
cc.BitmapFont Classes
properties
methods
-
cc.BlendFunc Classes
methods
-
cc.BoxCollider Classes
properties
- __eventTargets
- node
- uuid
- _enabled
- enabled
- enabledInHierarchy
- _isOnLoadCalled
- _name
- _objFlags
- name
- isValid
methods
- update
- lateUpdate
- __preload
- onLoad
- start
- onEnable
- onDisable
- onDestroy
- onFocusInEditor
- onLostFocusInEditor
- resetInEditor
- addComponent
- getComponent
- getComponents
- getComponentInChildren
- getComponentsInChildren
- _getLocalBounds
- onRestore
- schedule
- scheduleOnce
- unschedule
- unscheduleAllCallbacks
- destroy
- _destruct
- _onPreDestroy
- _serialize
- _deserialize
-
cc.Button Classes
properties
- interactable
- enableAutoGrayEffect
- transition
- normalColor
- pressedColor
- hoverColor
- disabledColor
- duration
- zoomScale
- normalSprite
- pressedSprite
- hoverSprite
- disabledSprite
- target
- clickEvents
- __eventTargets
- node
- uuid
- _enabled
- enabled
- enabledInHierarchy
- _isOnLoadCalled
- _name
- _objFlags
- name
- isValid
events
methods
- update
- lateUpdate
- __preload
- onLoad
- start
- onEnable
- onDisable
- onDestroy
- onFocusInEditor
- onLostFocusInEditor
- resetInEditor
- addComponent
- getComponent
- getComponents
- getComponentInChildren
- getComponentsInChildren
- _getLocalBounds
- onRestore
- schedule
- scheduleOnce
- unschedule
- unscheduleAllCallbacks
- destroy
- _destruct
- _onPreDestroy
- _serialize
- _deserialize
-
cc.CallbacksInvoker Classes
-
cc.Camera Classes
properties
- zoomRatio
- main
- _sgNode
- __eventTargets
- node
- uuid
- _enabled
- enabled
- enabledInHierarchy
- _isOnLoadCalled
- _name
- _objFlags
- name
- isValid
methods
- addTarget
- removeTarget
- getTargets
- _createSgNode
- _initSgNode
- _removeSgNode
- update
- lateUpdate
- __preload
- onLoad
- start
- onEnable
- onDisable
- onDestroy
- onFocusInEditor
- onLostFocusInEditor
- resetInEditor
- addComponent
- getComponent
- getComponents
- getComponentInChildren
- getComponentsInChildren
- _getLocalBounds
- onRestore
- schedule
- scheduleOnce
- unschedule
- unscheduleAllCallbacks
- destroy
- _destruct
- _onPreDestroy
- _serialize
- _deserialize
-
cc.Canvas Classes
properties
- instance
- designResolution
- fitHeight
- fitWidth
- __eventTargets
- node
- uuid
- _enabled
- enabled
- enabledInHierarchy
- _isOnLoadCalled
- _name
- _objFlags
- name
- isValid
methods
- update
- lateUpdate
- __preload
- onLoad
- start
- onEnable
- onDisable
- onDestroy
- onFocusInEditor
- onLostFocusInEditor
- resetInEditor
- addComponent
- getComponent
- getComponents
- getComponentInChildren
- getComponentsInChildren
- _getLocalBounds
- onRestore
- schedule
- scheduleOnce
- unschedule
- unscheduleAllCallbacks
- destroy
- _destruct
- _onPreDestroy
- _serialize
- _deserialize
-
cc.CircleCollider Classes
properties
- __eventTargets
- node
- uuid
- _enabled
- enabled
- enabledInHierarchy
- _isOnLoadCalled
- _name
- _objFlags
- name
- isValid
methods
- update
- lateUpdate
- __preload
- onLoad
- start
- onEnable
- onDisable
- onDestroy
- onFocusInEditor
- onLostFocusInEditor
- resetInEditor
- addComponent
- getComponent
- getComponents
- getComponentInChildren
- getComponentsInChildren
- _getLocalBounds
- onRestore
- schedule
- scheduleOnce
- unschedule
- unscheduleAllCallbacks
- destroy
- _destruct
- _onPreDestroy
- _serialize
- _deserialize
-
cc.CoffeeScript Classes
-
cc.Collider Classes
properties
- tag
- __eventTargets
- node
- uuid
- _enabled
- enabled
- enabledInHierarchy
- _isOnLoadCalled
- _name
- _objFlags
- name
- isValid
methods
- update
- lateUpdate
- __preload
- onLoad
- start
- onEnable
- onDisable
- onDestroy
- onFocusInEditor
- onLostFocusInEditor
- resetInEditor
- addComponent
- getComponent
- getComponents
- getComponentInChildren
- getComponentsInChildren
- _getLocalBounds
- onRestore
- schedule
- scheduleOnce
- unschedule
- unscheduleAllCallbacks
- destroy
- _destruct
- _onPreDestroy
- _serialize
- _deserialize
-
cc.CollisionManager Classes
properties
methods
-
cc.Color Classes
-
cc.Component Classes
properties
- __eventTargets
- node
- uuid
- _enabled
- enabled
- enabledInHierarchy
- _isOnLoadCalled
- _name
- _objFlags
- name
- isValid
methods
- update
- lateUpdate
- __preload
- onLoad
- start
- onEnable
- onDisable
- onDestroy
- onFocusInEditor
- onLostFocusInEditor
- resetInEditor
- addComponent
- getComponent
- getComponents
- getComponentInChildren
- getComponentsInChildren
- _getLocalBounds
- onRestore
- schedule
- scheduleOnce
- unschedule
- unscheduleAllCallbacks
- destroy
- _destruct
- _onPreDestroy
- _serialize
- _deserialize
-
cc.Component.EventHandler Classes
-
cc.ContainerStrategy Classes
-
cc.ContentStrategy Classes
-
cc.Details Classes
-
cc.Director Classes
events
- cc.Director.EVENT_PROJECTION_CHANGED
- cc.Director.EVENT_BEFORE_SCENE_LOADING
- cc.Director.EVENT_AFTER_SCENE_LAUNCH
- cc.Director.EVENT_BEFORE_UPDATE
- cc.Director.EVENT_AFTER_UPDATE
- cc.Director.EVENT_BEFORE_VISIT
- cc.Director.EVENT_AFTER_VISIT
- cc.Director.EVENT_AFTER_DRAW
methods
- convertToUI
- getWinSize
- getWinSizeInPixels
- getVisibleSize
- getVisibleOrigin
- pause
- runSceneImmediate
- runScene
- loadScene
- preloadScene
- _loadSceneByUuid
- resume
- setDepthTest
- setClearColor
- setProjection
- setViewport
- getProjection
- setAlphaBlending
- isSendCleanupToScene
- getRunningScene
- getScene
- getAnimationInterval
- isDisplayStats
- setDisplayStats
- isNextDeltaTimeZero
- isPaused
- getTotalFrames
- getScheduler
- setScheduler
- getActionManager
- setActionManager
- getCollisionManager
- getPhysicsManager
- getDeltaTime
- on
- off
- targetOff
- once
- dispatchEvent
- emit
-
cc.DistanceJoint Classes
properties
- distance
- frequency
- 0
- anchor
- connectedAnchor
- connectedBody
- collideConnected
- __eventTargets
- node
- uuid
- _enabled
- enabled
- enabledInHierarchy
- _isOnLoadCalled
- _name
- _objFlags
- name
- isValid
methods
- apply
- getWorldAnchor
- getWorldConnectedAnchor
- getReactionForce
- getReactionTorque
- update
- lateUpdate
- __preload
- onLoad
- start
- onEnable
- onDisable
- onDestroy
- onFocusInEditor
- onLostFocusInEditor
- resetInEditor
- addComponent
- getComponent
- getComponents
- getComponentInChildren
- getComponentsInChildren
- _getLocalBounds
- onRestore
- schedule
- scheduleOnce
- unschedule
- unscheduleAllCallbacks
- destroy
- _destruct
- _onPreDestroy
- _serialize
- _deserialize
-
cc.EaseBounce Classes
-
cc.EaseElastic Classes
-
cc.EaseRateAction Classes
-
cc.EditBox Classes
properties
- string
- backgroundImage
- returnType
- inputFlag
- inputMode
- fontSize
- lineHeight
- fontColor
- placeholder
- placeholderFontSize
- placeholderFontColor
- maxLength
- stayOnTop
- tabIndex
- editingDidBegan
- textChanged
- editingDidEnded
- editingReturn
- _sgNode
- __eventTargets
- node
- uuid
- _enabled
- enabled
- enabledInHierarchy
- _isOnLoadCalled
- _name
- _objFlags
- name
- isValid
events
methods
- setFocus
- isFocused
- destroy
- _createSgNode
- _initSgNode
- _removeSgNode
- update
- lateUpdate
- __preload
- onLoad
- start
- onEnable
- onDisable
- onDestroy
- onFocusInEditor
- onLostFocusInEditor
- resetInEditor
- addComponent
- getComponent
- getComponents
- getComponentInChildren
- getComponentsInChildren
- _getLocalBounds
- onRestore
- schedule
- scheduleOnce
- unschedule
- unscheduleAllCallbacks
- _destruct
- _onPreDestroy
- _serialize
- _deserialize
-
cc.EqualToFrame Classes
-
cc.EqualToWindow Classes
-
cc.Event Classes
-
cc.Event.EventAcceleration Classes
-
cc.Event.EventCustom Classes
-
cc.Event.EventKeyboard Classes
-
cc.Event.EventMouse Classes
properties
- NONE
- DOWN
- UP
- MOVE
- SCROLL
- BUTTON_LEFT
- BUTTON_RIGHT
- BUTTON_MIDDLE
- BUTTON_4
- BUTTON_5
- BUTTON_6
- BUTTON_7
- BUTTON_8
- type
- bubbles
- target
- currentTarget
- eventPhase
methods
-
cc.Event.EventTouch Classes
properties
methods
-
cc.EventListener Classes
properties
methods
-
cc.EventTarget Classes
-
cc.FiniteTimeAction Classes
-
cc.Font Classes
properties
methods
-
cc.Game Classes
-
cc.Graphics Classes
properties
- lineWidth
- lineJoin
- lineCap
- strokeColor
- fillColor
- miterLimit
- _sgNode
- __eventTargets
- node
- uuid
- _enabled
- enabled
- enabledInHierarchy
- _isOnLoadCalled
- _name
- _objFlags
- name
- isValid
methods
- moveTo
- lineTo
- bezierCurveTo
- quadraticCurveTo
- arc
- ellipse
- circle
- rect
- roundRect
- fillRect
- clear
- close
- stroke
- fill
- _createSgNode
- _initSgNode
- _removeSgNode
- update
- lateUpdate
- __preload
- onLoad
- start
- onEnable
- onDisable
- onDestroy
- onFocusInEditor
- onLostFocusInEditor
- resetInEditor
- addComponent
- getComponent
- getComponents
- getComponentInChildren
- getComponentsInChildren
- _getLocalBounds
- onRestore
- schedule
- scheduleOnce
- unschedule
- unscheduleAllCallbacks
- destroy
- _destruct
- _onPreDestroy
- _serialize
- _deserialize
-
cc.Intersection Classes
-
cc.Joint Classes
properties
- anchor
- connectedAnchor
- connectedBody
- collideConnected
- __eventTargets
- node
- uuid
- _enabled
- enabled
- enabledInHierarchy
- _isOnLoadCalled
- _name
- _objFlags
- name
- isValid
methods
- apply
- getWorldAnchor
- getWorldConnectedAnchor
- getReactionForce
- getReactionTorque
- update
- lateUpdate
- __preload
- onLoad
- start
- onEnable
- onDisable
- onDestroy
- onFocusInEditor
- onLostFocusInEditor
- resetInEditor
- addComponent
- getComponent
- getComponents
- getComponentInChildren
- getComponentsInChildren
- _getLocalBounds
- onRestore
- schedule
- scheduleOnce
- unschedule
- unscheduleAllCallbacks
- destroy
- _destruct
- _onPreDestroy
- _serialize
- _deserialize
-
cc.Label Classes
properties
- string
- horizontalAlign
- verticalAlign
- actualFontSize
- fontSize
- fontFamily
- lineHeight
- overflow
- enableWrapText
- font
- isSystemFontUsed
- _sgNode
- __eventTargets
- node
- uuid
- _enabled
- enabled
- enabledInHierarchy
- _isOnLoadCalled
- _name
- _objFlags
- name
- isValid
methods
- _createSgNode
- _initSgNode
- _removeSgNode
- update
- lateUpdate
- __preload
- onLoad
- start
- onEnable
- onDisable
- onDestroy
- onFocusInEditor
- onLostFocusInEditor
- resetInEditor
- addComponent
- getComponent
- getComponents
- getComponentInChildren
- getComponentsInChildren
- _getLocalBounds
- onRestore
- schedule
- scheduleOnce
- unschedule
- unscheduleAllCallbacks
- destroy
- _destruct
- _onPreDestroy
- _serialize
- _deserialize
-
cc.LabelAtlas Classes
properties
methods
-
cc.LabelOutline Classes
properties
- color
- width
- __eventTargets
- node
- uuid
- _enabled
- enabled
- enabledInHierarchy
- _isOnLoadCalled
- _name
- _objFlags
- name
- isValid
methods
- update
- lateUpdate
- __preload
- onLoad
- start
- onEnable
- onDisable
- onDestroy
- onFocusInEditor
- onLostFocusInEditor
- resetInEditor
- addComponent
- getComponent
- getComponents
- getComponentInChildren
- getComponentsInChildren
- _getLocalBounds
- onRestore
- schedule
- scheduleOnce
- unschedule
- unscheduleAllCallbacks
- destroy
- _destruct
- _onPreDestroy
- _serialize
- _deserialize
-
cc.Layout Classes
properties
- type
- resizeMode
- cellSize
- startAxis
- paddingLeft
- paddingRight
- paddingTop
- paddingBottom
- spacingX
- spacingY
- verticalDirection
- horizontalDirection
- padding
- __eventTargets
- node
- uuid
- _enabled
- enabled
- enabledInHierarchy
- _isOnLoadCalled
- _name
- _objFlags
- name
- isValid
methods
- update
- lateUpdate
- __preload
- onLoad
- start
- onEnable
- onDisable
- onDestroy
- onFocusInEditor
- onLostFocusInEditor
- resetInEditor
- addComponent
- getComponent
- getComponents
- getComponentInChildren
- getComponentsInChildren
- _getLocalBounds
- onRestore
- schedule
- scheduleOnce
- unschedule
- unscheduleAllCallbacks
- destroy
- _destruct
- _onPreDestroy
- _serialize
- _deserialize
-
cc.LoadingItems Classes
properties
methods
-
cc.Manifold Classes
properties
-
cc.ManifoldPoint Classes
properties
-
cc.Mask Classes
properties
- type
- spriteFrame
- alphaThreshold
- inverted
- segements
- _sgNode
- __eventTargets
- node
- uuid
- _enabled
- enabled
- enabledInHierarchy
- _isOnLoadCalled
- _name
- _objFlags
- name
- isValid
methods
- _createSgNode
- _initSgNode
- _removeSgNode
- update
- lateUpdate
- __preload
- onLoad
- start
- onEnable
- onDisable
- onDestroy
- onFocusInEditor
- onLostFocusInEditor
- resetInEditor
- addComponent
- getComponent
- getComponents
- getComponentInChildren
- getComponentsInChildren
- _getLocalBounds
- onRestore
- schedule
- scheduleOnce
- unschedule
- unscheduleAllCallbacks
- destroy
- _destruct
- _onPreDestroy
- _serialize
- _deserialize
-
cc.MotionStreak Classes
properties
- preview
- fadeTime
- minSeg
- stroke
- texture
- color
- fastMode
- __eventTargets
- node
- uuid
- _enabled
- enabled
- enabledInHierarchy
- _isOnLoadCalled
- _name
- _objFlags
- name
- isValid
methods
- reset
- update
- lateUpdate
- __preload
- onLoad
- start
- onEnable
- onDisable
- onDestroy
- onFocusInEditor
- onLostFocusInEditor
- resetInEditor
- addComponent
- getComponent
- getComponents
- getComponentInChildren
- getComponentsInChildren
- _getLocalBounds
- onRestore
- schedule
- scheduleOnce
- unschedule
- unscheduleAllCallbacks
- destroy
- _destruct
- _onPreDestroy
- _serialize
- _deserialize
-
cc.MotorJoint Classes
properties
- anchor
- connectedAnchor
- linearOffset
- angularOffset
- maxForce
- maxTorque
- correctionFactor
- connectedBody
- collideConnected
- __eventTargets
- node
- uuid
- _enabled
- enabled
- enabledInHierarchy
- _isOnLoadCalled
- _name
- _objFlags
- name
- isValid
methods
- apply
- getWorldAnchor
- getWorldConnectedAnchor
- getReactionForce
- getReactionTorque
- update
- lateUpdate
- __preload
- onLoad
- start
- onEnable
- onDisable
- onDestroy
- onFocusInEditor
- onLostFocusInEditor
- resetInEditor
- addComponent
- getComponent
- getComponents
- getComponentInChildren
- getComponentsInChildren
- _getLocalBounds
- onRestore
- schedule
- scheduleOnce
- unschedule
- unscheduleAllCallbacks
- destroy
- _destruct
- _onPreDestroy
- _serialize
- _deserialize
-
cc.MouseJoint Classes
properties
- anchor
- connectedAnchor
- mouseRegion
- target
- frequency
- 0
- maxForce
- connectedBody
- collideConnected
- __eventTargets
- node
- uuid
- _enabled
- enabled
- enabledInHierarchy
- _isOnLoadCalled
- _name
- _objFlags
- name
- isValid
methods
- apply
- getWorldAnchor
- getWorldConnectedAnchor
- getReactionForce
- getReactionTorque
- update
- lateUpdate
- __preload
- onLoad
- start
- onEnable
- onDisable
- onDestroy
- onFocusInEditor
- onLostFocusInEditor
- resetInEditor
- addComponent
- getComponent
- getComponents
- getComponentInChildren
- getComponentsInChildren
- _getLocalBounds
- onRestore
- schedule
- scheduleOnce
- unschedule
- unscheduleAllCallbacks
- destroy
- _destruct
- _onPreDestroy
- _serialize
- _deserialize
-
cc.Node Classes
properties
- groupIndex
- group
- position
- x
- y
- rotation
- rotationX
- rotationY
- scaleX
- scaleY
- skewX
- skewY
- opacity
- cascadeOpacity
- color
- anchorX
- anchorY
- width
- height
- _ignoreAnchor
- zIndex
- _sgNode
- _sizeProvider
- scale
- _components
- _prefab
- _persistNode
- name
- uuid
- children
- childrenCount
- active
- activeInHierarchy
- tag
- __eventTargets
- parent
- _name
- _objFlags
- isValid
events
- position-changed
- size-changed
- anchor-changed
- child-added
- child-removed
- child-reorder
- group-changed
- touchstart
- active-in-hierarchy-changed
methods
- constructor
- on
- off
- targetOff
- pauseSystemEvents
- resumeSystemEvents
- runAction
- pauseAllActions
- resumeAllActions
- stopAllActions
- stopAction
- stopActionByTag
- getActionByTag
- getNumberOfRunningActions
- getPosition
- setPosition
- getScale
- setScale
- getContentSize
- setContentSize
- setOpacityModifyRGB
- isOpacityModifyRGB
- getAnchorPoint
- setAnchorPoint
- getAnchorPointInPoints
- getDisplayedOpacity
- getDisplayedColor
- getNodeToParentTransformAR
- getBoundingBox
- getBoundingBoxToWorld
- getNodeToParentTransform
- getNodeToWorldTransform
- getNodeToWorldTransformAR
- getParentToNodeTransform
- getWorldToNodeTransform
- convertToNodeSpace
- convertToWorldSpace
- convertToNodeSpaceAR
- convertToWorldSpaceAR
- convertTouchToNodeSpace
- convertTouchToNodeSpaceAR
- addChild
- cleanup
- sortAllChildren
- getPositionX
- setPositionX
- getPositionY
- setPositionY
- getLocalZOrder
- setLocalZOrder
- isCascadeOpacityEnabled
- setCascadeOpacityEnabled
- attr
- getChildByTag
- getChildByUuid
- getChildByName
- getSiblingIndex
- setSiblingIndex
- removeFromParent
- removeChild
- removeChildByTag
- removeAllChildren
- isChildOf
- getComponent
- getComponents
- getComponentInChildren
- getComponentsInChildren
- addComponent
- _addComponentAt
- removeComponent
- _getDependComponent
- destroyAllChildren
- once
- dispatchEvent
- emit
- destroy
- _destruct
- _onPreDestroy
- _serialize
- _deserialize
-
cc.Node.EventType Classes
-
cc.NodePool Classes
-
cc.OriginalContainer Classes
-
cc.PageView Classes
properties
- sizeMode
- direction
- scrollThreshold
- autoPageTurningThreshold
- pageTurningEventTiming
- indicator
- pageEvents
- content
- horizontal
- vertical
- inertia
- brake
- elastic
- bounceDuration
- horizontalScrollBar
- verticalScrollBar
- scrollEvents
- cancelInnerEvents
- __eventTargets
- node
- uuid
- _enabled
- enabled
- enabledInHierarchy
- _isOnLoadCalled
- _name
- _objFlags
- name
- isValid
events
- page-turning
- scroll-to-top
- scroll-to-bottom
- scroll-to-left
- scroll-to-right
- scrolling
- bounce-bottom
- bounce-top
- bounce-left
- bounce-right
- scroll-ended
- touch-up
methods
- getCurrentPageIndex
- setCurrentPageIndex
- getPages
- addPage
- insertPage
- removePage
- removePageAtIndex
- removeAllPages
- scrollToPage
- scrollToBottom
- scrollToTop
- scrollToLeft
- scrollToRight
- scrollToTopLeft
- scrollToTopRight
- scrollToBottomLeft
- scrollToBottomRight
- scrollToOffset
- getScrollOffset
- getMaxScrollOffset
- scrollToPercentHorizontal
- scrollTo
- scrollToPercentVertical
- stopAutoScroll
- setContentPosition
- getContentPosition
- update
- lateUpdate
- __preload
- onLoad
- start
- onEnable
- onDisable
- onDestroy
- onFocusInEditor
- onLostFocusInEditor
- resetInEditor
- addComponent
- getComponent
- getComponents
- getComponentInChildren
- getComponentsInChildren
- _getLocalBounds
- onRestore
- schedule
- scheduleOnce
- unschedule
- unscheduleAllCallbacks
- destroy
- _destruct
- _onPreDestroy
- _serialize
- _deserialize
-
cc.PageViewIndicator Classes
properties
- spriteFrame
- direction
- cellSize
- spacing
- __eventTargets
- node
- uuid
- _enabled
- enabled
- enabledInHierarchy
- _isOnLoadCalled
- _name
- _objFlags
- name
- isValid
methods
- setPageView
- update
- lateUpdate
- __preload
- onLoad
- start
- onEnable
- onDisable
- onDestroy
- onFocusInEditor
- onLostFocusInEditor
- resetInEditor
- addComponent
- getComponent
- getComponents
- getComponentInChildren
- getComponentsInChildren
- _getLocalBounds
- onRestore
- schedule
- scheduleOnce
- unschedule
- unscheduleAllCallbacks
- destroy
- _destruct
- _onPreDestroy
- _serialize
- _deserialize
-
cc.ParticleSystem Classes
properties
- preview
- custom
- file
- texture
- particleCount
- srcBlendFactor
- dstBlendFactor
- playOnLoad
- autoRemoveOnFinish
- active
- totalParticles
- duration
- emissionRate
- life
- lifeVar
- startColor
- startColorVar
- endColor
- endColorVar
- angle
- angleVar
- startSize
- startSizeVar
- endSize
- endSizeVar
- startSpin
- startSpinVar
- endSpin
- endSpinVar
- sourcePos
- posVar
- positionType
- emitterMode
- gravity
- speed
- speedVar
- tangentialAccel
- tangentialAccelVar
- radialAccel
- radialAccelVar
- rotationIsDir
- startRadius
- startRadiusVar
- endRadius
- endRadiusVar
- rotatePerS
- rotatePerSVar
- DURATION_INFINITY
- START_SIZE_EQUAL_TO_END_SIZE
- START_RADIUS_EQUAL_TO_END_RADIUS
- _sgNode
- __eventTargets
- node
- uuid
- _enabled
- enabled
- enabledInHierarchy
- _isOnLoadCalled
- _name
- _objFlags
- name
- isValid
methods
- addParticle
- stopSystem
- resetSystem
- isFull
- setDisplayFrame
- setTextureWithRect
- _createSgNode
- _initSgNode
- _removeSgNode
- update
- lateUpdate
- __preload
- onLoad
- start
- onEnable
- onDisable
- onDestroy
- onFocusInEditor
- onLostFocusInEditor
- resetInEditor
- addComponent
- getComponent
- getComponents
- getComponentInChildren
- getComponentsInChildren
- _getLocalBounds
- onRestore
- schedule
- scheduleOnce
- unschedule
- unscheduleAllCallbacks
- destroy
- _destruct
- _onPreDestroy
- _serialize
- _deserialize
-
cc.PhysicsBoxCollider Classes
properties
- density
- sensor
- friction
- restitution
- body
- __eventTargets
- node
- uuid
- _enabled
- enabled
- enabledInHierarchy
- _isOnLoadCalled
- _name
- _objFlags
- name
- isValid
methods
- apply
- getAABB
- update
- lateUpdate
- __preload
- onLoad
- start
- onEnable
- onDisable
- onDestroy
- onFocusInEditor
- onLostFocusInEditor
- resetInEditor
- addComponent
- getComponent
- getComponents
- getComponentInChildren
- getComponentsInChildren
- _getLocalBounds
- onRestore
- schedule
- scheduleOnce
- unschedule
- unscheduleAllCallbacks
- destroy
- _destruct
- _onPreDestroy
- _serialize
- _deserialize
-
cc.PhysicsChainCollider Classes
properties
- density
- sensor
- friction
- restitution
- body
- __eventTargets
- node
- uuid
- _enabled
- enabled
- enabledInHierarchy
- _isOnLoadCalled
- _name
- _objFlags
- name
- isValid
methods
- apply
- getAABB
- update
- lateUpdate
- __preload
- onLoad
- start
- onEnable
- onDisable
- onDestroy
- onFocusInEditor
- onLostFocusInEditor
- resetInEditor
- addComponent
- getComponent
- getComponents
- getComponentInChildren
- getComponentsInChildren
- _getLocalBounds
- onRestore
- schedule
- scheduleOnce
- unschedule
- unscheduleAllCallbacks
- destroy
- _destruct
- _onPreDestroy
- _serialize
- _deserialize
-
cc.PhysicsCircleCollider Classes
properties
- density
- sensor
- friction
- restitution
- body
- __eventTargets
- node
- uuid
- _enabled
- enabled
- enabledInHierarchy
- _isOnLoadCalled
- _name
- _objFlags
- name
- isValid
methods
- apply
- getAABB
- update
- lateUpdate
- __preload
- onLoad
- start
- onEnable
- onDisable
- onDestroy
- onFocusInEditor
- onLostFocusInEditor
- resetInEditor
- addComponent
- getComponent
- getComponents
- getComponentInChildren
- getComponentsInChildren
- _getLocalBounds
- onRestore
- schedule
- scheduleOnce
- unschedule
- unscheduleAllCallbacks
- destroy
- _destruct
- _onPreDestroy
- _serialize
- _deserialize
-
cc.PhysicsCollider Classes
-
cc.PhysicsContact Classes
-
cc.PhysicsImpulse Classes
properties
-
cc.PhysicsManager Classes
-
cc.PhysicsPolygonCollider Classes
properties
- density
- sensor
- friction
- restitution
- body
- __eventTargets
- node
- uuid
- _enabled
- enabled
- enabledInHierarchy
- _isOnLoadCalled
- _name
- _objFlags
- name
- isValid
methods
- apply
- getAABB
- update
- lateUpdate
- __preload
- onLoad
- start
- onEnable
- onDisable
- onDestroy
- onFocusInEditor
- onLostFocusInEditor
- resetInEditor
- addComponent
- getComponent
- getComponents
- getComponentInChildren
- getComponentsInChildren
- _getLocalBounds
- onRestore
- schedule
- scheduleOnce
- unschedule
- unscheduleAllCallbacks
- destroy
- _destruct
- _onPreDestroy
- _serialize
- _deserialize
-
cc.PhysicsRayCastResult Classes
-
cc.Pipeline Classes
-
cc.Pipeline.Downloader Classes
methods
-
cc.Pipeline.Loader Classes
methods
-
cc.Playable Classes
-
cc.PolygonCollider Classes
properties
- __eventTargets
- node
- uuid
- _enabled
- enabled
- enabledInHierarchy
- _isOnLoadCalled
- _name
- _objFlags
- name
- isValid
methods
- update
- lateUpdate
- __preload
- onLoad
- start
- onEnable
- onDisable
- onDestroy
- onFocusInEditor
- onLostFocusInEditor
- resetInEditor
- addComponent
- getComponent
- getComponents
- getComponentInChildren
- getComponentsInChildren
- _getLocalBounds
- onRestore
- schedule
- scheduleOnce
- unschedule
- unscheduleAllCallbacks
- destroy
- _destruct
- _onPreDestroy
- _serialize
- _deserialize
-
cc.Prefab Classes
-
cc.PrismaticJoint Classes
properties
- localAxisA
- referenceAngle
- enableLimit
- enableMotor
- lowerLimit
- upperLimit
- maxMotorForce
- motorSpeed
- anchor
- connectedAnchor
- connectedBody
- collideConnected
- __eventTargets
- node
- uuid
- _enabled
- enabled
- enabledInHierarchy
- _isOnLoadCalled
- _name
- _objFlags
- name
- isValid
methods
- apply
- getWorldAnchor
- getWorldConnectedAnchor
- getReactionForce
- getReactionTorque
- update
- lateUpdate
- __preload
- onLoad
- start
- onEnable
- onDisable
- onDestroy
- onFocusInEditor
- onLostFocusInEditor
- resetInEditor
- addComponent
- getComponent
- getComponents
- getComponentInChildren
- getComponentsInChildren
- _getLocalBounds
- onRestore
- schedule
- scheduleOnce
- unschedule
- unscheduleAllCallbacks
- destroy
- _destruct
- _onPreDestroy
- _serialize
- _deserialize
-
cc.ProgressBar Classes
properties
- barSprite
- mode
- totalLength
- progress
- reverse
- __eventTargets
- node
- uuid
- _enabled
- enabled
- enabledInHierarchy
- _isOnLoadCalled
- _name
- _objFlags
- name
- isValid
methods
- update
- lateUpdate
- __preload
- onLoad
- start
- onEnable
- onDisable
- onDestroy
- onFocusInEditor
- onLostFocusInEditor
- resetInEditor
- addComponent
- getComponent
- getComponents
- getComponentInChildren
- getComponentsInChildren
- _getLocalBounds
- onRestore
- schedule
- scheduleOnce
- unschedule
- unscheduleAllCallbacks
- destroy
- _destruct
- _onPreDestroy
- _serialize
- _deserialize
-
cc.ProportionalToFrame Classes
-
cc.ProportionalToWindow Classes
-
cc.Quad2 Classes
-
cc.Quad3 Classes
methods
-
cc.RawAsset Classes
properties
methods
-
cc.Rect Classes
-
cc.ResolutionPolicy Classes
-
cc.RevoluteJoint Classes
properties
- referenceAngle
- lowerAngle
- upperAngle
- maxMotorTorque
- motorSpeed
- enableLimit
- enableMotor
- anchor
- connectedAnchor
- connectedBody
- collideConnected
- __eventTargets
- node
- uuid
- _enabled
- enabled
- enabledInHierarchy
- _isOnLoadCalled
- _name
- _objFlags
- name
- isValid
methods
- getJointAngle
- apply
- getWorldAnchor
- getWorldConnectedAnchor
- getReactionForce
- getReactionTorque
- update
- lateUpdate
- __preload
- onLoad
- start
- onEnable
- onDisable
- onDestroy
- onFocusInEditor
- onLostFocusInEditor
- resetInEditor
- addComponent
- getComponent
- getComponents
- getComponentInChildren
- getComponentsInChildren
- _getLocalBounds
- onRestore
- schedule
- scheduleOnce
- unschedule
- unscheduleAllCallbacks
- destroy
- _destruct
- _onPreDestroy
- _serialize
- _deserialize
-
cc.RichText Classes
properties
- string
- horizontalAlign
- fontSize
- font
- maxWidth
- lineHeight
- imageAtlas
- __eventTargets
- node
- uuid
- _enabled
- enabled
- enabledInHierarchy
- _isOnLoadCalled
- _name
- _objFlags
- name
- isValid
methods
- update
- lateUpdate
- __preload
- onLoad
- start
- onEnable
- onDisable
- onDestroy
- onFocusInEditor
- onLostFocusInEditor
- resetInEditor
- addComponent
- getComponent
- getComponents
- getComponentInChildren
- getComponentsInChildren
- _getLocalBounds
- onRestore
- schedule
- scheduleOnce
- unschedule
- unscheduleAllCallbacks
- destroy
- _destruct
- _onPreDestroy
- _serialize
- _deserialize
-
cc.RigidBody Classes
properties
- enabledContactListener
- bullet
- type
- allowSleep
- gravityScale
- linearDamping
- angularDamping
- linearVelocity
- angularVelocity
- fixedRotation
- awake
- active
- __eventTargets
- node
- uuid
- _enabled
- enabled
- enabledInHierarchy
- _isOnLoadCalled
- _name
- _objFlags
- name
- isValid
methods
- onBeginContact
- onEndContact
- onPreSolve
- onPostSolve
- getLocalPoint
- getWorldPoint
- getWorldVector
- getLocalVector
- getWorldPosition
- getWorldRotation
- getLocalCenter
- getWorldCenter
- getLinearVelocityFromWorldPoint
- getMass
- getInertia
- getInertia
- update
- lateUpdate
- __preload
- onLoad
- start
- onEnable
- onDisable
- onDestroy
- onFocusInEditor
- onLostFocusInEditor
- resetInEditor
- addComponent
- getComponent
- getComponents
- getComponentInChildren
- getComponentsInChildren
- _getLocalBounds
- onRestore
- schedule
- scheduleOnce
- unschedule
- unscheduleAllCallbacks
- destroy
- _destruct
- _onPreDestroy
- _serialize
- _deserialize
-
cc.RopeJoint Classes
properties
- maxLength
- anchor
- connectedAnchor
- connectedBody
- collideConnected
- __eventTargets
- node
- uuid
- _enabled
- enabled
- enabledInHierarchy
- _isOnLoadCalled
- _name
- _objFlags
- name
- isValid
methods
- apply
- getWorldAnchor
- getWorldConnectedAnchor
- getReactionForce
- getReactionTorque
- update
- lateUpdate
- __preload
- onLoad
- start
- onEnable
- onDisable
- onDestroy
- onFocusInEditor
- onLostFocusInEditor
- resetInEditor
- addComponent
- getComponent
- getComponents
- getComponentInChildren
- getComponentsInChildren
- _getLocalBounds
- onRestore
- schedule
- scheduleOnce
- unschedule
- unscheduleAllCallbacks
- destroy
- _destruct
- _onPreDestroy
- _serialize
- _deserialize
-
cc.Scene Classes
properties
- autoReleaseAssets
- groupIndex
- group
- position
- x
- y
- rotation
- rotationX
- rotationY
- scaleX
- scaleY
- skewX
- skewY
- opacity
- cascadeOpacity
- color
- anchorX
- anchorY
- width
- height
- _ignoreAnchor
- zIndex
- _sgNode
- _sizeProvider
- scale
- _components
- _prefab
- _persistNode
- name
- uuid
- children
- childrenCount
- active
- activeInHierarchy
- tag
- __eventTargets
- parent
- _name
- _objFlags
- isValid
events
- position-changed
- size-changed
- anchor-changed
- child-added
- child-removed
- child-reorder
- group-changed
- touchstart
- active-in-hierarchy-changed
methods
- constructor
- on
- off
- targetOff
- pauseSystemEvents
- resumeSystemEvents
- runAction
- pauseAllActions
- resumeAllActions
- stopAllActions
- stopAction
- stopActionByTag
- getActionByTag
- getNumberOfRunningActions
- getPosition
- setPosition
- getScale
- setScale
- getContentSize
- setContentSize
- setOpacityModifyRGB
- isOpacityModifyRGB
- getAnchorPoint
- setAnchorPoint
- getAnchorPointInPoints
- getDisplayedOpacity
- getDisplayedColor
- getNodeToParentTransformAR
- getBoundingBox
- getBoundingBoxToWorld
- getNodeToParentTransform
- getNodeToWorldTransform
- getNodeToWorldTransformAR
- getParentToNodeTransform
- getWorldToNodeTransform
- convertToNodeSpace
- convertToWorldSpace
- convertToNodeSpaceAR
- convertToWorldSpaceAR
- convertTouchToNodeSpace
- convertTouchToNodeSpaceAR
- addChild
- cleanup
- sortAllChildren
- getPositionX
- setPositionX
- getPositionY
- setPositionY
- getLocalZOrder
- setLocalZOrder
- isCascadeOpacityEnabled
- setCascadeOpacityEnabled
- attr
- getChildByTag
- getChildByUuid
- getChildByName
- getSiblingIndex
- setSiblingIndex
- removeFromParent
- removeChild
- removeChildByTag
- removeAllChildren
- isChildOf
- getComponent
- getComponents
- getComponentInChildren
- getComponentsInChildren
- addComponent
- _addComponentAt
- removeComponent
- _getDependComponent
- destroyAllChildren
- once
- dispatchEvent
- emit
- destroy
- _destruct
- _onPreDestroy
- _serialize
- _deserialize
-
cc.SceneAsset Classes
-
cc.Scheduler Classes
properties
methods
- setTimeScale
- getTimeScale
- update
- scheduleCallbackForTarget
- schedule
- scheduleUpdate
- unschedule
- unscheduleUpdate
- unscheduleAllForTarget
- unscheduleAll
- unscheduleAllWithMinPriority
- isScheduled
- pauseAllTargets
- pauseAllTargetsWithMinPriority
- resumeTargets
- pauseTarget
- resumeTarget
- isTargetPaused
- scheduleUpdateForTarget
- unscheduleCallbackForTarget
- unscheduleUpdateForTarget
- unscheduleAllCallbacksForTarget
- unscheduleAllCallbacks
- unscheduleAllCallbacksWithMinPriority
-
cc.ScrollView Classes
properties
- content
- horizontal
- vertical
- inertia
- brake
- elastic
- bounceDuration
- horizontalScrollBar
- verticalScrollBar
- scrollEvents
- cancelInnerEvents
- __eventTargets
- node
- uuid
- _enabled
- enabled
- enabledInHierarchy
- _isOnLoadCalled
- _name
- _objFlags
- name
- isValid
events
- scroll-to-top
- scroll-to-bottom
- scroll-to-left
- scroll-to-right
- scrolling
- bounce-bottom
- bounce-top
- bounce-left
- bounce-right
- scroll-ended
- touch-up
methods
- scrollToBottom
- scrollToTop
- scrollToLeft
- scrollToRight
- scrollToTopLeft
- scrollToTopRight
- scrollToBottomLeft
- scrollToBottomRight
- scrollToOffset
- getScrollOffset
- getMaxScrollOffset
- scrollToPercentHorizontal
- scrollTo
- scrollToPercentVertical
- stopAutoScroll
- setContentPosition
- getContentPosition
- update
- lateUpdate
- __preload
- onLoad
- start
- onEnable
- onDisable
- onDestroy
- onFocusInEditor
- onLostFocusInEditor
- resetInEditor
- addComponent
- getComponent
- getComponents
- getComponentInChildren
- getComponentsInChildren
- _getLocalBounds
- onRestore
- schedule
- scheduleOnce
- unschedule
- unscheduleAllCallbacks
- destroy
- _destruct
- _onPreDestroy
- _serialize
- _deserialize
-
cc.Scrollbar Classes
properties
- handle
- direction
- enableAutoHide
- autoHideTime
- __eventTargets
- node
- uuid
- _enabled
- enabled
- enabledInHierarchy
- _isOnLoadCalled
- _name
- _objFlags
- name
- isValid
methods
- update
- lateUpdate
- __preload
- onLoad
- start
- onEnable
- onDisable
- onDestroy
- onFocusInEditor
- onLostFocusInEditor
- resetInEditor
- addComponent
- getComponent
- getComponents
- getComponentInChildren
- getComponentsInChildren
- _getLocalBounds
- onRestore
- schedule
- scheduleOnce
- unschedule
- unscheduleAllCallbacks
- destroy
- _destruct
- _onPreDestroy
- _serialize
- _deserialize
-
cc.Size Classes
-
cc.Slider Classes
properties
- handle
- direction
- progress
- slideEvents
- __eventTargets
- node
- uuid
- _enabled
- enabled
- enabledInHierarchy
- _isOnLoadCalled
- _name
- _objFlags
- name
- isValid
events
methods
- update
- lateUpdate
- __preload
- onLoad
- start
- onEnable
- onDisable
- onDestroy
- onFocusInEditor
- onLostFocusInEditor
- resetInEditor
- addComponent
- getComponent
- getComponents
- getComponentInChildren
- getComponentsInChildren
- _getLocalBounds
- onRestore
- schedule
- scheduleOnce
- unschedule
- unscheduleAllCallbacks
- destroy
- _destruct
- _onPreDestroy
- _serialize
- _deserialize
-
cc.Sprite Classes
properties
- spriteFrame
- type
- fillType
- fillCenter
- fillStart
- fillRange
- trim
- srcBlendFactor
- dstBlendFactor
- sizeMode
- _sgNode
- __eventTargets
- node
- uuid
- _enabled
- enabled
- enabledInHierarchy
- _isOnLoadCalled
- _name
- _objFlags
- name
- isValid
methods
- setInsetLeft
- getInsetLeft
- setInsetTop
- getInsetTop
- setInsetRight
- getInsetRight
- setInsetBottom
- getInsetBottom
- _createSgNode
- _initSgNode
- _removeSgNode
- update
- lateUpdate
- __preload
- onLoad
- start
- onEnable
- onDisable
- onDestroy
- onFocusInEditor
- onLostFocusInEditor
- resetInEditor
- addComponent
- getComponent
- getComponents
- getComponentInChildren
- getComponentsInChildren
- _getLocalBounds
- onRestore
- schedule
- scheduleOnce
- unschedule
- unscheduleAllCallbacks
- destroy
- _destruct
- _onPreDestroy
- _serialize
- _deserialize
-
cc.SpriteAtlas Classes
properties
methods
-
cc.SpriteDistortion Classes
properties
- offset
- tiling
- __eventTargets
- node
- uuid
- _enabled
- enabled
- enabledInHierarchy
- _isOnLoadCalled
- _name
- _objFlags
- name
- isValid
methods
- update
- lateUpdate
- __preload
- onLoad
- start
- onEnable
- onDisable
- onDestroy
- onFocusInEditor
- onLostFocusInEditor
- resetInEditor
- addComponent
- getComponent
- getComponents
- getComponentInChildren
- getComponentsInChildren
- _getLocalBounds
- onRestore
- schedule
- scheduleOnce
- unschedule
- unscheduleAllCallbacks
- destroy
- _destruct
- _onPreDestroy
- _serialize
- _deserialize
-
cc.SpriteFrame Classes
properties
- _textureFilenameSetter
- insetTop
- insetBottom
- insetLeft
- insetRight
- rawUrl
- rawUrls
- _rawFiles
- _uuid
- _name
- _objFlags
- name
- isValid
methods
- constructor
- textureLoaded
- addLoadedEventListener
- isRotated
- setRotated
- getRect
- setRect
- getOriginalSize
- setOriginalSize
- getTexture
- getOffset
- setOffset
- clone
- setTexture
- ensureLoadTexture
- clearTexture
- serialize
- createNode
- _setRawFiles
- _preloadRawFiles
- on
- off
- targetOff
- once
- dispatchEvent
- emit
- destroy
- _destruct
- _onPreDestroy
- _serialize
- _deserialize
-
cc.SystemEvent Classes
-
cc.TMXObject Classes
-
cc.TTFFont Classes
-
cc.Tex2F Classes
-
cc.TextAsset Classes
-
cc.Texture2D Classes
properties
- PIXEL_FORMAT_RGBA8888
- PIXEL_FORMAT_RGB888
- PIXEL_FORMAT_RGB565
- PIXEL_FORMAT_A8
- PIXEL_FORMAT_I8
- PIXEL_FORMAT_AI88
- PIXEL_FORMAT_RGBA4444
- PIXEL_FORMAT_RGB5A1
- PIXEL_FORMAT_PVRTC4
- PIXEL_FORMAT_PVRTC2
- PIXEL_FORMAT_DEFAULT
- defaultPixelFormat
- name
- url
- pixelFormat
- pixelWidth
- pixelHeight
- width
- height
- _uuid
- _name
- _objFlags
- isValid
methods
- getPixelWidth
- getPixelHeight
- getContentSize
- getContentSizeInPixels
- initWithElement
- initWithData
- initWithImage
- getHtmlElementObj
- isLoaded
- handleLoadedTexture
- description
- releaseTexture
- getPixelFormat
- hasPremultipliedAlpha
- hasMipmaps
- setTexParameters
- setAntiAliasTexParameters
- setAliasTexParameters
- on
- off
- targetOff
- once
- dispatchEvent
- emit
- destroy
- _destruct
- _onPreDestroy
- _serialize
- _deserialize
-
cc.TextureAtlas Classes
properties
methods
- constructor
- getTotalQuads
- getCapacity
- getTexture
- setTexture
- setDirty
- isDirty
- getQuads
- setQuads
- initWithFile
- initWithTexture
- updateQuad
- insertQuad
- insertQuads
- insertQuadFromIndex
- removeQuadAtIndex
- removeQuadsAtIndex
- removeAllQuads
- resizeCapacity
- increaseTotalQuadsWith
- moveQuadsFromIndex
- fillWithEmptyQuadsFromIndex
- drawNumberOfQuads
-
cc.TiledLayer Classes
properties
- __eventTargets
- node
- uuid
- _enabled
- enabled
- enabledInHierarchy
- _isOnLoadCalled
- _name
- _objFlags
- name
- isValid
methods
- getLayerName
- SetLayerName
- getProperty
- getPositionAt
- removeTileAt
- setTileGID
- getTileGIDAt
- getTileAt
- releaseMap
- setContentSize
- getTexture
- setTexture
- setTileOpacity
- getLayerSize
- setLayerSize
- getMapTileSize
- setMapTileSize
- getTiles
- setTiles
- getTileSet
- setTileSet
- getLayerOrientation
- setLayerOrientation
- getProperties
- setProperties
- _createSgNode
- _initSgNode
- _removeSgNode
- update
- lateUpdate
- __preload
- onLoad
- start
- onEnable
- onDisable
- onDestroy
- onFocusInEditor
- onLostFocusInEditor
- resetInEditor
- addComponent
- getComponent
- getComponents
- getComponentInChildren
- getComponentsInChildren
- _getLocalBounds
- onRestore
- schedule
- scheduleOnce
- unschedule
- unscheduleAllCallbacks
- destroy
- _destruct
- _onPreDestroy
- _serialize
- _deserialize
-
cc.TiledMap Classes
properties
- tmxAsset
- __eventTargets
- node
- uuid
- _enabled
- enabled
- enabledInHierarchy
- _isOnLoadCalled
- _name
- _objFlags
- name
- isValid
methods
- getMapSize
- setMapSize
- getTileSize
- setTileSize
- getMapOrientation
- setMapOrientation
- getObjectGroups
- getProperties
- setProperties
- allLayers
- getLayer
- getObjectGroup
- getProperty
- getPropertiesForGID
- update
- lateUpdate
- __preload
- onLoad
- start
- onEnable
- onDisable
- onDestroy
- onFocusInEditor
- onLostFocusInEditor
- resetInEditor
- addComponent
- getComponent
- getComponents
- getComponentInChildren
- getComponentsInChildren
- _getLocalBounds
- onRestore
- schedule
- scheduleOnce
- unschedule
- unscheduleAllCallbacks
- destroy
- _destruct
- _onPreDestroy
- _serialize
- _deserialize
-
cc.TiledMapAsset Classes
-
cc.TiledObjectGroup Classes
properties
- __eventTargets
- node
- uuid
- _enabled
- enabled
- enabledInHierarchy
- _isOnLoadCalled
- _name
- _objFlags
- name
- isValid
methods
- getPositionOffset
- setPositionOffset
- getProperties
- setProperties
- getGroupName
- setGroupName
- getObject
- getObjects
- _createSgNode
- _initSgNode
- _removeSgNode
- update
- lateUpdate
- __preload
- onLoad
- start
- onEnable
- onDisable
- onDestroy
- onFocusInEditor
- onLostFocusInEditor
- resetInEditor
- addComponent
- getComponent
- getComponents
- getComponentInChildren
- getComponentsInChildren
- _getLocalBounds
- onRestore
- schedule
- scheduleOnce
- unschedule
- unscheduleAllCallbacks
- destroy
- _destruct
- _onPreDestroy
- _serialize
- _deserialize
-
cc.Toggle Classes
properties
- isChecked
- toggleGroup
- checkMark
- checkEvents
- interactable
- enableAutoGrayEffect
- transition
- normalColor
- pressedColor
- hoverColor
- disabledColor
- duration
- zoomScale
- normalSprite
- pressedSprite
- hoverSprite
- disabledSprite
- target
- clickEvents
- __eventTargets
- node
- uuid
- _enabled
- enabled
- enabledInHierarchy
- _isOnLoadCalled
- _name
- _objFlags
- name
- isValid
events
methods
- check
- uncheck
- update
- lateUpdate
- __preload
- onLoad
- start
- onEnable
- onDisable
- onDestroy
- onFocusInEditor
- onLostFocusInEditor
- resetInEditor
- addComponent
- getComponent
- getComponents
- getComponentInChildren
- getComponentsInChildren
- _getLocalBounds
- onRestore
- schedule
- scheduleOnce
- unschedule
- unscheduleAllCallbacks
- destroy
- _destruct
- _onPreDestroy
- _serialize
- _deserialize
-
cc.ToggleGroup Classes
properties
- allowSwitchOff
- toggleItems
- __eventTargets
- node
- uuid
- _enabled
- enabled
- enabledInHierarchy
- _isOnLoadCalled
- _name
- _objFlags
- name
- isValid
methods
- update
- lateUpdate
- __preload
- onLoad
- start
- onEnable
- onDisable
- onDestroy
- onFocusInEditor
- onLostFocusInEditor
- resetInEditor
- addComponent
- getComponent
- getComponents
- getComponentInChildren
- getComponentsInChildren
- _getLocalBounds
- onRestore
- schedule
- scheduleOnce
- unschedule
- unscheduleAllCallbacks
- destroy
- _destruct
- _onPreDestroy
- _serialize
- _deserialize
-
cc.Touch Classes
-
cc.TypeScript Classes
-
cc.V2F_C4B_T2F Classes
-
cc.V2F_C4B_T2F_Triangle Classes
methods
-
cc.V3F_C4B_T2F Classes
methods
-
cc.V3F_C4B_T2F_Quad Classes
-
cc.ValueType Classes
-
cc.Vec2 Classes
-
cc.Vertex2F Classes
-
cc.Vertex3F Classes
-
cc.VideoPlayer Classes
properties
- resourceType
- remoteURL
- clip
- currentTime
- keepAspectRatio
- isFullscreen
- videoPlayerEvent
- _sgNode
- __eventTargets
- node
- uuid
- _enabled
- enabled
- enabledInHierarchy
- _isOnLoadCalled
- _name
- _objFlags
- name
- isValid
events
methods
- play
- resume
- pause
- stop
- getDuration
- isPlaying
- destroy
- _createSgNode
- _initSgNode
- _removeSgNode
- update
- lateUpdate
- __preload
- onLoad
- start
- onEnable
- onDisable
- onDestroy
- onFocusInEditor
- onLostFocusInEditor
- resetInEditor
- addComponent
- getComponent
- getComponents
- getComponentInChildren
- getComponentsInChildren
- _getLocalBounds
- onRestore
- schedule
- scheduleOnce
- unschedule
- unscheduleAllCallbacks
- _destruct
- _onPreDestroy
- _serialize
- _deserialize
-
cc.View Classes
methods
- setTargetDensityDPI
- getTargetDensityDPI
- resizeWithBrowserSize
- setResizeCallback
- setOrientation
- adjustViewPort
- enableRetina
- isRetinaEnabled
- enableAntiAlias
- isAntiAliasEnabled
- enableAutoFullScreen
- isAutoFullScreenEnabled
- isViewReady
- setContentTranslateLeftTop
- getContentTranslateLeftTop
- getFrameSize
- setFrameSize
- getVisibleSize
- getVisibleSizeInPixel
- getVisibleOrigin
- getVisibleOriginInPixel
- canSetContentScaleFactor
- getResolutionPolicy
- setResolutionPolicy
- setDesignResolutionSize
- getDesignResolutionSize
- setRealPixelResolution
- setViewPortInPoints
- setScissorInPoints
- isScissorEnabled
- getScissorRect
- setViewName
- getViewName
- getViewPortRect
- getScaleX
- getScaleY
- getDevicePixelRatio
- convertToLocationInView
- _getInstance
-
cc.ViewGroup Classes
properties
- __eventTargets
- node
- uuid
- _enabled
- enabled
- enabledInHierarchy
- _isOnLoadCalled
- _name
- _objFlags
- name
- isValid
methods
- update
- lateUpdate
- __preload
- onLoad
- start
- onEnable
- onDisable
- onDestroy
- onFocusInEditor
- onLostFocusInEditor
- resetInEditor
- addComponent
- getComponent
- getComponents
- getComponentInChildren
- getComponentsInChildren
- _getLocalBounds
- onRestore
- schedule
- scheduleOnce
- unschedule
- unscheduleAllCallbacks
- destroy
- _destruct
- _onPreDestroy
- _serialize
- _deserialize
-
cc.WebGLColor Classes
-
cc.WebView Classes
properties
- url
- webviewLoadedEvents
- _sgNode
- __eventTargets
- node
- uuid
- _enabled
- enabled
- enabledInHierarchy
- _isOnLoadCalled
- _name
- _objFlags
- name
- isValid
events
methods
- destroy
- _createSgNode
- _initSgNode
- _removeSgNode
- update
- lateUpdate
- __preload
- onLoad
- start
- onEnable
- onDisable
- onDestroy
- onFocusInEditor
- onLostFocusInEditor
- resetInEditor
- addComponent
- getComponent
- getComponents
- getComponentInChildren
- getComponentsInChildren
- _getLocalBounds
- onRestore
- schedule
- scheduleOnce
- unschedule
- unscheduleAllCallbacks
- _destruct
- _onPreDestroy
- _serialize
- _deserialize
-
cc.WeldJoint Classes
properties
- referenceAngle
- frequency
- 0
- anchor
- connectedAnchor
- connectedBody
- collideConnected
- __eventTargets
- node
- uuid
- _enabled
- enabled
- enabledInHierarchy
- _isOnLoadCalled
- _name
- _objFlags
- name
- isValid
methods
- apply
- getWorldAnchor
- getWorldConnectedAnchor
- getReactionForce
- getReactionTorque
- update
- lateUpdate
- __preload
- onLoad
- start
- onEnable
- onDisable
- onDestroy
- onFocusInEditor
- onLostFocusInEditor
- resetInEditor
- addComponent
- getComponent
- getComponents
- getComponentInChildren
- getComponentsInChildren
- _getLocalBounds
- onRestore
- schedule
- scheduleOnce
- unschedule
- unscheduleAllCallbacks
- destroy
- _destruct
- _onPreDestroy
- _serialize
- _deserialize
-
cc.WheelJoint Classes
properties
- localAxisA
- maxMotorTorque
- motorSpeed
- enableMotor
- frequency
- dampingRatio
- anchor
- connectedAnchor
- connectedBody
- collideConnected
- __eventTargets
- node
- uuid
- _enabled
- enabled
- enabledInHierarchy
- _isOnLoadCalled
- _name
- _objFlags
- name
- isValid
methods
- apply
- getWorldAnchor
- getWorldConnectedAnchor
- getReactionForce
- getReactionTorque
- update
- lateUpdate
- __preload
- onLoad
- start
- onEnable
- onDisable
- onDestroy
- onFocusInEditor
- onLostFocusInEditor
- resetInEditor
- addComponent
- getComponent
- getComponents
- getComponentInChildren
- getComponentsInChildren
- _getLocalBounds
- onRestore
- schedule
- scheduleOnce