mirror of https://github.com/axmolengine/axmol.git
302 lines
8.6 KiB
Lua
302 lines
8.6 KiB
Lua
|
|
--------------------------------
|
|
-- @module Director
|
|
|
|
--------------------------------
|
|
-- @function [parent=#Director] pause
|
|
-- @param self
|
|
|
|
--------------------------------
|
|
-- @function [parent=#Director] pushScene
|
|
-- @param self
|
|
-- @param #cc.Scene scene
|
|
|
|
--------------------------------
|
|
-- @function [parent=#Director] getDeltaTime
|
|
-- @param self
|
|
-- @return float#float ret (return value: float)
|
|
|
|
--------------------------------
|
|
-- @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)
|
|
|
|
--------------------------------
|
|
-- @function [parent=#Director] getConsole
|
|
-- @param self
|
|
-- @return Console#Console ret (return value: cc.Console)
|
|
|
|
--------------------------------
|
|
-- @function [parent=#Director] pushMatrix
|
|
-- @param self
|
|
-- @param #cc.MATRIX_STACK_TYPE matrix_stack_type
|
|
|
|
--------------------------------
|
|
-- @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
|
|
|
|
--------------------------------
|
|
-- @function [parent=#Director] loadMatrix
|
|
-- @param self
|
|
-- @param #cc.MATRIX_STACK_TYPE matrix_stack_type
|
|
-- @param #cc.math::Matrix matrix
|
|
|
|
--------------------------------
|
|
-- @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
|
|
-- @return math::Vector2#math::Vector2 ret (return value: cc.math::Vector2)
|
|
|
|
--------------------------------
|
|
-- @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
|
|
-- @param #cc.math::Vector2 array
|
|
-- @return math::Vector2#math::Vector2 ret (return value: cc.math::Vector2)
|
|
|
|
--------------------------------
|
|
-- @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
|
|
|
|
--------------------------------
|
|
-- @function [parent=#Director] getOpenGLView
|
|
-- @param self
|
|
-- @return GLView#GLView ret (return value: cc.GLView)
|
|
|
|
--------------------------------
|
|
-- @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
|
|
|
|
--------------------------------
|
|
-- @function [parent=#Director] setContentScaleFactor
|
|
-- @param self
|
|
-- @param #float float
|
|
|
|
--------------------------------
|
|
-- @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
|
|
-- @param #cc.math::Vector2 array
|
|
-- @return math::Vector2#math::Vector2 ret (return value: cc.math::Vector2)
|
|
|
|
--------------------------------
|
|
-- @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
|
|
|
|
--------------------------------
|
|
-- @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
|
|
-- @return math::Matrix#math::Matrix ret (return value: cc.math::Matrix)
|
|
|
|
--------------------------------
|
|
-- @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
|
|
|
|
--------------------------------
|
|
-- @function [parent=#Director] loadIdentityMatrix
|
|
-- @param self
|
|
-- @param #cc.MATRIX_STACK_TYPE matrix_stack_type
|
|
|
|
--------------------------------
|
|
-- @function [parent=#Director] setNextDeltaTimeZero
|
|
-- @param self
|
|
-- @param #bool bool
|
|
|
|
--------------------------------
|
|
-- @function [parent=#Director] resetMatrixStack
|
|
-- @param self
|
|
|
|
--------------------------------
|
|
-- @function [parent=#Director] popMatrix
|
|
-- @param self
|
|
-- @param #cc.MATRIX_STACK_TYPE matrix_stack_type
|
|
|
|
--------------------------------
|
|
-- @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)
|
|
|
|
--------------------------------
|
|
-- @function [parent=#Director] setAnimationInterval
|
|
-- @param self
|
|
-- @param #double double
|
|
|
|
--------------------------------
|
|
-- @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
|
|
|
|
--------------------------------
|
|
-- @function [parent=#Director] replaceScene
|
|
-- @param self
|
|
-- @param #cc.Scene scene
|
|
|
|
--------------------------------
|
|
-- @function [parent=#Director] multiplyMatrix
|
|
-- @param self
|
|
-- @param #cc.MATRIX_STACK_TYPE matrix_stack_type
|
|
-- @param #cc.math::Matrix matrix
|
|
|
|
--------------------------------
|
|
-- @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
|