axmol/cocos/scripting/lua-bindings/auto/api/Director.lua

313 lines
8.9 KiB
Lua
Raw Normal View History

2014-03-10 14:04:58 +08:00
--------------------------------
-- @module Director
-- @parent_module cc
2014-03-10 14:04:58 +08:00
--------------------------------
-- @function [parent=#Director] pause
-- @param self
--------------------------------
-- @function [parent=#Director] setEventDispatcher
-- @param self
-- @param #cc.EventDispatcher eventdispatcher
2014-03-10 14:04:58 +08:00
--------------------------------
-- @function [parent=#Director] pushScene
2014-03-10 14:04:58 +08:00
-- @param self
-- @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)
--------------------------------
-- @function [parent=#Director] getConsole
2014-03-10 14:04:58 +08:00
-- @param self
-- @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
--------------------------------
-- @function [parent=#Director] loadMatrix
-- @param self
-- @param #cc.MATRIX_STACK_TYPE matrix_stack_type
-- @param #mat4_table mat4
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
-- @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
-- @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
--------------------------------
-- @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
--------------------------------
-- @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
-- @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
--------------------------------
-- @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 mat4_table#mat4_table ret (return value: mat4_table)
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
--------------------------------
-- @function [parent=#Director] loadIdentityMatrix
2014-03-10 14:04:58 +08:00
-- @param self
-- @param #cc.MATRIX_STACK_TYPE matrix_stack_type
2014-03-10 14:04:58 +08:00
--------------------------------
-- @function [parent=#Director] setNextDeltaTimeZero
2014-03-10 14:04:58 +08:00
-- @param self
-- @param #bool bool
2014-03-10 14:04:58 +08:00
--------------------------------
-- @function [parent=#Director] resetMatrixStack
2014-03-10 14:04:58 +08:00
-- @param self
--------------------------------
-- @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)
--------------------------------
-- @function [parent=#Director] setAnimationInterval
2014-03-10 14:04:58 +08:00
-- @param self
-- @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
--------------------------------
-- @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
--------------------------------
-- @function [parent=#Director] multiplyMatrix
2014-03-10 14:04:58 +08:00
-- @param self
-- @param #cc.MATRIX_STACK_TYPE matrix_stack_type
-- @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