2014-03-10 14:04:58 +08:00
|
|
|
|
|
|
|
--------------------------------
|
|
|
|
-- @module Director
|
2014-07-02 10:15:26 +08:00
|
|
|
-- @parent_module cc
|
2014-03-18 15:55:30 +08:00
|
|
|
|
2014-03-10 14:04:58 +08:00
|
|
|
--------------------------------
|
|
|
|
-- @function [parent=#Director] pause
|
|
|
|
-- @param self
|
|
|
|
|
2014-06-25 17:17:16 +08:00
|
|
|
--------------------------------
|
|
|
|
-- @function [parent=#Director] setEventDispatcher
|
|
|
|
-- @param self
|
|
|
|
-- @param #cc.EventDispatcher eventdispatcher
|
|
|
|
|
2014-03-10 14:04:58 +08:00
|
|
|
--------------------------------
|
2014-04-28 15:01:59 +08:00
|
|
|
-- @function [parent=#Director] pushScene
|
2014-03-10 14:04:58 +08:00
|
|
|
-- @param self
|
2014-04-28 15:01:59 +08:00
|
|
|
-- @param #cc.Scene scene
|
|
|
|
|
|
|
|
--------------------------------
|
|
|
|
-- @function [parent=#Director] getDeltaTime
|
|
|
|
-- @param self
|
|
|
|
-- @return float#float ret (return value: float)
|
2014-03-10 14:04:58 +08:00
|
|
|
|
|
|
|
--------------------------------
|
|
|
|
-- @function [parent=#Director] getContentScaleFactor
|
|
|
|
-- @param self
|
|
|
|
-- @return float#float ret (return value: float)
|
|
|
|
|
|
|
|
--------------------------------
|
|
|
|
-- @function [parent=#Director] getWinSizeInPixels
|
|
|
|
-- @param self
|
|
|
|
-- @return size_table#size_table ret (return value: size_table)
|
|
|
|
|
|
|
|
--------------------------------
|
2014-04-28 15:01:59 +08:00
|
|
|
-- @function [parent=#Director] getConsole
|
2014-03-10 14:04:58 +08:00
|
|
|
-- @param self
|
2014-04-28 15:01:59 +08:00
|
|
|
-- @return Console#Console ret (return value: cc.Console)
|
|
|
|
|
|
|
|
--------------------------------
|
|
|
|
-- @function [parent=#Director] pushMatrix
|
|
|
|
-- @param self
|
|
|
|
-- @param #cc.MATRIX_STACK_TYPE matrix_stack_type
|
2014-03-10 14:04:58 +08:00
|
|
|
|
|
|
|
--------------------------------
|
|
|
|
-- @function [parent=#Director] setGLDefaultValues
|
|
|
|
-- @param self
|
|
|
|
|
|
|
|
--------------------------------
|
|
|
|
-- @function [parent=#Director] setActionManager
|
|
|
|
-- @param self
|
|
|
|
-- @param #cc.ActionManager actionmanager
|
|
|
|
|
|
|
|
--------------------------------
|
|
|
|
-- @function [parent=#Director] setAlphaBlending
|
|
|
|
-- @param self
|
|
|
|
-- @param #bool bool
|
|
|
|
|
|
|
|
--------------------------------
|
|
|
|
-- @function [parent=#Director] popToRootScene
|
|
|
|
-- @param self
|
|
|
|
|
2014-04-28 15:01:59 +08:00
|
|
|
--------------------------------
|
|
|
|
-- @function [parent=#Director] loadMatrix
|
|
|
|
-- @param self
|
|
|
|
-- @param #cc.MATRIX_STACK_TYPE matrix_stack_type
|
2014-05-27 14:31:18 +08:00
|
|
|
-- @param #mat4_table mat4
|
2014-04-28 15:01:59 +08:00
|
|
|
|
2014-03-10 14:04:58 +08:00
|
|
|
--------------------------------
|
|
|
|
-- @function [parent=#Director] getNotificationNode
|
|
|
|
-- @param self
|
|
|
|
-- @return Node#Node ret (return value: cc.Node)
|
|
|
|
|
|
|
|
--------------------------------
|
|
|
|
-- @function [parent=#Director] getWinSize
|
|
|
|
-- @param self
|
|
|
|
-- @return size_table#size_table ret (return value: size_table)
|
|
|
|
|
|
|
|
--------------------------------
|
|
|
|
-- @function [parent=#Director] getTextureCache
|
|
|
|
-- @param self
|
|
|
|
-- @return TextureCache#TextureCache ret (return value: cc.TextureCache)
|
|
|
|
|
|
|
|
--------------------------------
|
|
|
|
-- @function [parent=#Director] isSendCleanupToScene
|
|
|
|
-- @param self
|
|
|
|
-- @return bool#bool ret (return value: bool)
|
|
|
|
|
|
|
|
--------------------------------
|
|
|
|
-- @function [parent=#Director] getVisibleOrigin
|
|
|
|
-- @param self
|
2014-05-27 14:31:18 +08:00
|
|
|
-- @return vec2_table#vec2_table ret (return value: vec2_table)
|
2014-03-10 14:04:58 +08:00
|
|
|
|
|
|
|
--------------------------------
|
|
|
|
-- @function [parent=#Director] mainLoop
|
|
|
|
-- @param self
|
|
|
|
|
|
|
|
--------------------------------
|
|
|
|
-- @function [parent=#Director] setDepthTest
|
|
|
|
-- @param self
|
|
|
|
-- @param #bool bool
|
|
|
|
|
|
|
|
--------------------------------
|
|
|
|
-- @function [parent=#Director] getFrameRate
|
|
|
|
-- @param self
|
|
|
|
-- @return float#float ret (return value: float)
|
|
|
|
|
|
|
|
--------------------------------
|
|
|
|
-- @function [parent=#Director] getSecondsPerFrame
|
|
|
|
-- @param self
|
|
|
|
-- @return float#float ret (return value: float)
|
|
|
|
|
|
|
|
--------------------------------
|
|
|
|
-- @function [parent=#Director] convertToUI
|
|
|
|
-- @param self
|
2014-05-27 14:31:18 +08:00
|
|
|
-- @param #vec2_table vec2
|
|
|
|
-- @return vec2_table#vec2_table ret (return value: vec2_table)
|
2014-03-10 14:04:58 +08:00
|
|
|
|
|
|
|
--------------------------------
|
|
|
|
-- @function [parent=#Director] setDefaultValues
|
|
|
|
-- @param self
|
|
|
|
|
|
|
|
--------------------------------
|
|
|
|
-- @function [parent=#Director] init
|
|
|
|
-- @param self
|
|
|
|
-- @return bool#bool ret (return value: bool)
|
|
|
|
|
|
|
|
--------------------------------
|
|
|
|
-- @function [parent=#Director] setScheduler
|
|
|
|
-- @param self
|
|
|
|
-- @param #cc.Scheduler scheduler
|
|
|
|
|
|
|
|
--------------------------------
|
|
|
|
-- @function [parent=#Director] startAnimation
|
|
|
|
-- @param self
|
|
|
|
|
2014-03-27 14:55:35 +08:00
|
|
|
--------------------------------
|
|
|
|
-- @function [parent=#Director] getOpenGLView
|
|
|
|
-- @param self
|
|
|
|
-- @return GLView#GLView ret (return value: cc.GLView)
|
|
|
|
|
2014-03-10 14:04:58 +08:00
|
|
|
--------------------------------
|
|
|
|
-- @function [parent=#Director] getRunningScene
|
|
|
|
-- @param self
|
|
|
|
-- @return Scene#Scene ret (return value: cc.Scene)
|
|
|
|
|
|
|
|
--------------------------------
|
|
|
|
-- @function [parent=#Director] setViewport
|
|
|
|
-- @param self
|
|
|
|
|
|
|
|
--------------------------------
|
|
|
|
-- @function [parent=#Director] stopAnimation
|
|
|
|
-- @param self
|
|
|
|
|
2014-04-28 15:01:59 +08:00
|
|
|
--------------------------------
|
|
|
|
-- @function [parent=#Director] setContentScaleFactor
|
|
|
|
-- @param self
|
|
|
|
-- @param #float float
|
|
|
|
|
2014-03-10 14:04:58 +08:00
|
|
|
--------------------------------
|
|
|
|
-- @function [parent=#Director] popToSceneStackLevel
|
|
|
|
-- @param self
|
|
|
|
-- @param #int int
|
|
|
|
|
|
|
|
--------------------------------
|
|
|
|
-- @function [parent=#Director] resume
|
|
|
|
-- @param self
|
|
|
|
|
|
|
|
--------------------------------
|
|
|
|
-- @function [parent=#Director] isNextDeltaTimeZero
|
|
|
|
-- @param self
|
|
|
|
-- @return bool#bool ret (return value: bool)
|
|
|
|
|
|
|
|
--------------------------------
|
|
|
|
-- @function [parent=#Director] end
|
|
|
|
-- @param self
|
|
|
|
|
|
|
|
--------------------------------
|
|
|
|
-- @function [parent=#Director] setOpenGLView
|
|
|
|
-- @param self
|
|
|
|
-- @param #cc.GLView glview
|
|
|
|
|
|
|
|
--------------------------------
|
|
|
|
-- @function [parent=#Director] convertToGL
|
|
|
|
-- @param self
|
2014-05-27 14:31:18 +08:00
|
|
|
-- @param #vec2_table vec2
|
|
|
|
-- @return vec2_table#vec2_table ret (return value: vec2_table)
|
2014-03-10 14:04:58 +08:00
|
|
|
|
|
|
|
--------------------------------
|
|
|
|
-- @function [parent=#Director] purgeCachedData
|
|
|
|
-- @param self
|
|
|
|
|
|
|
|
--------------------------------
|
|
|
|
-- @function [parent=#Director] getTotalFrames
|
|
|
|
-- @param self
|
|
|
|
-- @return unsigned int#unsigned int ret (return value: unsigned int)
|
|
|
|
|
|
|
|
--------------------------------
|
|
|
|
-- @function [parent=#Director] runWithScene
|
|
|
|
-- @param self
|
|
|
|
-- @param #cc.Scene scene
|
|
|
|
|
|
|
|
--------------------------------
|
|
|
|
-- @function [parent=#Director] setNotificationNode
|
|
|
|
-- @param self
|
|
|
|
-- @param #cc.Node node
|
|
|
|
|
|
|
|
--------------------------------
|
|
|
|
-- @function [parent=#Director] drawScene
|
|
|
|
-- @param self
|
|
|
|
|
2014-04-28 15:01:59 +08:00
|
|
|
--------------------------------
|
|
|
|
-- @function [parent=#Director] getZEye
|
|
|
|
-- @param self
|
|
|
|
-- @return float#float ret (return value: float)
|
|
|
|
|
|
|
|
--------------------------------
|
|
|
|
-- @function [parent=#Director] getMatrix
|
|
|
|
-- @param self
|
|
|
|
-- @param #cc.MATRIX_STACK_TYPE matrix_stack_type
|
2014-05-27 14:31:18 +08:00
|
|
|
-- @return mat4_table#mat4_table ret (return value: mat4_table)
|
2014-04-28 15:01:59 +08:00
|
|
|
|
2014-03-10 14:04:58 +08:00
|
|
|
--------------------------------
|
|
|
|
-- @function [parent=#Director] popScene
|
|
|
|
-- @param self
|
|
|
|
|
|
|
|
--------------------------------
|
|
|
|
-- @function [parent=#Director] isDisplayStats
|
|
|
|
-- @param self
|
|
|
|
-- @return bool#bool ret (return value: bool)
|
|
|
|
|
|
|
|
--------------------------------
|
|
|
|
-- @function [parent=#Director] setProjection
|
|
|
|
-- @param self
|
|
|
|
-- @param #cc.Director::Projection projection
|
|
|
|
|
|
|
|
--------------------------------
|
2014-04-28 15:01:59 +08:00
|
|
|
-- @function [parent=#Director] loadIdentityMatrix
|
2014-03-10 14:04:58 +08:00
|
|
|
-- @param self
|
2014-04-28 15:01:59 +08:00
|
|
|
-- @param #cc.MATRIX_STACK_TYPE matrix_stack_type
|
2014-03-10 14:04:58 +08:00
|
|
|
|
|
|
|
--------------------------------
|
2014-04-28 15:01:59 +08:00
|
|
|
-- @function [parent=#Director] setNextDeltaTimeZero
|
2014-03-10 14:04:58 +08:00
|
|
|
-- @param self
|
2014-04-28 15:01:59 +08:00
|
|
|
-- @param #bool bool
|
2014-03-10 14:04:58 +08:00
|
|
|
|
|
|
|
--------------------------------
|
2014-04-28 15:01:59 +08:00
|
|
|
-- @function [parent=#Director] resetMatrixStack
|
2014-03-10 14:04:58 +08:00
|
|
|
-- @param self
|
2014-04-28 15:01:59 +08:00
|
|
|
|
|
|
|
--------------------------------
|
|
|
|
-- @function [parent=#Director] popMatrix
|
|
|
|
-- @param self
|
|
|
|
-- @param #cc.MATRIX_STACK_TYPE matrix_stack_type
|
2014-03-10 14:04:58 +08:00
|
|
|
|
|
|
|
--------------------------------
|
|
|
|
-- @function [parent=#Director] getVisibleSize
|
|
|
|
-- @param self
|
|
|
|
-- @return size_table#size_table ret (return value: size_table)
|
|
|
|
|
|
|
|
--------------------------------
|
|
|
|
-- @function [parent=#Director] getScheduler
|
|
|
|
-- @param self
|
|
|
|
-- @return Scheduler#Scheduler ret (return value: cc.Scheduler)
|
|
|
|
|
|
|
|
--------------------------------
|
2014-04-28 15:01:59 +08:00
|
|
|
-- @function [parent=#Director] setAnimationInterval
|
2014-03-10 14:04:58 +08:00
|
|
|
-- @param self
|
2014-04-28 15:01:59 +08:00
|
|
|
-- @param #double double
|
2014-03-10 14:04:58 +08:00
|
|
|
|
|
|
|
--------------------------------
|
|
|
|
-- @function [parent=#Director] getAnimationInterval
|
|
|
|
-- @param self
|
|
|
|
-- @return double#double ret (return value: double)
|
|
|
|
|
|
|
|
--------------------------------
|
|
|
|
-- @function [parent=#Director] isPaused
|
|
|
|
-- @param self
|
|
|
|
-- @return bool#bool ret (return value: bool)
|
|
|
|
|
|
|
|
--------------------------------
|
|
|
|
-- @function [parent=#Director] setDisplayStats
|
|
|
|
-- @param self
|
|
|
|
-- @param #bool bool
|
|
|
|
|
2014-06-25 17:17:16 +08:00
|
|
|
--------------------------------
|
|
|
|
-- @function [parent=#Director] getEventDispatcher
|
|
|
|
-- @param self
|
|
|
|
-- @return EventDispatcher#EventDispatcher ret (return value: cc.EventDispatcher)
|
|
|
|
|
2014-03-10 14:04:58 +08:00
|
|
|
--------------------------------
|
|
|
|
-- @function [parent=#Director] replaceScene
|
|
|
|
-- @param self
|
|
|
|
-- @param #cc.Scene scene
|
|
|
|
|
|
|
|
--------------------------------
|
2014-04-28 15:01:59 +08:00
|
|
|
-- @function [parent=#Director] multiplyMatrix
|
2014-03-10 14:04:58 +08:00
|
|
|
-- @param self
|
2014-04-28 15:01:59 +08:00
|
|
|
-- @param #cc.MATRIX_STACK_TYPE matrix_stack_type
|
2014-05-27 14:31:18 +08:00
|
|
|
-- @param #mat4_table mat4
|
2014-03-10 14:04:58 +08:00
|
|
|
|
|
|
|
--------------------------------
|
|
|
|
-- @function [parent=#Director] getActionManager
|
|
|
|
-- @param self
|
|
|
|
-- @return ActionManager#ActionManager ret (return value: cc.ActionManager)
|
|
|
|
|
|
|
|
--------------------------------
|
|
|
|
-- @function [parent=#Director] getInstance
|
|
|
|
-- @param self
|
|
|
|
-- @return Director#Director ret (return value: cc.Director)
|
|
|
|
|
|
|
|
return nil
|