[ci skip][AUTO]: updating luabinding & jsbinding automatically

This commit is contained in:
CocosRobot 2015-09-29 07:45:48 +00:00
parent b918a0f3e2
commit 246fa7ffd8
228 changed files with 141097 additions and 176 deletions

View File

@ -0,0 +1,173 @@
--------------------------------
-- @module AbstractCheckButton
-- @extend Widget
-- @parent_module ccui
--------------------------------
-- Load background selected state texture for check button.<br>
-- param backGroundSelected The background selected state image name.<br>
-- param texType @see `Widget::TextureResType`
-- @function [parent=#AbstractCheckButton] loadTextureBackGroundSelected
-- @param self
-- @param #string backGroundSelected
-- @param #int texType
-- @return AbstractCheckButton#AbstractCheckButton self (return value: ccui.AbstractCheckButton)
--------------------------------
-- Load background disabled state texture for checkbox.<br>
-- param backGroundDisabled The background disabled state texture name.<br>
-- param texType @see `Widget::TextureResType`
-- @function [parent=#AbstractCheckButton] loadTextureBackGroundDisabled
-- @param self
-- @param #string backGroundDisabled
-- @param #int texType
-- @return AbstractCheckButton#AbstractCheckButton self (return value: ccui.AbstractCheckButton)
--------------------------------
-- Change CheckBox state.<br>
-- Set to true will cause the CheckBox's state to "selected", false otherwise.<br>
-- param selected Set to true will change CheckBox to selected state, false otherwise.
-- @function [parent=#AbstractCheckButton] setSelected
-- @param self
-- @param #bool selected
-- @return AbstractCheckButton#AbstractCheckButton self (return value: ccui.AbstractCheckButton)
--------------------------------
-- brief Return the sprite instance of front cross when disabled<br>
-- return the sprite instance of front cross when disabled
-- @function [parent=#AbstractCheckButton] getRendererFrontCrossDisabled
-- @param self
-- @return Sprite#Sprite ret (return value: cc.Sprite)
--------------------------------
-- brief Return the sprite instance of background<br>
-- return the sprite instance of background.
-- @function [parent=#AbstractCheckButton] getRendererBackground
-- @param self
-- @return Sprite#Sprite ret (return value: cc.Sprite)
--------------------------------
-- Load cross texture for check button.<br>
-- param crossTextureName The cross texture name.<br>
-- param texType @see `Widget::TextureResType`
-- @function [parent=#AbstractCheckButton] loadTextureFrontCross
-- @param self
-- @param #string crossTextureName
-- @param #int texType
-- @return AbstractCheckButton#AbstractCheckButton self (return value: ccui.AbstractCheckButton)
--------------------------------
-- brief Return the sprite instance of background when disabled<br>
-- return the sprite instance of background when disabled
-- @function [parent=#AbstractCheckButton] getRendererBackgroundDisabled
-- @param self
-- @return Sprite#Sprite ret (return value: cc.Sprite)
--------------------------------
-- Query whether CheckBox is selected or not.<br>
-- return true means "selected", false otherwise.
-- @function [parent=#AbstractCheckButton] isSelected
-- @param self
-- @return bool#bool ret (return value: bool)
--------------------------------
--
-- @function [parent=#AbstractCheckButton] init
-- @param self
-- @param #string backGround
-- @param #string backGroundSeleted
-- @param #string cross
-- @param #string backGroundDisabled
-- @param #string frontCrossDisabled
-- @param #int texType
-- @return bool#bool ret (return value: bool)
--------------------------------
-- Load all textures for initializing a check button.<br>
-- param background The background image name.<br>
-- param backgroundSelected The background selected image name.<br>
-- param cross The cross image name.<br>
-- param backgroundDisabled The background disabled state texture.<br>
-- param frontCrossDisabled The front cross disabled state image name.<br>
-- param texType @see `Widget::TextureResType`
-- @function [parent=#AbstractCheckButton] loadTextures
-- @param self
-- @param #string background
-- @param #string backgroundSelected
-- @param #string cross
-- @param #string backgroundDisabled
-- @param #string frontCrossDisabled
-- @param #int texType
-- @return AbstractCheckButton#AbstractCheckButton self (return value: ccui.AbstractCheckButton)
--------------------------------
-- brief Return a zoom scale<br>
-- return A zoom scale of Checkbox.<br>
-- since v3.3
-- @function [parent=#AbstractCheckButton] getZoomScale
-- @param self
-- @return float#float ret (return value: float)
--------------------------------
-- brief Return the sprite instance of front cross<br>
-- return the sprite instance of front cross
-- @function [parent=#AbstractCheckButton] getRendererFrontCross
-- @param self
-- @return Sprite#Sprite ret (return value: cc.Sprite)
--------------------------------
-- brief Return the sprite instance of background when selected<br>
-- return the sprite instance of background when selected
-- @function [parent=#AbstractCheckButton] getRendererBackgroundSelected
-- @param self
-- @return Sprite#Sprite ret (return value: cc.Sprite)
--------------------------------
-- Load background texture for check button.<br>
-- param backGround The background image name.<br>
-- param type @see `Widget::TextureResType`
-- @function [parent=#AbstractCheckButton] loadTextureBackGround
-- @param self
-- @param #string backGround
-- @param #int type
-- @return AbstractCheckButton#AbstractCheckButton self (return value: ccui.AbstractCheckButton)
--------------------------------
-- When user pressed the CheckBox, the button will zoom to a scale.<br>
-- The final scale of the CheckBox equals (CheckBox original scale + _zoomScale)<br>
-- since v3.3
-- @function [parent=#AbstractCheckButton] setZoomScale
-- @param self
-- @param #float scale
-- @return AbstractCheckButton#AbstractCheckButton self (return value: ccui.AbstractCheckButton)
--------------------------------
-- Load frontcross disabled texture for checkbox.<br>
-- param frontCrossDisabled The front cross disabled state texture name.<br>
-- param texType @see `Widget::TextureResType`
-- @function [parent=#AbstractCheckButton] loadTextureFrontCrossDisabled
-- @param self
-- @param #string frontCrossDisabled
-- @param #int texType
-- @return AbstractCheckButton#AbstractCheckButton self (return value: ccui.AbstractCheckButton)
--------------------------------
--
-- @function [parent=#AbstractCheckButton] getVirtualRenderer
-- @param self
-- @return Node#Node ret (return value: cc.Node)
--------------------------------
--
-- @function [parent=#AbstractCheckButton] init
-- @param self
-- @return bool#bool ret (return value: bool)
--------------------------------
--
-- @function [parent=#AbstractCheckButton] getVirtualRendererSize
-- @param self
-- @return size_table#size_table ret (return value: size_table)
return nil

View File

@ -0,0 +1,37 @@
--------------------------------
-- @module ActionFadeFrame
-- @extend ActionFrame
-- @parent_module ccs
--------------------------------
-- Gets the fade action opacity.<br>
-- return the fade action opacity.
-- @function [parent=#ActionFadeFrame] getOpacity
-- @param self
-- @return int#int ret (return value: int)
--------------------------------
-- Gets the ActionInterval of ActionFrame.<br>
-- parame duration the duration time of ActionFrame<br>
-- return ActionInterval
-- @function [parent=#ActionFadeFrame] getAction
-- @param self
-- @param #float duration
-- @return ActionInterval#ActionInterval ret (return value: cc.ActionInterval)
--------------------------------
-- Changes the fade action opacity.<br>
-- param opacity the fade action opacity
-- @function [parent=#ActionFadeFrame] setOpacity
-- @param self
-- @param #int opacity
-- @return ActionFadeFrame#ActionFadeFrame self (return value: ccs.ActionFadeFrame)
--------------------------------
-- Default constructor
-- @function [parent=#ActionFadeFrame] ActionFadeFrame
-- @param self
-- @return ActionFadeFrame#ActionFadeFrame self (return value: ccs.ActionFadeFrame)
return nil

View File

@ -0,0 +1,90 @@
--------------------------------
-- @module ActionFrame
-- @extend Ref
-- @parent_module ccs
--------------------------------
-- @overload self, float, ccs.ActionFrame
-- @overload self, float
-- @function [parent=#ActionFrame] getAction
-- @param self
-- @param #float duration
-- @param #ccs.ActionFrame srcFrame
-- @return ActionInterval#ActionInterval ret (return value: cc.ActionInterval)
--------------------------------
-- Gets the type of action frame<br>
-- return the type of action frame
-- @function [parent=#ActionFrame] getFrameType
-- @param self
-- @return int#int ret (return value: int)
--------------------------------
-- Changes the time of action frame<br>
-- param fTime the time of action frame
-- @function [parent=#ActionFrame] setFrameTime
-- @param self
-- @param #float fTime
-- @return ActionFrame#ActionFrame self (return value: ccs.ActionFrame)
--------------------------------
-- Changes the easing type.<br>
-- param easingType the easing type.
-- @function [parent=#ActionFrame] setEasingType
-- @param self
-- @param #int easingType
-- @return ActionFrame#ActionFrame self (return value: ccs.ActionFrame)
--------------------------------
-- Gets the time of action frame<br>
-- return fTime the time of action frame
-- @function [parent=#ActionFrame] getFrameTime
-- @param self
-- @return float#float ret (return value: float)
--------------------------------
-- Gets the index of action frame<br>
-- return the index of action frame
-- @function [parent=#ActionFrame] getFrameIndex
-- @param self
-- @return int#int ret (return value: int)
--------------------------------
-- Changes the type of action frame<br>
-- param frameType the type of action frame
-- @function [parent=#ActionFrame] setFrameType
-- @param self
-- @param #int frameType
-- @return ActionFrame#ActionFrame self (return value: ccs.ActionFrame)
--------------------------------
-- Changes the index of action frame<br>
-- param index the index of action frame
-- @function [parent=#ActionFrame] setFrameIndex
-- @param self
-- @param #int index
-- @return ActionFrame#ActionFrame self (return value: ccs.ActionFrame)
--------------------------------
-- Set the ActionInterval easing parameter.<br>
-- parame parameter the parameter for frame ease
-- @function [parent=#ActionFrame] setEasingParameter
-- @param self
-- @param #array_table parameter
-- @return ActionFrame#ActionFrame self (return value: ccs.ActionFrame)
--------------------------------
-- Gets the easing type.<br>
-- return the easing type.
-- @function [parent=#ActionFrame] getEasingType
-- @param self
-- @return int#int ret (return value: int)
--------------------------------
-- Default constructor
-- @function [parent=#ActionFrame] ActionFrame
-- @param self
-- @return ActionFrame#ActionFrame self (return value: ccs.ActionFrame)
return nil

View File

@ -0,0 +1,61 @@
--------------------------------
-- @module ActionManagerEx
-- @extend Ref
-- @parent_module ccs
--------------------------------
-- Stop an Action with a name.<br>
-- param jsonName UI file name<br>
-- param actionName action name in teh UIfile.<br>
-- return ActionObject which named as the param name
-- @function [parent=#ActionManagerEx] stopActionByName
-- @param self
-- @param #char jsonName
-- @param #char actionName
-- @return ActionObject#ActionObject ret (return value: ccs.ActionObject)
--------------------------------
-- Gets an ActionObject with a name.<br>
-- param jsonName UI file name<br>
-- param actionName action name in the UI file.<br>
-- return ActionObject which named as the param name
-- @function [parent=#ActionManagerEx] getActionByName
-- @param self
-- @param #char jsonName
-- @param #char actionName
-- @return ActionObject#ActionObject ret (return value: ccs.ActionObject)
--------------------------------
-- @overload self, char, char, cc.CallFunc
-- @overload self, char, char
-- @function [parent=#ActionManagerEx] playActionByName
-- @param self
-- @param #char jsonName
-- @param #char actionName
-- @param #cc.CallFunc func
-- @return ActionObject#ActionObject ret (return value: ccs.ActionObject)
--------------------------------
-- Release all actions.
-- @function [parent=#ActionManagerEx] releaseActions
-- @param self
-- @return ActionManagerEx#ActionManagerEx self (return value: ccs.ActionManagerEx)
--------------------------------
-- Purges ActionManager point.<br>
-- js purge<br>
-- lua destroyActionManager
-- @function [parent=#ActionManagerEx] destroyInstance
-- @param self
-- @return ActionManagerEx#ActionManagerEx self (return value: ccs.ActionManagerEx)
--------------------------------
-- Gets the static instance of ActionManager.<br>
-- js getInstance<br>
-- lua getInstance
-- @function [parent=#ActionManagerEx] getInstance
-- @param self
-- @return ActionManagerEx#ActionManagerEx ret (return value: ccs.ActionManagerEx)
return nil

View File

@ -0,0 +1,37 @@
--------------------------------
-- @module ActionMoveFrame
-- @extend ActionFrame
-- @parent_module ccs
--------------------------------
-- Changes the move action position.<br>
-- param the move action position.
-- @function [parent=#ActionMoveFrame] setPosition
-- @param self
-- @param #vec2_table pos
-- @return ActionMoveFrame#ActionMoveFrame self (return value: ccs.ActionMoveFrame)
--------------------------------
-- Gets the ActionInterval of ActionFrame.<br>
-- parame duration the duration time of ActionFrame<br>
-- return ActionInterval
-- @function [parent=#ActionMoveFrame] getAction
-- @param self
-- @param #float duration
-- @return ActionInterval#ActionInterval ret (return value: cc.ActionInterval)
--------------------------------
-- Gets the move action position.<br>
-- return the move action position.
-- @function [parent=#ActionMoveFrame] getPosition
-- @param self
-- @return vec2_table#vec2_table ret (return value: vec2_table)
--------------------------------
-- Default constructor
-- @function [parent=#ActionMoveFrame] ActionMoveFrame
-- @param self
-- @return ActionMoveFrame#ActionMoveFrame self (return value: ccs.ActionMoveFrame)
return nil

View File

@ -0,0 +1,137 @@
--------------------------------
-- @module ActionObject
-- @extend Ref
-- @parent_module ccs
--------------------------------
-- Sets the current time of frame.<br>
-- param fTime the current time of frame
-- @function [parent=#ActionObject] setCurrentTime
-- @param self
-- @param #float fTime
-- @return ActionObject#ActionObject self (return value: ccs.ActionObject)
--------------------------------
-- Pause the action.
-- @function [parent=#ActionObject] pause
-- @param self
-- @return ActionObject#ActionObject self (return value: ccs.ActionObject)
--------------------------------
-- Sets name for object<br>
-- param name name of object
-- @function [parent=#ActionObject] setName
-- @param self
-- @param #char name
-- @return ActionObject#ActionObject self (return value: ccs.ActionObject)
--------------------------------
-- Sets the time interval of frame.<br>
-- param fTime the time interval of frame
-- @function [parent=#ActionObject] setUnitTime
-- @param self
-- @param #float fTime
-- @return ActionObject#ActionObject self (return value: ccs.ActionObject)
--------------------------------
-- Gets the total time of frame.<br>
-- return the total time of frame
-- @function [parent=#ActionObject] getTotalTime
-- @param self
-- @return float#float ret (return value: float)
--------------------------------
-- Gets name of object<br>
-- return name of object
-- @function [parent=#ActionObject] getName
-- @param self
-- @return char#char ret (return value: char)
--------------------------------
-- Stop the action.
-- @function [parent=#ActionObject] stop
-- @param self
-- @return ActionObject#ActionObject self (return value: ccs.ActionObject)
--------------------------------
-- @overload self, cc.CallFunc
-- @overload self
-- @function [parent=#ActionObject] play
-- @param self
-- @param #cc.CallFunc func
-- @return ActionObject#ActionObject self (return value: ccs.ActionObject)
--------------------------------
-- Gets the current time of frame.<br>
-- return the current time of frame
-- @function [parent=#ActionObject] getCurrentTime
-- @param self
-- @return float#float ret (return value: float)
--------------------------------
-- Removes a ActionNode which play the action.<br>
-- param node the ActionNode which play the action
-- @function [parent=#ActionObject] removeActionNode
-- @param self
-- @param #ccs.ActionNode node
-- @return ActionObject#ActionObject self (return value: ccs.ActionObject)
--------------------------------
-- Gets if the action will loop play.<br>
-- return that if the action will loop play
-- @function [parent=#ActionObject] getLoop
-- @param self
-- @return bool#bool ret (return value: bool)
--------------------------------
-- Adds a ActionNode to play the action.<br>
-- param node the ActionNode which will play the action
-- @function [parent=#ActionObject] addActionNode
-- @param self
-- @param #ccs.ActionNode node
-- @return ActionObject#ActionObject self (return value: ccs.ActionObject)
--------------------------------
-- Gets the time interval of frame.<br>
-- return the time interval of frame
-- @function [parent=#ActionObject] getUnitTime
-- @param self
-- @return float#float ret (return value: float)
--------------------------------
-- Return if the action is playing.<br>
-- return true if the action is playing, false the otherwise
-- @function [parent=#ActionObject] isPlaying
-- @param self
-- @return bool#bool ret (return value: bool)
--------------------------------
--
-- @function [parent=#ActionObject] updateToFrameByTime
-- @param self
-- @param #float fTime
-- @return ActionObject#ActionObject self (return value: ccs.ActionObject)
--------------------------------
-- Sets if the action will loop play.<br>
-- param bLoop that if the action will loop play
-- @function [parent=#ActionObject] setLoop
-- @param self
-- @param #bool bLoop
-- @return ActionObject#ActionObject self (return value: ccs.ActionObject)
--------------------------------
--
-- @function [parent=#ActionObject] simulationActionUpdate
-- @param self
-- @param #float dt
-- @return ActionObject#ActionObject self (return value: ccs.ActionObject)
--------------------------------
-- Default constructor
-- @function [parent=#ActionObject] ActionObject
-- @param self
-- @return ActionObject#ActionObject self (return value: ccs.ActionObject)
return nil

View File

@ -0,0 +1,37 @@
--------------------------------
-- @module ActionRotationFrame
-- @extend ActionFrame
-- @parent_module ccs
--------------------------------
-- Changes rotate action rotation.<br>
-- param rotation rotate action rotation.
-- @function [parent=#ActionRotationFrame] setRotation
-- @param self
-- @param #float rotation
-- @return ActionRotationFrame#ActionRotationFrame self (return value: ccs.ActionRotationFrame)
--------------------------------
-- @overload self, float, ccs.ActionFrame
-- @overload self, float
-- @function [parent=#ActionRotationFrame] getAction
-- @param self
-- @param #float duration
-- @param #ccs.ActionFrame srcFrame
-- @return ActionInterval#ActionInterval ret (return value: cc.ActionInterval)
--------------------------------
-- Gets the rotate action rotation.<br>
-- return the rotate action rotation.
-- @function [parent=#ActionRotationFrame] getRotation
-- @param self
-- @return float#float ret (return value: float)
--------------------------------
-- Default constructor
-- @function [parent=#ActionRotationFrame] ActionRotationFrame
-- @param self
-- @return ActionRotationFrame#ActionRotationFrame self (return value: ccs.ActionRotationFrame)
return nil

View File

@ -0,0 +1,52 @@
--------------------------------
-- @module ActionScaleFrame
-- @extend ActionFrame
-- @parent_module ccs
--------------------------------
-- Changes the scale action scaleY.<br>
-- param rotation the scale action scaleY.
-- @function [parent=#ActionScaleFrame] setScaleY
-- @param self
-- @param #float scaleY
-- @return ActionScaleFrame#ActionScaleFrame self (return value: ccs.ActionScaleFrame)
--------------------------------
-- Changes the scale action scaleX.<br>
-- param the scale action scaleX.
-- @function [parent=#ActionScaleFrame] setScaleX
-- @param self
-- @param #float scaleX
-- @return ActionScaleFrame#ActionScaleFrame self (return value: ccs.ActionScaleFrame)
--------------------------------
-- Gets the scale action scaleY.<br>
-- return the the scale action scaleY.
-- @function [parent=#ActionScaleFrame] getScaleY
-- @param self
-- @return float#float ret (return value: float)
--------------------------------
-- Gets the scale action scaleX.<br>
-- return the scale action scaleX.
-- @function [parent=#ActionScaleFrame] getScaleX
-- @param self
-- @return float#float ret (return value: float)
--------------------------------
-- Gets the ActionInterval of ActionFrame.<br>
-- parame duration the duration time of ActionFrame<br>
-- return ActionInterval
-- @function [parent=#ActionScaleFrame] getAction
-- @param self
-- @param #float duration
-- @return ActionInterval#ActionInterval ret (return value: cc.ActionInterval)
--------------------------------
-- Default constructor
-- @function [parent=#ActionScaleFrame] ActionScaleFrame
-- @param self
-- @return ActionScaleFrame#ActionScaleFrame self (return value: ccs.ActionScaleFrame)
return nil

View File

@ -0,0 +1,268 @@
--------------------------------
-- @module ActionTimeline
-- @extend Action
-- @parent_module ccs
--------------------------------
--
-- @function [parent=#ActionTimeline] clearFrameEndCallFuncs
-- @param self
-- @return ActionTimeline#ActionTimeline self (return value: ccs.ActionTimeline)
--------------------------------
-- add a frame end call back to animation's end frame<br>
-- param animationName @addFrameEndCallFunc, make the animationName as funcKey<br>
-- param func the callback function
-- @function [parent=#ActionTimeline] setAnimationEndCallFunc
-- @param self
-- @param #string animationName
-- @param #function func
-- @return ActionTimeline#ActionTimeline self (return value: ccs.ActionTimeline)
--------------------------------
-- add Timeline to ActionTimeline
-- @function [parent=#ActionTimeline] addTimeline
-- @param self
-- @param #ccs.Timeline timeline
-- @return ActionTimeline#ActionTimeline self (return value: ccs.ActionTimeline)
--------------------------------
-- Get current frame.
-- @function [parent=#ActionTimeline] getCurrentFrame
-- @param self
-- @return int#int ret (return value: int)
--------------------------------
-- Start frame index of this action
-- @function [parent=#ActionTimeline] getStartFrame
-- @param self
-- @return int#int ret (return value: int)
--------------------------------
-- Pause the animation.
-- @function [parent=#ActionTimeline] pause
-- @param self
-- @return ActionTimeline#ActionTimeline self (return value: ccs.ActionTimeline)
--------------------------------
--
-- @function [parent=#ActionTimeline] init
-- @param self
-- @return bool#bool ret (return value: bool)
--------------------------------
--
-- @function [parent=#ActionTimeline] removeTimeline
-- @param self
-- @param #ccs.Timeline timeline
-- @return ActionTimeline#ActionTimeline self (return value: ccs.ActionTimeline)
--------------------------------
--
-- @function [parent=#ActionTimeline] clearFrameEventCallFunc
-- @param self
-- @return ActionTimeline#ActionTimeline self (return value: ccs.ActionTimeline)
--------------------------------
-- Last frame callback will call when arriving last frame
-- @function [parent=#ActionTimeline] setLastFrameCallFunc
-- @param self
-- @param #function listener
-- @return ActionTimeline#ActionTimeline self (return value: ccs.ActionTimeline)
--------------------------------
--
-- @function [parent=#ActionTimeline] getTimelines
-- @param self
-- @return array_table#array_table ret (return value: array_table)
--------------------------------
--
-- @function [parent=#ActionTimeline] play
-- @param self
-- @param #string animationName
-- @param #bool loop
-- @return ActionTimeline#ActionTimeline self (return value: ccs.ActionTimeline)
--------------------------------
--
-- @function [parent=#ActionTimeline] getAnimationInfo
-- @param self
-- @param #string animationName
-- @return AnimationInfo#AnimationInfo ret (return value: ccs.AnimationInfo)
--------------------------------
-- Resume the animation.
-- @function [parent=#ActionTimeline] resume
-- @param self
-- @return ActionTimeline#ActionTimeline self (return value: ccs.ActionTimeline)
--------------------------------
-- add a callback function after played frameIndex<br>
-- param frameIndex the frame index call back after<br>
-- param funcKey for identity the callback function<br>
-- param func the callback function
-- @function [parent=#ActionTimeline] addFrameEndCallFunc
-- @param self
-- @param #int frameIndex
-- @param #string funcKey
-- @param #function func
-- @return ActionTimeline#ActionTimeline self (return value: ccs.ActionTimeline)
--------------------------------
--
-- @function [parent=#ActionTimeline] removeAnimationInfo
-- @param self
-- @param #string animationName
-- @return ActionTimeline#ActionTimeline self (return value: ccs.ActionTimeline)
--------------------------------
-- Get current animation speed.
-- @function [parent=#ActionTimeline] getTimeSpeed
-- @param self
-- @return float#float ret (return value: float)
--------------------------------
-- AnimationInfo
-- @function [parent=#ActionTimeline] addAnimationInfo
-- @param self
-- @param #ccs.AnimationInfo animationInfo
-- @return ActionTimeline#ActionTimeline self (return value: ccs.ActionTimeline)
--------------------------------
--
-- @function [parent=#ActionTimeline] getDuration
-- @param self
-- @return int#int ret (return value: int)
--------------------------------
-- Goto the specified frame index, and pause at this index.<br>
-- param startIndex The animation will pause at this index.
-- @function [parent=#ActionTimeline] gotoFrameAndPause
-- @param self
-- @param #int startIndex
-- @return ActionTimeline#ActionTimeline self (return value: ccs.ActionTimeline)
--------------------------------
-- Whether or not Action is playing.
-- @function [parent=#ActionTimeline] isPlaying
-- @param self
-- @return bool#bool ret (return value: bool)
--------------------------------
--
-- @function [parent=#ActionTimeline] removeFrameEndCallFuncs
-- @param self
-- @param #int frameIndex
-- @return ActionTimeline#ActionTimeline self (return value: ccs.ActionTimeline)
--------------------------------
-- @overload self, int, bool
-- @overload self, int
-- @overload self, int, int, bool
-- @overload self, int, int, int, bool
-- @function [parent=#ActionTimeline] gotoFrameAndPlay
-- @param self
-- @param #int startIndex
-- @param #int endIndex
-- @param #int currentFrameIndex
-- @param #bool loop
-- @return ActionTimeline#ActionTimeline self (return value: ccs.ActionTimeline)
--------------------------------
--
-- @function [parent=#ActionTimeline] IsAnimationInfoExists
-- @param self
-- @param #string animationName
-- @return bool#bool ret (return value: bool)
--------------------------------
-- End frame of this action.<br>
-- When action play to this frame, if action is not loop, then it will stop, <br>
-- or it will play from start frame again.
-- @function [parent=#ActionTimeline] getEndFrame
-- @param self
-- @return int#int ret (return value: int)
--------------------------------
-- Set the animation speed, this will speed up or slow down the speed.
-- @function [parent=#ActionTimeline] setTimeSpeed
-- @param self
-- @param #float speed
-- @return ActionTimeline#ActionTimeline self (return value: ccs.ActionTimeline)
--------------------------------
--
-- @function [parent=#ActionTimeline] clearLastFrameCallFunc
-- @param self
-- @return ActionTimeline#ActionTimeline self (return value: ccs.ActionTimeline)
--------------------------------
-- duration of the whole action
-- @function [parent=#ActionTimeline] setDuration
-- @param self
-- @param #int duration
-- @return ActionTimeline#ActionTimeline self (return value: ccs.ActionTimeline)
--------------------------------
-- Set current frame index, this will cause action plays to this frame.
-- @function [parent=#ActionTimeline] setCurrentFrame
-- @param self
-- @param #int frameIndex
-- @return ActionTimeline#ActionTimeline self (return value: ccs.ActionTimeline)
--------------------------------
--
-- @function [parent=#ActionTimeline] removeFrameEndCallFunc
-- @param self
-- @param #int frameIndex
-- @param #string funcKey
-- @return ActionTimeline#ActionTimeline self (return value: ccs.ActionTimeline)
--------------------------------
--
-- @function [parent=#ActionTimeline] create
-- @param self
-- @return ActionTimeline#ActionTimeline ret (return value: ccs.ActionTimeline)
--------------------------------
--
-- @function [parent=#ActionTimeline] step
-- @param self
-- @param #float delta
-- @return ActionTimeline#ActionTimeline self (return value: ccs.ActionTimeline)
--------------------------------
--
-- @function [parent=#ActionTimeline] startWithTarget
-- @param self
-- @param #cc.Node target
-- @return ActionTimeline#ActionTimeline self (return value: ccs.ActionTimeline)
--------------------------------
-- Returns a clone of ActionTimeline
-- @function [parent=#ActionTimeline] clone
-- @param self
-- @return ActionTimeline#ActionTimeline ret (return value: ccs.ActionTimeline)
--------------------------------
-- Returns a reverse of ActionTimeline. <br>
-- Not implement yet.
-- @function [parent=#ActionTimeline] reverse
-- @param self
-- @return ActionTimeline#ActionTimeline ret (return value: ccs.ActionTimeline)
--------------------------------
--
-- @function [parent=#ActionTimeline] isDone
-- @param self
-- @return bool#bool ret (return value: bool)
--------------------------------
--
-- @function [parent=#ActionTimeline] ActionTimeline
-- @param self
-- @return ActionTimeline#ActionTimeline self (return value: ccs.ActionTimeline)
return nil

View File

@ -0,0 +1,81 @@
--------------------------------
-- @module ActionTimelineCache
-- @parent_module ccs
--------------------------------
-- Clone a action with the specified name from the container.
-- @function [parent=#ActionTimelineCache] createActionFromJson
-- @param self
-- @param #string fileName
-- @return ActionTimeline#ActionTimeline ret (return value: ccs.ActionTimeline)
--------------------------------
--
-- @function [parent=#ActionTimelineCache] createActionWithFlatBuffersFile
-- @param self
-- @param #string fileName
-- @return ActionTimeline#ActionTimeline ret (return value: ccs.ActionTimeline)
--------------------------------
--
-- @function [parent=#ActionTimelineCache] loadAnimationActionWithFlatBuffersFile
-- @param self
-- @param #string fileName
-- @return ActionTimeline#ActionTimeline ret (return value: ccs.ActionTimeline)
--------------------------------
--
-- @function [parent=#ActionTimelineCache] purge
-- @param self
-- @return ActionTimelineCache#ActionTimelineCache self (return value: ccs.ActionTimelineCache)
--------------------------------
--
-- @function [parent=#ActionTimelineCache] init
-- @param self
-- @return ActionTimelineCache#ActionTimelineCache self (return value: ccs.ActionTimelineCache)
--------------------------------
--
-- @function [parent=#ActionTimelineCache] loadAnimationActionWithFile
-- @param self
-- @param #string fileName
-- @return ActionTimeline#ActionTimeline ret (return value: ccs.ActionTimeline)
--------------------------------
--
-- @function [parent=#ActionTimelineCache] loadAnimationActionWithContent
-- @param self
-- @param #string fileName
-- @param #string content
-- @return ActionTimeline#ActionTimeline ret (return value: ccs.ActionTimeline)
--------------------------------
-- Remove action with filename, and also remove other resource relate with this file
-- @function [parent=#ActionTimelineCache] removeAction
-- @param self
-- @param #string fileName
-- @return ActionTimelineCache#ActionTimelineCache self (return value: ccs.ActionTimelineCache)
--------------------------------
--
-- @function [parent=#ActionTimelineCache] createActionWithFlatBuffersForSimulator
-- @param self
-- @param #string fileName
-- @return ActionTimeline#ActionTimeline ret (return value: ccs.ActionTimeline)
--------------------------------
-- Destroys the singleton
-- @function [parent=#ActionTimelineCache] destroyInstance
-- @param self
-- @return ActionTimelineCache#ActionTimelineCache self (return value: ccs.ActionTimelineCache)
--------------------------------
--
-- @function [parent=#ActionTimelineCache] createAction
-- @param self
-- @param #string fileName
-- @return ActionTimeline#ActionTimeline ret (return value: ccs.ActionTimeline)
return nil

View File

@ -0,0 +1,40 @@
--------------------------------
-- @module ActionTimelineData
-- @extend Ref
-- @parent_module ccs
--------------------------------
--
-- @function [parent=#ActionTimelineData] setActionTag
-- @param self
-- @param #int actionTag
-- @return ActionTimelineData#ActionTimelineData self (return value: ccs.ActionTimelineData)
--------------------------------
--
-- @function [parent=#ActionTimelineData] init
-- @param self
-- @param #int actionTag
-- @return bool#bool ret (return value: bool)
--------------------------------
--
-- @function [parent=#ActionTimelineData] getActionTag
-- @param self
-- @return int#int ret (return value: int)
--------------------------------
--
-- @function [parent=#ActionTimelineData] create
-- @param self
-- @param #int actionTag
-- @return ActionTimelineData#ActionTimelineData ret (return value: ccs.ActionTimelineData)
--------------------------------
--
-- @function [parent=#ActionTimelineData] ActionTimelineData
-- @param self
-- @return ActionTimelineData#ActionTimelineData self (return value: ccs.ActionTimelineData)
return nil

View File

@ -0,0 +1,61 @@
--------------------------------
-- @module ActionTimelineNode
-- @extend Node
-- @parent_module ccs
--------------------------------
--
-- @function [parent=#ActionTimelineNode] getRoot
-- @param self
-- @return Node#Node ret (return value: cc.Node)
--------------------------------
--
-- @function [parent=#ActionTimelineNode] getActionTimeline
-- @param self
-- @return ActionTimeline#ActionTimeline ret (return value: ccs.ActionTimeline)
--------------------------------
--
-- @function [parent=#ActionTimelineNode] setActionTimeline
-- @param self
-- @param #ccs.ActionTimeline action
-- @return ActionTimelineNode#ActionTimelineNode self (return value: ccs.ActionTimelineNode)
--------------------------------
--
-- @function [parent=#ActionTimelineNode] init
-- @param self
-- @param #cc.Node root
-- @param #ccs.ActionTimeline action
-- @return bool#bool ret (return value: bool)
--------------------------------
--
-- @function [parent=#ActionTimelineNode] setRoot
-- @param self
-- @param #cc.Node root
-- @return ActionTimelineNode#ActionTimelineNode self (return value: ccs.ActionTimelineNode)
--------------------------------
--
-- @function [parent=#ActionTimelineNode] create
-- @param self
-- @param #cc.Node root
-- @param #ccs.ActionTimeline action
-- @return ActionTimelineNode#ActionTimelineNode ret (return value: ccs.ActionTimelineNode)
--------------------------------
--
-- @function [parent=#ActionTimelineNode] init
-- @param self
-- @return bool#bool ret (return value: bool)
--------------------------------
--
-- @function [parent=#ActionTimelineNode] ActionTimelineNode
-- @param self
-- @return ActionTimelineNode#ActionTimelineNode self (return value: ccs.ActionTimelineNode)
return nil

View File

@ -0,0 +1,37 @@
--------------------------------
-- @module ActionTintFrame
-- @extend ActionFrame
-- @parent_module ccs
--------------------------------
-- Gets the tint action color.<br>
-- return the tint action color.
-- @function [parent=#ActionTintFrame] getColor
-- @param self
-- @return color3b_table#color3b_table ret (return value: color3b_table)
--------------------------------
-- Gets the ActionInterval of ActionFrame.<br>
-- parame duration the duration time of ActionFrame<br>
-- return ActionInterval
-- @function [parent=#ActionTintFrame] getAction
-- @param self
-- @param #float duration
-- @return ActionInterval#ActionInterval ret (return value: cc.ActionInterval)
--------------------------------
-- Changes the tint action color.<br>
-- param ccolor the tint action color
-- @function [parent=#ActionTintFrame] setColor
-- @param self
-- @param #color3b_table ccolor
-- @return ActionTintFrame#ActionTintFrame self (return value: ccs.ActionTintFrame)
--------------------------------
-- Default constructor
-- @function [parent=#ActionTintFrame] ActionTintFrame
-- @param self
-- @return ActionTintFrame#ActionTintFrame self (return value: ccs.ActionTintFrame)
return nil

View File

@ -0,0 +1,38 @@
--------------------------------
-- @module AlphaFrame
-- @extend Frame
-- @parent_module ccs
--------------------------------
--
-- @function [parent=#AlphaFrame] getAlpha
-- @param self
-- @return unsigned char#unsigned char ret (return value: unsigned char)
--------------------------------
--
-- @function [parent=#AlphaFrame] setAlpha
-- @param self
-- @param #unsigned char alpha
-- @return AlphaFrame#AlphaFrame self (return value: ccs.AlphaFrame)
--------------------------------
--
-- @function [parent=#AlphaFrame] create
-- @param self
-- @return AlphaFrame#AlphaFrame ret (return value: ccs.AlphaFrame)
--------------------------------
--
-- @function [parent=#AlphaFrame] clone
-- @param self
-- @return Frame#Frame ret (return value: ccs.Frame)
--------------------------------
--
-- @function [parent=#AlphaFrame] AlphaFrame
-- @param self
-- @return AlphaFrame#AlphaFrame self (return value: ccs.AlphaFrame)
return nil

View File

@ -0,0 +1,38 @@
--------------------------------
-- @module AnchorPointFrame
-- @extend Frame
-- @parent_module ccs
--------------------------------
--
-- @function [parent=#AnchorPointFrame] setAnchorPoint
-- @param self
-- @param #vec2_table point
-- @return AnchorPointFrame#AnchorPointFrame self (return value: ccs.AnchorPointFrame)
--------------------------------
--
-- @function [parent=#AnchorPointFrame] getAnchorPoint
-- @param self
-- @return vec2_table#vec2_table ret (return value: vec2_table)
--------------------------------
--
-- @function [parent=#AnchorPointFrame] create
-- @param self
-- @return AnchorPointFrame#AnchorPointFrame ret (return value: ccs.AnchorPointFrame)
--------------------------------
--
-- @function [parent=#AnchorPointFrame] clone
-- @param self
-- @return Frame#Frame ret (return value: ccs.Frame)
--------------------------------
--
-- @function [parent=#AnchorPointFrame] AnchorPointFrame
-- @param self
-- @return AnchorPointFrame#AnchorPointFrame self (return value: ccs.AnchorPointFrame)
return nil

View File

@ -0,0 +1,176 @@
--------------------------------
-- @module Animate3D
-- @extend ActionInterval
-- @parent_module cc
--------------------------------
--
-- @function [parent=#Animate3D] setKeyFrameUserInfo
-- @param self
-- @param #int keyFrame
-- @param #map_table userInfo
-- @return Animate3D#Animate3D self (return value: cc.Animate3D)
--------------------------------
-- get & set speed, negative speed means playing reverse
-- @function [parent=#Animate3D] getSpeed
-- @param self
-- @return float#float ret (return value: float)
--------------------------------
-- set animate quality
-- @function [parent=#Animate3D] setQuality
-- @param self
-- @param #int quality
-- @return Animate3D#Animate3D self (return value: cc.Animate3D)
--------------------------------
--
-- @function [parent=#Animate3D] setWeight
-- @param self
-- @param #float weight
-- @return Animate3D#Animate3D self (return value: cc.Animate3D)
--------------------------------
--
-- @function [parent=#Animate3D] removeFromMap
-- @param self
-- @return Animate3D#Animate3D self (return value: cc.Animate3D)
--------------------------------
--
-- @function [parent=#Animate3D] initWithFrames
-- @param self
-- @param #cc.Animation3D animation
-- @param #int startFrame
-- @param #int endFrame
-- @param #float frameRate
-- @return bool#bool ret (return value: bool)
--------------------------------
--
-- @function [parent=#Animate3D] getOriginInterval
-- @param self
-- @return float#float ret (return value: float)
--------------------------------
--
-- @function [parent=#Animate3D] setSpeed
-- @param self
-- @param #float speed
-- @return Animate3D#Animate3D self (return value: cc.Animate3D)
--------------------------------
-- @overload self, cc.Animation3D, float, float
-- @overload self, cc.Animation3D
-- @function [parent=#Animate3D] init
-- @param self
-- @param #cc.Animation3D animation
-- @param #float fromTime
-- @param #float duration
-- @return bool#bool ret (return value: bool)
--------------------------------
-- get & set origin interval
-- @function [parent=#Animate3D] setOriginInterval
-- @param self
-- @param #float interval
-- @return Animate3D#Animate3D self (return value: cc.Animate3D)
--------------------------------
-- get & set blend weight, weight must positive
-- @function [parent=#Animate3D] getWeight
-- @param self
-- @return float#float ret (return value: float)
--------------------------------
-- get animate quality
-- @function [parent=#Animate3D] getQuality
-- @param self
-- @return int#int ret (return value: int)
--------------------------------
-- @overload self, cc.Animation3D, float, float
-- @overload self, cc.Animation3D
-- @function [parent=#Animate3D] create
-- @param self
-- @param #cc.Animation3D animation
-- @param #float fromTime
-- @param #float duration
-- @return Animate3D#Animate3D ret (return value: cc.Animate3D)
--------------------------------
-- get animate transition time between 3d animations
-- @function [parent=#Animate3D] getTransitionTime
-- @param self
-- @return float#float ret (return value: float)
--------------------------------
-- create Animate3D by frame section, [startFrame, endFrame)<br>
-- param animation used to generate animate3D<br>
-- param startFrame<br>
-- param endFrame<br>
-- param frameRate default is 30 per second<br>
-- return Animate3D created using animate
-- @function [parent=#Animate3D] createWithFrames
-- @param self
-- @param #cc.Animation3D animation
-- @param #int startFrame
-- @param #int endFrame
-- @param #float frameRate
-- @return Animate3D#Animate3D ret (return value: cc.Animate3D)
--------------------------------
-- set animate transition time between 3d animations
-- @function [parent=#Animate3D] setTransitionTime
-- @param self
-- @param #float transTime
-- @return Animate3D#Animate3D self (return value: cc.Animate3D)
--------------------------------
--
-- @function [parent=#Animate3D] startWithTarget
-- @param self
-- @param #cc.Node target
-- @return Animate3D#Animate3D self (return value: cc.Animate3D)
--------------------------------
--
-- @function [parent=#Animate3D] reverse
-- @param self
-- @return Animate3D#Animate3D ret (return value: cc.Animate3D)
--------------------------------
--
-- @function [parent=#Animate3D] clone
-- @param self
-- @return Animate3D#Animate3D ret (return value: cc.Animate3D)
--------------------------------
--
-- @function [parent=#Animate3D] stop
-- @param self
-- @return Animate3D#Animate3D self (return value: cc.Animate3D)
--------------------------------
--
-- @function [parent=#Animate3D] update
-- @param self
-- @param #float t
-- @return Animate3D#Animate3D self (return value: cc.Animate3D)
--------------------------------
--
-- @function [parent=#Animate3D] step
-- @param self
-- @param #float dt
-- @return Animate3D#Animate3D self (return value: cc.Animate3D)
--------------------------------
--
-- @function [parent=#Animate3D] Animate3D
-- @param self
-- @return Animate3D#Animate3D self (return value: cc.Animate3D)
return nil

View File

@ -0,0 +1,42 @@
--------------------------------
-- @module Animation3D
-- @extend Ref
-- @parent_module cc
--------------------------------
-- init Animation3D with file name and animation name
-- @function [parent=#Animation3D] initWithFile
-- @param self
-- @param #string filename
-- @param #string animationName
-- @return bool#bool ret (return value: bool)
--------------------------------
-- init Animation3D from bundle data
-- @function [parent=#Animation3D] init
-- @param self
-- @param #cc.Animation3DData data
-- @return bool#bool ret (return value: bool)
--------------------------------
-- get duration
-- @function [parent=#Animation3D] getDuration
-- @param self
-- @return float#float ret (return value: float)
--------------------------------
-- read all animation or only the animation with given animationName? animationName == "" read the first.
-- @function [parent=#Animation3D] create
-- @param self
-- @param #string filename
-- @param #string animationName
-- @return Animation3D#Animation3D ret (return value: cc.Animation3D)
--------------------------------
--
-- @function [parent=#Animation3D] Animation3D
-- @param self
-- @return Animation3D#Animation3D self (return value: cc.Animation3D)
return nil

View File

@ -0,0 +1,39 @@
--------------------------------
-- @module AnimationData
-- @extend Ref
-- @parent_module ccs
--------------------------------
--
-- @function [parent=#AnimationData] getMovement
-- @param self
-- @param #string movementName
-- @return MovementData#MovementData ret (return value: ccs.MovementData)
--------------------------------
--
-- @function [parent=#AnimationData] getMovementCount
-- @param self
-- @return long#long ret (return value: long)
--------------------------------
--
-- @function [parent=#AnimationData] addMovement
-- @param self
-- @param #ccs.MovementData movData
-- @return AnimationData#AnimationData self (return value: ccs.AnimationData)
--------------------------------
--
-- @function [parent=#AnimationData] create
-- @param self
-- @return AnimationData#AnimationData ret (return value: ccs.AnimationData)
--------------------------------
-- js ctor
-- @function [parent=#AnimationData] AnimationData
-- @param self
-- @return AnimationData#AnimationData self (return value: ccs.AnimationData)
return nil

View File

@ -0,0 +1,230 @@
--------------------------------
-- @module Armature
-- @extend Node,BlendProtocol
-- @parent_module ccs
--------------------------------
-- Get a bone with the specified name<br>
-- param name The bone's name you want to get
-- @function [parent=#Armature] getBone
-- @param self
-- @param #string name
-- @return Bone#Bone ret (return value: ccs.Bone)
--------------------------------
-- Change a bone's parent with the specified parent name.<br>
-- param bone The bone you want to change parent<br>
-- param parentName The new parent's name.
-- @function [parent=#Armature] changeBoneParent
-- @param self
-- @param #ccs.Bone bone
-- @param #string parentName
-- @return Armature#Armature self (return value: ccs.Armature)
--------------------------------
--
-- @function [parent=#Armature] setAnimation
-- @param self
-- @param #ccs.ArmatureAnimation animation
-- @return Armature#Armature self (return value: ccs.Armature)
--------------------------------
--
-- @function [parent=#Armature] getBoneAtPoint
-- @param self
-- @param #float x
-- @param #float y
-- @return Bone#Bone ret (return value: ccs.Bone)
--------------------------------
--
-- @function [parent=#Armature] getArmatureTransformDirty
-- @param self
-- @return bool#bool ret (return value: bool)
--------------------------------
--
-- @function [parent=#Armature] setVersion
-- @param self
-- @param #float version
-- @return Armature#Armature self (return value: ccs.Armature)
--------------------------------
-- Set contentsize and Calculate anchor point.
-- @function [parent=#Armature] updateOffsetPoint
-- @param self
-- @return Armature#Armature self (return value: ccs.Armature)
--------------------------------
--
-- @function [parent=#Armature] getParentBone
-- @param self
-- @return Bone#Bone ret (return value: ccs.Bone)
--------------------------------
-- Remove a bone with the specified name. If recursion it will also remove child Bone recursionly.<br>
-- param bone The bone you want to remove<br>
-- param recursion Determine whether remove the bone's child recursion.
-- @function [parent=#Armature] removeBone
-- @param self
-- @param #ccs.Bone bone
-- @param #bool recursion
-- @return Armature#Armature self (return value: ccs.Armature)
--------------------------------
--
-- @function [parent=#Armature] getBatchNode
-- @param self
-- @return BatchNode#BatchNode ret (return value: ccs.BatchNode)
--------------------------------
-- @overload self, string, ccs.Bone
-- @overload self, string
-- @function [parent=#Armature] init
-- @param self
-- @param #string name
-- @param #ccs.Bone parentBone
-- @return bool#bool ret (return value: bool)
--------------------------------
--
-- @function [parent=#Armature] setParentBone
-- @param self
-- @param #ccs.Bone parentBone
-- @return Armature#Armature self (return value: ccs.Armature)
--------------------------------
--
-- @function [parent=#Armature] setBatchNode
-- @param self
-- @param #ccs.BatchNode batchNode
-- @return Armature#Armature self (return value: ccs.Armature)
--------------------------------
-- js NA<br>
-- lua NA
-- @function [parent=#Armature] getBlendFunc
-- @param self
-- @return BlendFunc#BlendFunc ret (return value: cc.BlendFunc)
--------------------------------
--
-- @function [parent=#Armature] setArmatureData
-- @param self
-- @param #ccs.ArmatureData armatureData
-- @return Armature#Armature self (return value: ccs.Armature)
--------------------------------
-- Add a Bone to this Armature,<br>
-- param bone The Bone you want to add to Armature<br>
-- param parentName The parent Bone's name you want to add to . If it's nullptr, then set Armature to its parent
-- @function [parent=#Armature] addBone
-- @param self
-- @param #ccs.Bone bone
-- @param #string parentName
-- @return Armature#Armature self (return value: ccs.Armature)
--------------------------------
--
-- @function [parent=#Armature] getArmatureData
-- @param self
-- @return ArmatureData#ArmatureData ret (return value: ccs.ArmatureData)
--------------------------------
--
-- @function [parent=#Armature] getVersion
-- @param self
-- @return float#float ret (return value: float)
--------------------------------
--
-- @function [parent=#Armature] getAnimation
-- @param self
-- @return ArmatureAnimation#ArmatureAnimation ret (return value: ccs.ArmatureAnimation)
--------------------------------
--
-- @function [parent=#Armature] getOffsetPoints
-- @param self
-- @return vec2_table#vec2_table ret (return value: vec2_table)
--------------------------------
-- js NA<br>
-- lua NA
-- @function [parent=#Armature] setBlendFunc
-- @param self
-- @param #cc.BlendFunc blendFunc
-- @return Armature#Armature self (return value: ccs.Armature)
--------------------------------
-- Get Armature's bone dictionary<br>
-- return Armature's bone dictionary
-- @function [parent=#Armature] getBoneDic
-- @param self
-- @return map_table#map_table ret (return value: map_table)
--------------------------------
-- @overload self, string
-- @overload self
-- @overload self, string, ccs.Bone
-- @function [parent=#Armature] create
-- @param self
-- @param #string name
-- @param #ccs.Bone parentBone
-- @return Armature#Armature ret (return value: ccs.Armature)
--------------------------------
--
-- @function [parent=#Armature] setAnchorPoint
-- @param self
-- @param #vec2_table point
-- @return Armature#Armature self (return value: ccs.Armature)
--------------------------------
--
-- @function [parent=#Armature] draw
-- @param self
-- @param #cc.Renderer renderer
-- @param #mat4_table transform
-- @param #unsigned int flags
-- @return Armature#Armature self (return value: ccs.Armature)
--------------------------------
--
-- @function [parent=#Armature] getAnchorPointInPoints
-- @param self
-- @return vec2_table#vec2_table ret (return value: vec2_table)
--------------------------------
--
-- @function [parent=#Armature] update
-- @param self
-- @param #float dt
-- @return Armature#Armature self (return value: ccs.Armature)
--------------------------------
-- Init the empty armature
-- @function [parent=#Armature] init
-- @param self
-- @return bool#bool ret (return value: bool)
--------------------------------
--
-- @function [parent=#Armature] getNodeToParentTransform
-- @param self
-- @return mat4_table#mat4_table ret (return value: mat4_table)
--------------------------------
-- This boundingBox will calculate all bones' boundingBox every time
-- @function [parent=#Armature] getBoundingBox
-- @param self
-- @return rect_table#rect_table ret (return value: rect_table)
--------------------------------
-- js ctor
-- @function [parent=#Armature] Armature
-- @param self
-- @return Armature#Armature self (return value: ccs.Armature)
return nil

View File

@ -0,0 +1,158 @@
--------------------------------
-- @module ArmatureAnimation
-- @extend ProcessBase
-- @parent_module ccs
--------------------------------
--
-- @function [parent=#ArmatureAnimation] getSpeedScale
-- @param self
-- @return float#float ret (return value: float)
--------------------------------
-- Play animation by animation name.<br>
-- param animationName The animation name you want to play<br>
-- param durationTo The frames between two animation changing-over.<br>
-- It's meaning is changing to this animation need how many frames<br>
-- -1 : use the value from MovementData get from flash design panel<br>
-- param loop Whether the animation is loop<br>
-- loop < 0 : use the value from MovementData get from flash design panel<br>
-- loop = 0 : this animation is not loop<br>
-- loop > 0 : this animation is loop
-- @function [parent=#ArmatureAnimation] play
-- @param self
-- @param #string animationName
-- @param #int durationTo
-- @param #int loop
-- @return ArmatureAnimation#ArmatureAnimation self (return value: ccs.ArmatureAnimation)
--------------------------------
-- Go to specified frame and pause current movement.
-- @function [parent=#ArmatureAnimation] gotoAndPause
-- @param self
-- @param #int frameIndex
-- @return ArmatureAnimation#ArmatureAnimation self (return value: ccs.ArmatureAnimation)
--------------------------------
--
-- @function [parent=#ArmatureAnimation] playWithIndexes
-- @param self
-- @param #array_table movementIndexes
-- @param #int durationTo
-- @param #bool loop
-- @return ArmatureAnimation#ArmatureAnimation self (return value: ccs.ArmatureAnimation)
--------------------------------
--
-- @function [parent=#ArmatureAnimation] setAnimationData
-- @param self
-- @param #ccs.AnimationData data
-- @return ArmatureAnimation#ArmatureAnimation self (return value: ccs.ArmatureAnimation)
--------------------------------
-- Scale animation play speed.<br>
-- param animationScale Scale value
-- @function [parent=#ArmatureAnimation] setSpeedScale
-- @param self
-- @param #float speedScale
-- @return ArmatureAnimation#ArmatureAnimation self (return value: ccs.ArmatureAnimation)
--------------------------------
--
-- @function [parent=#ArmatureAnimation] getAnimationData
-- @param self
-- @return AnimationData#AnimationData ret (return value: ccs.AnimationData)
--------------------------------
-- Go to specified frame and play current movement.<br>
-- You need first switch to the movement you want to play, then call this function.<br>
-- example : playByIndex(0);<br>
-- gotoAndPlay(0);<br>
-- playByIndex(1);<br>
-- gotoAndPlay(0);<br>
-- gotoAndPlay(15);
-- @function [parent=#ArmatureAnimation] gotoAndPlay
-- @param self
-- @param #int frameIndex
-- @return ArmatureAnimation#ArmatureAnimation self (return value: ccs.ArmatureAnimation)
--------------------------------
-- Init with a Armature<br>
-- param armature The Armature ArmatureAnimation will bind to
-- @function [parent=#ArmatureAnimation] init
-- @param self
-- @param #ccs.Armature armature
-- @return bool#bool ret (return value: bool)
--------------------------------
--
-- @function [parent=#ArmatureAnimation] playWithNames
-- @param self
-- @param #array_table movementNames
-- @param #int durationTo
-- @param #bool loop
-- @return ArmatureAnimation#ArmatureAnimation self (return value: ccs.ArmatureAnimation)
--------------------------------
-- Get movement count
-- @function [parent=#ArmatureAnimation] getMovementCount
-- @param self
-- @return long#long ret (return value: long)
--------------------------------
--
-- @function [parent=#ArmatureAnimation] playWithIndex
-- @param self
-- @param #int animationIndex
-- @param #int durationTo
-- @param #int loop
-- @return ArmatureAnimation#ArmatureAnimation self (return value: ccs.ArmatureAnimation)
--------------------------------
-- Get current movementID<br>
-- return The name of current movement
-- @function [parent=#ArmatureAnimation] getCurrentMovementID
-- @param self
-- @return string#string ret (return value: string)
--------------------------------
-- Create with a Armature<br>
-- param armature The Armature ArmatureAnimation will bind to
-- @function [parent=#ArmatureAnimation] create
-- @param self
-- @param #ccs.Armature armature
-- @return ArmatureAnimation#ArmatureAnimation ret (return value: ccs.ArmatureAnimation)
--------------------------------
-- Pause the Process
-- @function [parent=#ArmatureAnimation] pause
-- @param self
-- @return ArmatureAnimation#ArmatureAnimation self (return value: ccs.ArmatureAnimation)
--------------------------------
-- Stop the Process
-- @function [parent=#ArmatureAnimation] stop
-- @param self
-- @return ArmatureAnimation#ArmatureAnimation self (return value: ccs.ArmatureAnimation)
--------------------------------
--
-- @function [parent=#ArmatureAnimation] update
-- @param self
-- @param #float dt
-- @return ArmatureAnimation#ArmatureAnimation self (return value: ccs.ArmatureAnimation)
--------------------------------
-- Resume the Process
-- @function [parent=#ArmatureAnimation] resume
-- @param self
-- @return ArmatureAnimation#ArmatureAnimation self (return value: ccs.ArmatureAnimation)
--------------------------------
-- js ctor
-- @function [parent=#ArmatureAnimation] ArmatureAnimation
-- @param self
-- @return ArmatureAnimation#ArmatureAnimation self (return value: ccs.ArmatureAnimation)
return nil

View File

@ -0,0 +1,39 @@
--------------------------------
-- @module ArmatureData
-- @extend Ref
-- @parent_module ccs
--------------------------------
--
-- @function [parent=#ArmatureData] addBoneData
-- @param self
-- @param #ccs.BoneData boneData
-- @return ArmatureData#ArmatureData self (return value: ccs.ArmatureData)
--------------------------------
--
-- @function [parent=#ArmatureData] init
-- @param self
-- @return bool#bool ret (return value: bool)
--------------------------------
--
-- @function [parent=#ArmatureData] getBoneData
-- @param self
-- @param #string boneName
-- @return BoneData#BoneData ret (return value: ccs.BoneData)
--------------------------------
--
-- @function [parent=#ArmatureData] create
-- @param self
-- @return ArmatureData#ArmatureData ret (return value: ccs.ArmatureData)
--------------------------------
-- js ctor
-- @function [parent=#ArmatureData] ArmatureData
-- @param self
-- @return ArmatureData#ArmatureData self (return value: ccs.ArmatureData)
return nil

View File

@ -0,0 +1,159 @@
--------------------------------
-- @module ArmatureDataManager
-- @extend Ref
-- @parent_module ccs
--------------------------------
--
-- @function [parent=#ArmatureDataManager] getAnimationDatas
-- @param self
-- @return map_table#map_table ret (return value: map_table)
--------------------------------
-- brief remove animation data<br>
-- param id the id of the animation data
-- @function [parent=#ArmatureDataManager] removeAnimationData
-- @param self
-- @param #string id
-- @return ArmatureDataManager#ArmatureDataManager self (return value: ccs.ArmatureDataManager)
--------------------------------
-- Add armature data<br>
-- param id The id of the armature data<br>
-- param armatureData ArmatureData *
-- @function [parent=#ArmatureDataManager] addArmatureData
-- @param self
-- @param #string id
-- @param #ccs.ArmatureData armatureData
-- @param #string configFilePath
-- @return ArmatureDataManager#ArmatureDataManager self (return value: ccs.ArmatureDataManager)
--------------------------------
-- @overload self, string, string, string
-- @overload self, string
-- @function [parent=#ArmatureDataManager] addArmatureFileInfo
-- @param self
-- @param #string imagePath
-- @param #string plistPath
-- @param #string configFilePath
-- @return ArmatureDataManager#ArmatureDataManager self (return value: ccs.ArmatureDataManager)
--------------------------------
--
-- @function [parent=#ArmatureDataManager] removeArmatureFileInfo
-- @param self
-- @param #string configFilePath
-- @return ArmatureDataManager#ArmatureDataManager self (return value: ccs.ArmatureDataManager)
--------------------------------
--
-- @function [parent=#ArmatureDataManager] getTextureDatas
-- @param self
-- @return map_table#map_table ret (return value: map_table)
--------------------------------
-- brief get texture data<br>
-- param id the id of the texture data you want to get<br>
-- return TextureData *
-- @function [parent=#ArmatureDataManager] getTextureData
-- @param self
-- @param #string id
-- @return TextureData#TextureData ret (return value: ccs.TextureData)
--------------------------------
-- brief get armature data<br>
-- param id the id of the armature data you want to get<br>
-- return ArmatureData *
-- @function [parent=#ArmatureDataManager] getArmatureData
-- @param self
-- @param #string id
-- @return ArmatureData#ArmatureData ret (return value: ccs.ArmatureData)
--------------------------------
-- brief get animation data from _animationDatas(Dictionary)<br>
-- param id the id of the animation data you want to get<br>
-- return AnimationData *
-- @function [parent=#ArmatureDataManager] getAnimationData
-- @param self
-- @param #string id
-- @return AnimationData#AnimationData ret (return value: ccs.AnimationData)
--------------------------------
-- brief add animation data<br>
-- param id the id of the animation data<br>
-- return AnimationData *
-- @function [parent=#ArmatureDataManager] addAnimationData
-- @param self
-- @param #string id
-- @param #ccs.AnimationData animationData
-- @param #string configFilePath
-- @return ArmatureDataManager#ArmatureDataManager self (return value: ccs.ArmatureDataManager)
--------------------------------
-- Init ArmatureDataManager
-- @function [parent=#ArmatureDataManager] init
-- @param self
-- @return bool#bool ret (return value: bool)
--------------------------------
-- brief remove armature data<br>
-- param id the id of the armature data you want to get
-- @function [parent=#ArmatureDataManager] removeArmatureData
-- @param self
-- @param #string id
-- @return ArmatureDataManager#ArmatureDataManager self (return value: ccs.ArmatureDataManager)
--------------------------------
--
-- @function [parent=#ArmatureDataManager] getArmatureDatas
-- @param self
-- @return map_table#map_table ret (return value: map_table)
--------------------------------
-- brief remove texture data<br>
-- param id the id of the texture data you want to get
-- @function [parent=#ArmatureDataManager] removeTextureData
-- @param self
-- @param #string id
-- @return ArmatureDataManager#ArmatureDataManager self (return value: ccs.ArmatureDataManager)
--------------------------------
-- brief add texture data<br>
-- param id the id of the texture data<br>
-- return TextureData *
-- @function [parent=#ArmatureDataManager] addTextureData
-- @param self
-- @param #string id
-- @param #ccs.TextureData textureData
-- @param #string configFilePath
-- @return ArmatureDataManager#ArmatureDataManager self (return value: ccs.ArmatureDataManager)
--------------------------------
-- brief Judge whether or not need auto load sprite file
-- @function [parent=#ArmatureDataManager] isAutoLoadSpriteFile
-- @param self
-- @return bool#bool ret (return value: bool)
--------------------------------
-- brief Add sprite frame to CCSpriteFrameCache, it will save display name and it's relative image name
-- @function [parent=#ArmatureDataManager] addSpriteFrameFromFile
-- @param self
-- @param #string plistPath
-- @param #string imagePath
-- @param #string configFilePath
-- @return ArmatureDataManager#ArmatureDataManager self (return value: ccs.ArmatureDataManager)
--------------------------------
--
-- @function [parent=#ArmatureDataManager] destroyInstance
-- @param self
-- @return ArmatureDataManager#ArmatureDataManager self (return value: ccs.ArmatureDataManager)
--------------------------------
--
-- @function [parent=#ArmatureDataManager] getInstance
-- @param self
-- @return ArmatureDataManager#ArmatureDataManager ret (return value: ccs.ArmatureDataManager)
return nil

View File

@ -0,0 +1,19 @@
--------------------------------
-- @module ArmatureDisplayData
-- @extend DisplayData
-- @parent_module ccs
--------------------------------
--
-- @function [parent=#ArmatureDisplayData] create
-- @param self
-- @return ArmatureDisplayData#ArmatureDisplayData ret (return value: ccs.ArmatureDisplayData)
--------------------------------
-- js ctor
-- @function [parent=#ArmatureDisplayData] ArmatureDisplayData
-- @param self
-- @return ArmatureDisplayData#ArmatureDisplayData self (return value: ccs.ArmatureDisplayData)
return nil

View File

@ -0,0 +1,101 @@
--------------------------------
-- @module AssetsManager
-- @extend Node
-- @parent_module cc
--------------------------------
--
-- @function [parent=#AssetsManager] setStoragePath
-- @param self
-- @param #char storagePath
-- @return AssetsManager#AssetsManager self (return value: cc.AssetsManager)
--------------------------------
--
-- @function [parent=#AssetsManager] setPackageUrl
-- @param self
-- @param #char packageUrl
-- @return AssetsManager#AssetsManager self (return value: cc.AssetsManager)
--------------------------------
--
-- @function [parent=#AssetsManager] checkUpdate
-- @param self
-- @return bool#bool ret (return value: bool)
--------------------------------
--
-- @function [parent=#AssetsManager] getStoragePath
-- @param self
-- @return char#char ret (return value: char)
--------------------------------
--
-- @function [parent=#AssetsManager] update
-- @param self
-- @return AssetsManager#AssetsManager self (return value: cc.AssetsManager)
--------------------------------
-- @brief Sets connection time out in seconds
-- @function [parent=#AssetsManager] setConnectionTimeout
-- @param self
-- @param #unsigned int timeout
-- @return AssetsManager#AssetsManager self (return value: cc.AssetsManager)
--------------------------------
--
-- @function [parent=#AssetsManager] setVersionFileUrl
-- @param self
-- @param #char versionFileUrl
-- @return AssetsManager#AssetsManager self (return value: cc.AssetsManager)
--------------------------------
--
-- @function [parent=#AssetsManager] getPackageUrl
-- @param self
-- @return char#char ret (return value: char)
--------------------------------
-- @brief Gets connection time out in secondes
-- @function [parent=#AssetsManager] getConnectionTimeout
-- @param self
-- @return unsigned int#unsigned int ret (return value: unsigned int)
--------------------------------
--
-- @function [parent=#AssetsManager] getVersion
-- @param self
-- @return string#string ret (return value: string)
--------------------------------
--
-- @function [parent=#AssetsManager] getVersionFileUrl
-- @param self
-- @return char#char ret (return value: char)
--------------------------------
--
-- @function [parent=#AssetsManager] deleteVersion
-- @param self
-- @return AssetsManager#AssetsManager self (return value: cc.AssetsManager)
--------------------------------
--
-- @function [parent=#AssetsManager] create
-- @param self
-- @param #char packageUrl
-- @param #char versionFileUrl
-- @param #char storagePath
-- @param #function errorCallback
-- @param #function progressCallback
-- @param #function successCallback
-- @return AssetsManager#AssetsManager ret (return value: cc.AssetsManager)
--------------------------------
--
-- @function [parent=#AssetsManager] AssetsManager
-- @param self
-- @return AssetsManager#AssetsManager self (return value: cc.AssetsManager)
return nil

View File

@ -0,0 +1,71 @@
--------------------------------
-- @module AssetsManagerEx
-- @extend Ref
-- @parent_module cc
--------------------------------
-- @brief Gets the current update state.
-- @function [parent=#AssetsManagerEx] getState
-- @param self
-- @return int#int ret (return value: int)
--------------------------------
-- @brief Check out if there is a new version of manifest.<br>
-- You may use this method before updating, then let user determine whether<br>
-- he wants to update resources.
-- @function [parent=#AssetsManagerEx] checkUpdate
-- @param self
-- @return AssetsManagerEx#AssetsManagerEx self (return value: cc.AssetsManagerEx)
--------------------------------
-- @brief Gets storage path.
-- @function [parent=#AssetsManagerEx] getStoragePath
-- @param self
-- @return string#string ret (return value: string)
--------------------------------
-- @brief Update with the current local manifest.
-- @function [parent=#AssetsManagerEx] update
-- @param self
-- @return AssetsManagerEx#AssetsManagerEx self (return value: cc.AssetsManagerEx)
--------------------------------
-- @brief Function for retrieve the local manifest object
-- @function [parent=#AssetsManagerEx] getLocalManifest
-- @param self
-- @return Manifest#Manifest ret (return value: cc.Manifest)
--------------------------------
-- @brief Function for retrieve the remote manifest object
-- @function [parent=#AssetsManagerEx] getRemoteManifest
-- @param self
-- @return Manifest#Manifest ret (return value: cc.Manifest)
--------------------------------
-- @brief Reupdate all failed assets under the current AssetsManagerEx context
-- @function [parent=#AssetsManagerEx] downloadFailedAssets
-- @param self
-- @return AssetsManagerEx#AssetsManagerEx self (return value: cc.AssetsManagerEx)
--------------------------------
-- @brief Create function for creating a new AssetsManagerEx<br>
-- param manifestUrl The url for the local manifest file<br>
-- param storagePath The storage path for downloaded assetes<br>
-- warning The cached manifest in your storage path have higher priority and will be searched first,<br>
-- only if it doesn't exist, AssetsManagerEx will use the given manifestUrl.
-- @function [parent=#AssetsManagerEx] create
-- @param self
-- @param #string manifestUrl
-- @param #string storagePath
-- @return AssetsManagerEx#AssetsManagerEx ret (return value: cc.AssetsManagerEx)
--------------------------------
--
-- @function [parent=#AssetsManagerEx] AssetsManagerEx
-- @param self
-- @param #string manifestUrl
-- @param #string storagePath
-- @return AssetsManagerEx#AssetsManagerEx self (return value: cc.AssetsManagerEx)
return nil

View File

@ -0,0 +1,48 @@
--------------------------------
-- @module AttachNode
-- @extend Node
-- @parent_module cc
--------------------------------
-- creates an AttachNode<br>
-- param attachBone The bone to which the AttachNode is going to attach, the attacheBone must be a bone of the AttachNode's parent
-- @function [parent=#AttachNode] create
-- @param self
-- @param #cc.Bone3D attachBone
-- @return AttachNode#AttachNode ret (return value: cc.AttachNode)
--------------------------------
--
-- @function [parent=#AttachNode] visit
-- @param self
-- @param #cc.Renderer renderer
-- @param #mat4_table parentTransform
-- @param #unsigned int parentFlags
-- @return AttachNode#AttachNode self (return value: cc.AttachNode)
--------------------------------
--
-- @function [parent=#AttachNode] getWorldToNodeTransform
-- @param self
-- @return mat4_table#mat4_table ret (return value: mat4_table)
--------------------------------
--
-- @function [parent=#AttachNode] getNodeToWorldTransform
-- @param self
-- @return mat4_table#mat4_table ret (return value: mat4_table)
--------------------------------
--
-- @function [parent=#AttachNode] getNodeToParentTransform
-- @param self
-- @return mat4_table#mat4_table ret (return value: mat4_table)
--------------------------------
--
-- @function [parent=#AttachNode] AttachNode
-- @param self
-- @return AttachNode#AttachNode self (return value: cc.AttachNode)
return nil

View File

@ -0,0 +1,208 @@
--------------------------------
-- @module AudioEngine
-- @parent_module ccexp
--------------------------------
--
-- @function [parent=#AudioEngine] lazyInit
-- @param self
-- @return bool#bool ret (return value: bool)
--------------------------------
-- Sets the current playback position of an audio instance.<br>
-- param audioID An audioID returned by the play2d function.<br>
-- param sec The offset in seconds from the start to seek to.<br>
-- return
-- @function [parent=#AudioEngine] setCurrentTime
-- @param self
-- @param #int audioID
-- @param #float sec
-- @return bool#bool ret (return value: bool)
--------------------------------
-- Gets the volume value of an audio instance.<br>
-- param audioID An audioID returned by the play2d function.<br>
-- return Volume value (range from 0.0 to 1.0).
-- @function [parent=#AudioEngine] getVolume
-- @param self
-- @param #int audioID
-- @return float#float ret (return value: float)
--------------------------------
-- Uncache the audio data from internal buffer.<br>
-- AudioEngine cache audio data on ios,mac, and win32 platform.<br>
-- warning This can lead to stop related audio first.<br>
-- param filePath Audio file path.
-- @function [parent=#AudioEngine] uncache
-- @param self
-- @param #string filePath
-- @return experimental::AudioEngine#experimental::AudioEngine self (return value: cc.experimental::AudioEngine)
--------------------------------
-- Resume all suspended audio instances.
-- @function [parent=#AudioEngine] resumeAll
-- @param self
-- @return experimental::AudioEngine#experimental::AudioEngine self (return value: cc.experimental::AudioEngine)
--------------------------------
-- Stop all audio instances.
-- @function [parent=#AudioEngine] stopAll
-- @param self
-- @return experimental::AudioEngine#experimental::AudioEngine self (return value: cc.experimental::AudioEngine)
--------------------------------
-- Pause an audio instance.<br>
-- param audioID An audioID returned by the play2d function.
-- @function [parent=#AudioEngine] pause
-- @param self
-- @param #int audioID
-- @return experimental::AudioEngine#experimental::AudioEngine self (return value: cc.experimental::AudioEngine)
--------------------------------
-- Release objects relating to AudioEngine.<br>
-- warning It must be called before the application exit.
-- @function [parent=#AudioEngine] end
-- @param self
-- @return experimental::AudioEngine#experimental::AudioEngine self (return value: cc.experimental::AudioEngine)
--------------------------------
-- Gets the maximum number of simultaneous audio instance of AudioEngine.
-- @function [parent=#AudioEngine] getMaxAudioInstance
-- @param self
-- @return int#int ret (return value: int)
--------------------------------
-- Gets the current playback position of an audio instance.<br>
-- param audioID An audioID returned by the play2d function.<br>
-- return The current playback position of an audio instance.
-- @function [parent=#AudioEngine] getCurrentTime
-- @param self
-- @param #int audioID
-- @return float#float ret (return value: float)
--------------------------------
-- Sets the maximum number of simultaneous audio instance for AudioEngine.<br>
-- param maxInstances The maximum number of simultaneous audio instance.
-- @function [parent=#AudioEngine] setMaxAudioInstance
-- @param self
-- @param #int maxInstances
-- @return bool#bool ret (return value: bool)
--------------------------------
-- Checks whether an audio instance is loop.<br>
-- param audioID An audioID returned by the play2d function.<br>
-- return Whether or not an audio instance is loop.
-- @function [parent=#AudioEngine] isLoop
-- @param self
-- @param #int audioID
-- @return bool#bool ret (return value: bool)
--------------------------------
-- Pause all playing audio instances.
-- @function [parent=#AudioEngine] pauseAll
-- @param self
-- @return experimental::AudioEngine#experimental::AudioEngine self (return value: cc.experimental::AudioEngine)
--------------------------------
-- Uncache all audio data from internal buffer.<br>
-- warning All audio will be stopped first.
-- @function [parent=#AudioEngine] uncacheAll
-- @param self
-- @return experimental::AudioEngine#experimental::AudioEngine self (return value: cc.experimental::AudioEngine)
--------------------------------
-- Sets volume for an audio instance.<br>
-- param audioID An audioID returned by the play2d function.<br>
-- param volume Volume value (range from 0.0 to 1.0).
-- @function [parent=#AudioEngine] setVolume
-- @param self
-- @param #int audioID
-- @param #float volume
-- @return experimental::AudioEngine#experimental::AudioEngine self (return value: cc.experimental::AudioEngine)
--------------------------------
-- @overload self, string, function
-- @overload self, string
-- @function [parent=#AudioEngine] preload
-- @param self
-- @param #string filePath
-- @param #function callback
-- @return experimental::AudioEngine#experimental::AudioEngine self (return value: cc.experimental::AudioEngine)
--------------------------------
-- Play 2d sound.<br>
-- param filePath The path of an audio file.<br>
-- param loop Whether audio instance loop or not.<br>
-- param volume Volume value (range from 0.0 to 1.0).<br>
-- param profile A profile for audio instance. When profile is not specified, default profile will be used.<br>
-- return An audio ID. It allows you to dynamically change the behavior of an audio instance on the fly.<br>
-- see `AudioProfile`
-- @function [parent=#AudioEngine] play2d
-- @param self
-- @param #string filePath
-- @param #bool loop
-- @param #float volume
-- @param #cc.experimental::AudioProfile profile
-- @return int#int ret (return value: int)
--------------------------------
-- Returns the state of an audio instance.<br>
-- param audioID An audioID returned by the play2d function.<br>
-- return The status of an audio instance.
-- @function [parent=#AudioEngine] getState
-- @param self
-- @param #int audioID
-- @return int#int ret (return value: int)
--------------------------------
-- Resume an audio instance.<br>
-- param audioID An audioID returned by the play2d function.
-- @function [parent=#AudioEngine] resume
-- @param self
-- @param #int audioID
-- @return experimental::AudioEngine#experimental::AudioEngine self (return value: cc.experimental::AudioEngine)
--------------------------------
-- Stop an audio instance.<br>
-- param audioID An audioID returned by the play2d function.
-- @function [parent=#AudioEngine] stop
-- @param self
-- @param #int audioID
-- @return experimental::AudioEngine#experimental::AudioEngine self (return value: cc.experimental::AudioEngine)
--------------------------------
-- Gets the duration of an audio instance.<br>
-- param audioID An audioID returned by the play2d function.<br>
-- return The duration of an audio instance.
-- @function [parent=#AudioEngine] getDuration
-- @param self
-- @param #int audioID
-- @return float#float ret (return value: float)
--------------------------------
-- Sets whether an audio instance loop or not.<br>
-- param audioID An audioID returned by the play2d function.<br>
-- param loop Whether audio instance loop or not.
-- @function [parent=#AudioEngine] setLoop
-- @param self
-- @param #int audioID
-- @param #bool loop
-- @return experimental::AudioEngine#experimental::AudioEngine self (return value: cc.experimental::AudioEngine)
--------------------------------
-- Gets the default profile of audio instances.<br>
-- return The default profile of audio instances.
-- @function [parent=#AudioEngine] getDefaultProfile
-- @param self
-- @return experimental::AudioProfile#experimental::AudioProfile ret (return value: cc.experimental::AudioProfile)
--------------------------------
-- @overload self, string
-- @overload self, int
-- @function [parent=#AudioEngine] getProfile
-- @param self
-- @param #int audioID
-- @return experimental::AudioProfile#experimental::AudioProfile ret (return value: cc.experimental::AudioProfile)
return nil

View File

@ -0,0 +1,13 @@
--------------------------------
-- @module AudioProfile
-- @parent_module ccexp
--------------------------------
-- Default constructor<br>
-- lua new
-- @function [parent=#AudioProfile] AudioProfile
-- @param self
-- @return experimental::AudioProfile#experimental::AudioProfile self (return value: cc.experimental::AudioProfile)
return nil

View File

@ -0,0 +1,32 @@
--------------------------------
-- @module BaseData
-- @extend Ref
-- @parent_module ccs
--------------------------------
--
-- @function [parent=#BaseData] getColor
-- @param self
-- @return color4b_table#color4b_table ret (return value: color4b_table)
--------------------------------
--
-- @function [parent=#BaseData] setColor
-- @param self
-- @param #color4b_table color
-- @return BaseData#BaseData self (return value: ccs.BaseData)
--------------------------------
--
-- @function [parent=#BaseData] create
-- @param self
-- @return BaseData#BaseData ret (return value: ccs.BaseData)
--------------------------------
-- js ctor
-- @function [parent=#BaseData] BaseData
-- @param self
-- @return BaseData#BaseData self (return value: ccs.BaseData)
return nil

View File

@ -0,0 +1,46 @@
--------------------------------
-- @module BatchNode
-- @extend Node
-- @parent_module ccs
--------------------------------
--
-- @function [parent=#BatchNode] create
-- @param self
-- @return BatchNode#BatchNode ret (return value: ccs.BatchNode)
--------------------------------
-- @overload self, cc.Node, int, string
-- @overload self, cc.Node, int, int
-- @function [parent=#BatchNode] addChild
-- @param self
-- @param #cc.Node pChild
-- @param #int zOrder
-- @param #int tag
-- @return BatchNode#BatchNode self (return value: ccs.BatchNode)
--------------------------------
-- js NA
-- @function [parent=#BatchNode] init
-- @param self
-- @return bool#bool ret (return value: bool)
--------------------------------
--
-- @function [parent=#BatchNode] draw
-- @param self
-- @param #cc.Renderer renderer
-- @param #mat4_table transform
-- @param #unsigned int flags
-- @return BatchNode#BatchNode self (return value: ccs.BatchNode)
--------------------------------
--
-- @function [parent=#BatchNode] removeChild
-- @param self
-- @param #cc.Node child
-- @param #bool cleanup
-- @return BatchNode#BatchNode self (return value: ccs.BatchNode)
return nil

View File

@ -0,0 +1,57 @@
--------------------------------
-- @module BillBoard
-- @extend Sprite
-- @parent_module cc
--------------------------------
-- Get the billboard rotation mode.
-- @function [parent=#BillBoard] getMode
-- @param self
-- @return int#int ret (return value: int)
--------------------------------
-- Set the billboard rotation mode.
-- @function [parent=#BillBoard] setMode
-- @param self
-- @param #int mode
-- @return BillBoard#BillBoard self (return value: cc.BillBoard)
--------------------------------
-- @overload self, string, int
-- @overload self, int
-- @overload self, string, rect_table, int
-- @function [parent=#BillBoard] create
-- @param self
-- @param #string filename
-- @param #rect_table rect
-- @param #int mode
-- @return BillBoard#BillBoard ret (return value: cc.BillBoard)
--------------------------------
-- Creates a BillBoard with a Texture2D object.<br>
-- After creation, the rect will be the size of the texture, and the offset will be (0,0).<br>
-- param texture A pointer to a Texture2D object.<br>
-- return An autoreleased BillBoard object
-- @function [parent=#BillBoard] createWithTexture
-- @param self
-- @param #cc.Texture2D texture
-- @param #int mode
-- @return BillBoard#BillBoard ret (return value: cc.BillBoard)
--------------------------------
-- update billboard's transform and turn it towards camera
-- @function [parent=#BillBoard] visit
-- @param self
-- @param #cc.Renderer renderer
-- @param #mat4_table parentTransform
-- @param #unsigned int parentFlags
-- @return BillBoard#BillBoard self (return value: cc.BillBoard)
--------------------------------
--
-- @function [parent=#BillBoard] BillBoard
-- @param self
-- @return BillBoard#BillBoard self (return value: cc.BillBoard)
return nil

View File

@ -0,0 +1,38 @@
--------------------------------
-- @module BlendFuncFrame
-- @extend Frame
-- @parent_module ccs
--------------------------------
--
-- @function [parent=#BlendFuncFrame] getBlendFunc
-- @param self
-- @return BlendFunc#BlendFunc ret (return value: cc.BlendFunc)
--------------------------------
--
-- @function [parent=#BlendFuncFrame] setBlendFunc
-- @param self
-- @param #cc.BlendFunc blendFunc
-- @return BlendFuncFrame#BlendFuncFrame self (return value: ccs.BlendFuncFrame)
--------------------------------
--
-- @function [parent=#BlendFuncFrame] create
-- @param self
-- @return BlendFuncFrame#BlendFuncFrame ret (return value: ccs.BlendFuncFrame)
--------------------------------
--
-- @function [parent=#BlendFuncFrame] clone
-- @param self
-- @return Frame#Frame ret (return value: ccs.Frame)
--------------------------------
--
-- @function [parent=#BlendFuncFrame] BlendFuncFrame
-- @param self
-- @return BlendFuncFrame#BlendFuncFrame self (return value: ccs.BlendFuncFrame)
return nil

View File

@ -0,0 +1,288 @@
--------------------------------
-- @module Bone
-- @extend Node
-- @parent_module ccs
--------------------------------
--
-- @function [parent=#Bone] isTransformDirty
-- @param self
-- @return bool#bool ret (return value: bool)
--------------------------------
--
-- @function [parent=#Bone] setBlendFunc
-- @param self
-- @param #cc.BlendFunc blendFunc
-- @return Bone#Bone self (return value: ccs.Bone)
--------------------------------
--
-- @function [parent=#Bone] isIgnoreMovementBoneData
-- @param self
-- @return bool#bool ret (return value: bool)
--------------------------------
-- Update zorder
-- @function [parent=#Bone] updateZOrder
-- @param self
-- @return Bone#Bone self (return value: ccs.Bone)
--------------------------------
--
-- @function [parent=#Bone] getDisplayRenderNode
-- @param self
-- @return Node#Node ret (return value: cc.Node)
--------------------------------
--
-- @function [parent=#Bone] isBlendDirty
-- @param self
-- @return bool#bool ret (return value: bool)
--------------------------------
-- Add a child to this bone, and it will let this child call setParent(Bone *parent) function to set self to it's parent<br>
-- param child the child you want to add
-- @function [parent=#Bone] addChildBone
-- @param self
-- @param #ccs.Bone child
-- @return Bone#Bone self (return value: ccs.Bone)
--------------------------------
--
-- @function [parent=#Bone] getWorldInfo
-- @param self
-- @return BaseData#BaseData ret (return value: ccs.BaseData)
--------------------------------
--
-- @function [parent=#Bone] getTween
-- @param self
-- @return Tween#Tween ret (return value: ccs.Tween)
--------------------------------
-- Get parent bone<br>
-- return parent bone
-- @function [parent=#Bone] getParentBone
-- @param self
-- @return Bone#Bone ret (return value: ccs.Bone)
--------------------------------
-- Update color to render display
-- @function [parent=#Bone] updateColor
-- @param self
-- @return Bone#Bone self (return value: ccs.Bone)
--------------------------------
--
-- @function [parent=#Bone] setTransformDirty
-- @param self
-- @param #bool dirty
-- @return Bone#Bone self (return value: ccs.Bone)
--------------------------------
--
-- @function [parent=#Bone] getDisplayRenderNodeType
-- @param self
-- @return int#int ret (return value: int)
--------------------------------
--
-- @function [parent=#Bone] removeDisplay
-- @param self
-- @param #int index
-- @return Bone#Bone self (return value: ccs.Bone)
--------------------------------
--
-- @function [parent=#Bone] setBoneData
-- @param self
-- @param #ccs.BoneData boneData
-- @return Bone#Bone self (return value: ccs.Bone)
--------------------------------
-- Initializes a Bone with the specified name<br>
-- param name Bone's name.
-- @function [parent=#Bone] init
-- @param self
-- @param #string name
-- @return bool#bool ret (return value: bool)
--------------------------------
-- Set parent bone.<br>
-- If parent is NUll, then also remove this bone from armature.<br>
-- It will not set the Armature, if you want to add the bone to a Armature, you should use Armature::addBone(Bone *bone, const char* parentName).<br>
-- param parent the parent bone.<br>
-- nullptr : remove this bone from armature
-- @function [parent=#Bone] setParentBone
-- @param self
-- @param #ccs.Bone parent
-- @return Bone#Bone self (return value: ccs.Bone)
--------------------------------
-- @overload self, cc.Node, int
-- @overload self, ccs.DisplayData, int
-- @function [parent=#Bone] addDisplay
-- @param self
-- @param #ccs.DisplayData displayData
-- @param #int index
-- @return Bone#Bone self (return value: ccs.Bone)
--------------------------------
--
-- @function [parent=#Bone] getBlendFunc
-- @param self
-- @return BlendFunc#BlendFunc ret (return value: cc.BlendFunc)
--------------------------------
-- Remove itself from its parent.<br>
-- param recursion whether or not to remove childBone's display
-- @function [parent=#Bone] removeFromParent
-- @param self
-- @param #bool recursion
-- @return Bone#Bone self (return value: ccs.Bone)
--------------------------------
--
-- @function [parent=#Bone] getColliderDetector
-- @param self
-- @return ColliderDetector#ColliderDetector ret (return value: ccs.ColliderDetector)
--------------------------------
--
-- @function [parent=#Bone] getChildArmature
-- @param self
-- @return Armature#Armature ret (return value: ccs.Armature)
--------------------------------
--
-- @function [parent=#Bone] getTweenData
-- @param self
-- @return FrameData#FrameData ret (return value: ccs.FrameData)
--------------------------------
--
-- @function [parent=#Bone] changeDisplayWithIndex
-- @param self
-- @param #int index
-- @param #bool force
-- @return Bone#Bone self (return value: ccs.Bone)
--------------------------------
--
-- @function [parent=#Bone] changeDisplayWithName
-- @param self
-- @param #string name
-- @param #bool force
-- @return Bone#Bone self (return value: ccs.Bone)
--------------------------------
--
-- @function [parent=#Bone] setArmature
-- @param self
-- @param #ccs.Armature armature
-- @return Bone#Bone self (return value: ccs.Bone)
--------------------------------
--
-- @function [parent=#Bone] setBlendDirty
-- @param self
-- @param #bool dirty
-- @return Bone#Bone self (return value: ccs.Bone)
--------------------------------
-- Removes a child Bone<br>
-- param bone the bone you want to remove
-- @function [parent=#Bone] removeChildBone
-- @param self
-- @param #ccs.Bone bone
-- @param #bool recursion
-- @return Bone#Bone self (return value: ccs.Bone)
--------------------------------
--
-- @function [parent=#Bone] setChildArmature
-- @param self
-- @param #ccs.Armature childArmature
-- @return Bone#Bone self (return value: ccs.Bone)
--------------------------------
--
-- @function [parent=#Bone] getNodeToArmatureTransform
-- @param self
-- @return mat4_table#mat4_table ret (return value: mat4_table)
--------------------------------
--
-- @function [parent=#Bone] getDisplayManager
-- @param self
-- @return DisplayManager#DisplayManager ret (return value: ccs.DisplayManager)
--------------------------------
--
-- @function [parent=#Bone] getArmature
-- @param self
-- @return Armature#Armature ret (return value: ccs.Armature)
--------------------------------
--
-- @function [parent=#Bone] getBoneData
-- @param self
-- @return BoneData#BoneData ret (return value: ccs.BoneData)
--------------------------------
-- @overload self, string
-- @overload self
-- @function [parent=#Bone] create
-- @param self
-- @param #string name
-- @return Bone#Bone ret (return value: ccs.Bone)
--------------------------------
--
-- @function [parent=#Bone] getNodeToWorldTransform
-- @param self
-- @return mat4_table#mat4_table ret (return value: mat4_table)
--------------------------------
--
-- @function [parent=#Bone] setLocalZOrder
-- @param self
-- @param #int zOrder
-- @return Bone#Bone self (return value: ccs.Bone)
--------------------------------
--
-- @function [parent=#Bone] update
-- @param self
-- @param #float delta
-- @return Bone#Bone self (return value: ccs.Bone)
--------------------------------
--
-- @function [parent=#Bone] updateDisplayedOpacity
-- @param self
-- @param #unsigned char parentOpacity
-- @return Bone#Bone self (return value: ccs.Bone)
--------------------------------
-- Initializes an empty Bone with nothing init.
-- @function [parent=#Bone] init
-- @param self
-- @return bool#bool ret (return value: bool)
--------------------------------
--
-- @function [parent=#Bone] updateDisplayedColor
-- @param self
-- @param #color3b_table parentColor
-- @return Bone#Bone self (return value: ccs.Bone)
--------------------------------
-- js ctor
-- @function [parent=#Bone] Bone
-- @param self
-- @return Bone#Bone self (return value: ccs.Bone)
return nil

View File

@ -0,0 +1,39 @@
--------------------------------
-- @module BoneData
-- @extend BaseData
-- @parent_module ccs
--------------------------------
--
-- @function [parent=#BoneData] getDisplayData
-- @param self
-- @param #int index
-- @return DisplayData#DisplayData ret (return value: ccs.DisplayData)
--------------------------------
--
-- @function [parent=#BoneData] init
-- @param self
-- @return bool#bool ret (return value: bool)
--------------------------------
--
-- @function [parent=#BoneData] addDisplayData
-- @param self
-- @param #ccs.DisplayData displayData
-- @return BoneData#BoneData self (return value: ccs.BoneData)
--------------------------------
--
-- @function [parent=#BoneData] create
-- @param self
-- @return BoneData#BoneData ret (return value: ccs.BoneData)
--------------------------------
-- js ctor
-- @function [parent=#BoneData] BoneData
-- @param self
-- @return BoneData#BoneData self (return value: ccs.BoneData)
return nil

View File

@ -0,0 +1,223 @@
--------------------------------
-- @module BoneNode
-- @extend Node,BlendProtocol
-- @parent_module ccs
--------------------------------
--
-- @function [parent=#BoneNode] getDebugDrawWidth
-- @param self
-- @return float#float ret (return value: float)
--------------------------------
-- @overload self
-- @overload self
-- @function [parent=#BoneNode] getChildBones
-- @param self
-- @return array_table#array_table ret (return value: array_table)
--------------------------------
--
-- @function [parent=#BoneNode] getBlendFunc
-- @param self
-- @return BlendFunc#BlendFunc ret (return value: cc.BlendFunc)
--------------------------------
-- brief: get all bones in this bone tree
-- @function [parent=#BoneNode] getAllSubBones
-- @param self
-- @return array_table#array_table ret (return value: array_table)
--------------------------------
--
-- @function [parent=#BoneNode] setBlendFunc
-- @param self
-- @param #cc.BlendFunc blendFunc
-- @return BoneNode#BoneNode self (return value: ccs.BoneNode)
--------------------------------
--
-- @function [parent=#BoneNode] setDebugDrawEnabled
-- @param self
-- @param #bool isDebugDraw
-- @return BoneNode#BoneNode self (return value: ccs.BoneNode)
--------------------------------
-- get displayings rect in self transform
-- @function [parent=#BoneNode] getVisibleSkinsRect
-- @param self
-- @return rect_table#rect_table ret (return value: rect_table)
--------------------------------
-- brief: get all skins in this bone tree
-- @function [parent=#BoneNode] getAllSubSkins
-- @param self
-- @return array_table#array_table ret (return value: array_table)
--------------------------------
-- @overload self, string, bool
-- @overload self, cc.Node, bool
-- @function [parent=#BoneNode] displaySkin
-- @param self
-- @param #cc.Node skin
-- @param #bool hideOthers
-- @return BoneNode#BoneNode self (return value: ccs.BoneNode)
--------------------------------
--
-- @function [parent=#BoneNode] isDebugDrawEnabled
-- @param self
-- @return bool#bool ret (return value: bool)
--------------------------------
-- @overload self, cc.Node, bool, bool
-- @overload self, cc.Node, bool
-- @function [parent=#BoneNode] addSkin
-- @param self
-- @param #cc.Node skin
-- @param #bool display
-- @param #bool hideOthers
-- @return BoneNode#BoneNode self (return value: ccs.BoneNode)
--------------------------------
--
-- @function [parent=#BoneNode] getRootSkeletonNode
-- @param self
-- @return SkeletonNode#SkeletonNode ret (return value: ccs.SkeletonNode)
--------------------------------
--
-- @function [parent=#BoneNode] setDebugDrawLength
-- @param self
-- @param #float length
-- @return BoneNode#BoneNode self (return value: ccs.BoneNode)
--------------------------------
-- @overload self
-- @overload self
-- @function [parent=#BoneNode] getSkins
-- @param self
-- @return array_table#array_table ret (return value: array_table)
--------------------------------
--
-- @function [parent=#BoneNode] getVisibleSkins
-- @param self
-- @return array_table#array_table ret (return value: array_table)
--------------------------------
--
-- @function [parent=#BoneNode] setDebugDrawWidth
-- @param self
-- @param #float width
-- @return BoneNode#BoneNode self (return value: ccs.BoneNode)
--------------------------------
--
-- @function [parent=#BoneNode] getDebugDrawLength
-- @param self
-- @return float#float ret (return value: float)
--------------------------------
--
-- @function [parent=#BoneNode] setDebugDrawColor
-- @param self
-- @param #color4f_table color
-- @return BoneNode#BoneNode self (return value: ccs.BoneNode)
--------------------------------
--
-- @function [parent=#BoneNode] getDebugDrawColor
-- @param self
-- @return color4f_table#color4f_table ret (return value: color4f_table)
--------------------------------
-- @overload self, int
-- @overload self
-- @function [parent=#BoneNode] create
-- @param self
-- @param #int length
-- @return BoneNode#BoneNode ret (return value: ccs.BoneNode)
--------------------------------
-- @overload self, cc.Node, int, int
-- @overload self, cc.Node, int, string
-- @function [parent=#BoneNode] addChild
-- @param self
-- @param #cc.Node child
-- @param #int localZOrder
-- @param #string name
-- @return BoneNode#BoneNode self (return value: ccs.BoneNode)
--------------------------------
--
-- @function [parent=#BoneNode] draw
-- @param self
-- @param #cc.Renderer renderer
-- @param #mat4_table transform
-- @param #unsigned int flags
-- @return BoneNode#BoneNode self (return value: ccs.BoneNode)
--------------------------------
--
-- @function [parent=#BoneNode] setName
-- @param self
-- @param #string name
-- @return BoneNode#BoneNode self (return value: ccs.BoneNode)
--------------------------------
--
-- @function [parent=#BoneNode] setAnchorPoint
-- @param self
-- @param #vec2_table anchorPoint
-- @return BoneNode#BoneNode self (return value: ccs.BoneNode)
--------------------------------
--
-- @function [parent=#BoneNode] setLocalZOrder
-- @param self
-- @param #int localZOrder
-- @return BoneNode#BoneNode self (return value: ccs.BoneNode)
--------------------------------
--
-- @function [parent=#BoneNode] removeChild
-- @param self
-- @param #cc.Node child
-- @param #bool cleanup
-- @return BoneNode#BoneNode self (return value: ccs.BoneNode)
--------------------------------
--
-- @function [parent=#BoneNode] init
-- @param self
-- @return bool#bool ret (return value: bool)
--------------------------------
--
-- @function [parent=#BoneNode] getBoundingBox
-- @param self
-- @return rect_table#rect_table ret (return value: rect_table)
--------------------------------
--
-- @function [parent=#BoneNode] setContentSize
-- @param self
-- @param #size_table contentSize
-- @return BoneNode#BoneNode self (return value: ccs.BoneNode)
--------------------------------
--
-- @function [parent=#BoneNode] setVisible
-- @param self
-- @param #bool visible
-- @return BoneNode#BoneNode self (return value: ccs.BoneNode)
--------------------------------
--
-- @function [parent=#BoneNode] BoneNode
-- @param self
-- @return BoneNode#BoneNode self (return value: ccs.BoneNode)
return nil

View File

@ -0,0 +1,72 @@
--------------------------------
-- @module Bundle3D
-- @parent_module cc
--------------------------------
-- load a file. You must load a file first, then call loadMeshData, loadSkinData, and so on<br>
-- param path File to be loaded<br>
-- return result of load
-- @function [parent=#Bundle3D] load
-- @param self
-- @param #string path
-- @return bool#bool ret (return value: bool)
--------------------------------
-- load skin data from bundle<br>
-- param id The ID of the skin, load the first Skin in the bundle if it is empty
-- @function [parent=#Bundle3D] loadSkinData
-- @param self
-- @param #string id
-- @param #cc.SkinData skindata
-- @return bool#bool ret (return value: bool)
--------------------------------
--
-- @function [parent=#Bundle3D] clear
-- @param self
-- @return Bundle3D#Bundle3D self (return value: cc.Bundle3D)
--------------------------------
--
-- @function [parent=#Bundle3D] loadMaterials
-- @param self
-- @param #cc.MaterialDatas materialdatas
-- @return bool#bool ret (return value: bool)
--------------------------------
--
-- @function [parent=#Bundle3D] loadNodes
-- @param self
-- @param #cc.NodeDatas nodedatas
-- @return bool#bool ret (return value: bool)
--------------------------------
-- load material data from bundle<br>
-- param id The ID of the animation, load the first animation in the bundle if it is empty
-- @function [parent=#Bundle3D] loadAnimationData
-- @param self
-- @param #string id
-- @param #cc.Animation3DData animationdata
-- @return bool#bool ret (return value: bool)
--------------------------------
-- create a new bundle, destroy it when finish using it
-- @function [parent=#Bundle3D] createBundle
-- @param self
-- @return Bundle3D#Bundle3D ret (return value: cc.Bundle3D)
--------------------------------
--
-- @function [parent=#Bundle3D] destroyBundle
-- @param self
-- @param #cc.Bundle3D bundle
-- @return Bundle3D#Bundle3D self (return value: cc.Bundle3D)
--------------------------------
--
-- @function [parent=#Bundle3D] Bundle3D
-- @param self
-- @return Bundle3D#Bundle3D self (return value: cc.Bundle3D)
return nil

View File

@ -0,0 +1,316 @@
--------------------------------
-- @module Button
-- @extend Widget
-- @parent_module ccui
--------------------------------
--
-- @function [parent=#Button] getNormalTextureSize
-- @param self
-- @return size_table#size_table ret (return value: size_table)
--------------------------------
-- Query the button title content.<br>
-- return Get the button's title content.
-- @function [parent=#Button] getTitleText
-- @param self
-- @return string#string ret (return value: string)
--------------------------------
-- Change the font size of button's title<br>
-- param size Title font size in float.
-- @function [parent=#Button] setTitleFontSize
-- @param self
-- @param #float size
-- @return Button#Button self (return value: ccui.Button)
--------------------------------
-- Enable scale9 renderer.<br>
-- param enable Set to true will use scale9 renderer, false otherwise.
-- @function [parent=#Button] setScale9Enabled
-- @param self
-- @param #bool enable
-- @return Button#Button self (return value: ccui.Button)
--------------------------------
-- Return the inner title renderer of Button.<br>
-- return The button title.<br>
-- since v3.3
-- @function [parent=#Button] getTitleRenderer
-- @param self
-- @return Label#Label ret (return value: cc.Label)
--------------------------------
-- brief Return the nine-patch sprite of clicked state<br>
-- return the nine-patch sprite of clicked state<br>
-- since v3.9
-- @function [parent=#Button] getRendererClicked
-- @param self
-- @return Scale9Sprite#Scale9Sprite ret (return value: ccui.Scale9Sprite)
--------------------------------
-- brief Return a zoom scale<br>
-- return the zoom scale in float<br>
-- since v3.3
-- @function [parent=#Button] getZoomScale
-- @param self
-- @return float#float ret (return value: float)
--------------------------------
-- Return the capInsets of disabled state scale9sprite.<br>
-- return The disabled scale9 renderer capInsets.
-- @function [parent=#Button] getCapInsetsDisabledRenderer
-- @param self
-- @return rect_table#rect_table ret (return value: rect_table)
--------------------------------
-- Change the color of button's title.<br>
-- param color The title color in Color3B.
-- @function [parent=#Button] setTitleColor
-- @param self
-- @param #color3b_table color
-- @return Button#Button self (return value: ccui.Button)
--------------------------------
-- brief Return the nine-patch sprite of disabled state<br>
-- return the nine-patch sprite of disabled state<br>
-- since v3.9
-- @function [parent=#Button] getRendererDisabled
-- @param self
-- @return Scale9Sprite#Scale9Sprite ret (return value: ccui.Scale9Sprite)
--------------------------------
-- Sets capInsets for button, only the disabled state scale9 renderer will be affected.<br>
-- param capInsets capInsets in Rect.
-- @function [parent=#Button] setCapInsetsDisabledRenderer
-- @param self
-- @param #rect_table capInsets
-- @return Button#Button self (return value: ccui.Button)
--------------------------------
-- Sets capInsets for button.<br>
-- The capInset affects all button scale9 renderer only if `setScale9Enabled(true)` is called<br>
-- param capInsets capInset in Rect.
-- @function [parent=#Button] setCapInsets
-- @param self
-- @param #rect_table capInsets
-- @return Button#Button self (return value: ccui.Button)
--------------------------------
-- Load disabled state texture for button.<br>
-- param disabled dark state texture.<br>
-- param texType @see `TextureResType`
-- @function [parent=#Button] loadTextureDisabled
-- @param self
-- @param #string disabled
-- @param #int texType
-- @return Button#Button self (return value: ccui.Button)
--------------------------------
--
-- @function [parent=#Button] init
-- @param self
-- @param #string normalImage
-- @param #string selectedImage
-- @param #string disableImage
-- @param #int texType
-- @return bool#bool ret (return value: bool)
--------------------------------
-- Change the content of button's title.<br>
-- param text The title in std::string.
-- @function [parent=#Button] setTitleText
-- @param self
-- @param #string text
-- @return Button#Button self (return value: ccui.Button)
--------------------------------
-- Sets capInsets for button, only the normal state scale9 renderer will be affected.<br>
-- param capInsets capInsets in Rect.
-- @function [parent=#Button] setCapInsetsNormalRenderer
-- @param self
-- @param #rect_table capInsets
-- @return Button#Button self (return value: ccui.Button)
--------------------------------
-- Load selected state texture for button.<br>
-- param selected selected state texture.<br>
-- param texType @see `TextureResType`
-- @function [parent=#Button] loadTexturePressed
-- @param self
-- @param #string selected
-- @param #int texType
-- @return Button#Button self (return value: ccui.Button)
--------------------------------
-- Change the font name of button's title<br>
-- param fontName a font name string.
-- @function [parent=#Button] setTitleFontName
-- @param self
-- @param #string fontName
-- @return Button#Button self (return value: ccui.Button)
--------------------------------
-- Return the capInsets of normal state scale9sprite.<br>
-- return The normal scale9 renderer capInsets.
-- @function [parent=#Button] getCapInsetsNormalRenderer
-- @param self
-- @return rect_table#rect_table ret (return value: rect_table)
--------------------------------
-- @overload self, int, int
-- @overload self, int
-- @function [parent=#Button] setTitleAlignment
-- @param self
-- @param #int hAlignment
-- @param #int vAlignment
-- @return Button#Button self (return value: ccui.Button)
--------------------------------
-- Return the capInsets of pressed state scale9sprite.<br>
-- return The pressed scale9 renderer capInsets.
-- @function [parent=#Button] getCapInsetsPressedRenderer
-- @param self
-- @return rect_table#rect_table ret (return value: rect_table)
--------------------------------
-- Load textures for button.<br>
-- param normal normal state texture name.<br>
-- param selected selected state texture name.<br>
-- param disabled disabled state texture name.<br>
-- param texType @see `TextureResType`
-- @function [parent=#Button] loadTextures
-- @param self
-- @param #string normal
-- @param #string selected
-- @param #string disabled
-- @param #int texType
-- @return Button#Button self (return value: ccui.Button)
--------------------------------
-- Query whether button is using scale9 renderer or not.<br>
-- return whether button use scale9 renderer or not.
-- @function [parent=#Button] isScale9Enabled
-- @param self
-- @return bool#bool ret (return value: bool)
--------------------------------
-- Load normal state texture for button.<br>
-- param normal normal state texture.<br>
-- param texType @see `TextureResType`
-- @function [parent=#Button] loadTextureNormal
-- @param self
-- @param #string normal
-- @param #int texType
-- @return Button#Button self (return value: ccui.Button)
--------------------------------
-- Sets capInsets for button, only the pressed state scale9 renderer will be affected.<br>
-- param capInsets capInsets in Rect
-- @function [parent=#Button] setCapInsetsPressedRenderer
-- @param self
-- @param #rect_table capInsets
-- @return Button#Button self (return value: ccui.Button)
--------------------------------
-- Query the font size of button title<br>
-- return font size in float.
-- @function [parent=#Button] getTitleFontSize
-- @param self
-- @return float#float ret (return value: float)
--------------------------------
-- brief Return the nine-patch sprite of normal state<br>
-- return the nine-patch sprite of normal state<br>
-- since v3.9
-- @function [parent=#Button] getRendererNormal
-- @param self
-- @return Scale9Sprite#Scale9Sprite ret (return value: ccui.Scale9Sprite)
--------------------------------
-- Query the font name of button's title<br>
-- return font name in std::string
-- @function [parent=#Button] getTitleFontName
-- @param self
-- @return string#string ret (return value: string)
--------------------------------
-- Query the button title color.<br>
-- return Color3B of button title.
-- @function [parent=#Button] getTitleColor
-- @param self
-- @return color3b_table#color3b_table ret (return value: color3b_table)
--------------------------------
-- Enable zooming action when button is pressed.<br>
-- param enabled Set to true will enable zoom effect, false otherwise.
-- @function [parent=#Button] setPressedActionEnabled
-- @param self
-- @param #bool enabled
-- @return Button#Button self (return value: ccui.Button)
--------------------------------
-- @brief When user pressed the button, the button will zoom to a scale.<br>
-- The final scale of the button equals (button original scale + _zoomScale)<br>
-- since v3.3
-- @function [parent=#Button] setZoomScale
-- @param self
-- @param #float scale
-- @return Button#Button self (return value: ccui.Button)
--------------------------------
-- @overload self, string, string, string, int
-- @overload self
-- @function [parent=#Button] create
-- @param self
-- @param #string normalImage
-- @param #string selectedImage
-- @param #string disableImage
-- @param #int texType
-- @return Button#Button ret (return value: ccui.Button)
--------------------------------
--
-- @function [parent=#Button] createInstance
-- @param self
-- @return Ref#Ref ret (return value: cc.Ref)
--------------------------------
--
-- @function [parent=#Button] getVirtualRenderer
-- @param self
-- @return Node#Node ret (return value: cc.Node)
--------------------------------
--
-- @function [parent=#Button] init
-- @param self
-- @return bool#bool ret (return value: bool)
--------------------------------
--
-- @function [parent=#Button] getDescription
-- @param self
-- @return string#string ret (return value: string)
--------------------------------
--
-- @function [parent=#Button] getVirtualRendererSize
-- @param self
-- @return size_table#size_table ret (return value: size_table)
--------------------------------
--
-- @function [parent=#Button] ignoreContentAdaptWithSize
-- @param self
-- @param #bool ignore
-- @return Button#Button self (return value: ccui.Button)
--------------------------------
-- Default constructor.
-- @function [parent=#Button] Button
-- @param self
-- @return Button#Button self (return value: ccui.Button)
return nil

View File

@ -0,0 +1,257 @@
--------------------------------
-- @module CCBAnimationManager
-- @extend Ref
-- @parent_module cc
--------------------------------
--
-- @function [parent=#CCBAnimationManager] moveAnimationsFromNode
-- @param self
-- @param #cc.Node fromNode
-- @param #cc.Node toNode
-- @return CCBAnimationManager#CCBAnimationManager self (return value: cc.CCBAnimationManager)
--------------------------------
--
-- @function [parent=#CCBAnimationManager] setAutoPlaySequenceId
-- @param self
-- @param #int autoPlaySequenceId
-- @return CCBAnimationManager#CCBAnimationManager self (return value: cc.CCBAnimationManager)
--------------------------------
--
-- @function [parent=#CCBAnimationManager] getDocumentCallbackNames
-- @param self
-- @return array_table#array_table ret (return value: array_table)
--------------------------------
--
-- @function [parent=#CCBAnimationManager] actionForSoundChannel
-- @param self
-- @param #cc.CCBSequenceProperty channel
-- @return Sequence#Sequence ret (return value: cc.Sequence)
--------------------------------
--
-- @function [parent=#CCBAnimationManager] setBaseValue
-- @param self
-- @param #cc.Value value
-- @param #cc.Node pNode
-- @param #string propName
-- @return CCBAnimationManager#CCBAnimationManager self (return value: cc.CCBAnimationManager)
--------------------------------
--
-- @function [parent=#CCBAnimationManager] getDocumentOutletNodes
-- @param self
-- @return array_table#array_table ret (return value: array_table)
--------------------------------
--
-- @function [parent=#CCBAnimationManager] getLastCompletedSequenceName
-- @param self
-- @return string#string ret (return value: string)
--------------------------------
--
-- @function [parent=#CCBAnimationManager] setRootNode
-- @param self
-- @param #cc.Node pRootNode
-- @return CCBAnimationManager#CCBAnimationManager self (return value: cc.CCBAnimationManager)
--------------------------------
--
-- @function [parent=#CCBAnimationManager] runAnimationsForSequenceNamedTweenDuration
-- @param self
-- @param #char pName
-- @param #float fTweenDuration
-- @return CCBAnimationManager#CCBAnimationManager self (return value: cc.CCBAnimationManager)
--------------------------------
--
-- @function [parent=#CCBAnimationManager] addDocumentOutletName
-- @param self
-- @param #string name
-- @return CCBAnimationManager#CCBAnimationManager self (return value: cc.CCBAnimationManager)
--------------------------------
--
-- @function [parent=#CCBAnimationManager] getSequences
-- @param self
-- @return array_table#array_table ret (return value: array_table)
--------------------------------
--
-- @function [parent=#CCBAnimationManager] getRootContainerSize
-- @param self
-- @return size_table#size_table ret (return value: size_table)
--------------------------------
--
-- @function [parent=#CCBAnimationManager] setDocumentControllerName
-- @param self
-- @param #string name
-- @return CCBAnimationManager#CCBAnimationManager self (return value: cc.CCBAnimationManager)
--------------------------------
--
-- @function [parent=#CCBAnimationManager] setObject
-- @param self
-- @param #cc.Ref obj
-- @param #cc.Node pNode
-- @param #string propName
-- @return CCBAnimationManager#CCBAnimationManager self (return value: cc.CCBAnimationManager)
--------------------------------
--
-- @function [parent=#CCBAnimationManager] getContainerSize
-- @param self
-- @param #cc.Node pNode
-- @return size_table#size_table ret (return value: size_table)
--------------------------------
--
-- @function [parent=#CCBAnimationManager] actionForCallbackChannel
-- @param self
-- @param #cc.CCBSequenceProperty channel
-- @return Sequence#Sequence ret (return value: cc.Sequence)
--------------------------------
--
-- @function [parent=#CCBAnimationManager] getDocumentOutletNames
-- @param self
-- @return array_table#array_table ret (return value: array_table)
--------------------------------
--
-- @function [parent=#CCBAnimationManager] addDocumentCallbackControlEvents
-- @param self
-- @param #int eventType
-- @return CCBAnimationManager#CCBAnimationManager self (return value: cc.CCBAnimationManager)
--------------------------------
--
-- @function [parent=#CCBAnimationManager] init
-- @param self
-- @return bool#bool ret (return value: bool)
--------------------------------
--
-- @function [parent=#CCBAnimationManager] getKeyframeCallbacks
-- @param self
-- @return array_table#array_table ret (return value: array_table)
--------------------------------
--
-- @function [parent=#CCBAnimationManager] getDocumentCallbackControlEvents
-- @param self
-- @return array_table#array_table ret (return value: array_table)
--------------------------------
--
-- @function [parent=#CCBAnimationManager] setRootContainerSize
-- @param self
-- @param #size_table rootContainerSize
-- @return CCBAnimationManager#CCBAnimationManager self (return value: cc.CCBAnimationManager)
--------------------------------
--
-- @function [parent=#CCBAnimationManager] runAnimationsForSequenceIdTweenDuration
-- @param self
-- @param #int nSeqId
-- @param #float fTweenDuraiton
-- @return CCBAnimationManager#CCBAnimationManager self (return value: cc.CCBAnimationManager)
--------------------------------
--
-- @function [parent=#CCBAnimationManager] getRunningSequenceName
-- @param self
-- @return char#char ret (return value: char)
--------------------------------
--
-- @function [parent=#CCBAnimationManager] getAutoPlaySequenceId
-- @param self
-- @return int#int ret (return value: int)
--------------------------------
--
-- @function [parent=#CCBAnimationManager] addDocumentCallbackName
-- @param self
-- @param #string name
-- @return CCBAnimationManager#CCBAnimationManager self (return value: cc.CCBAnimationManager)
--------------------------------
--
-- @function [parent=#CCBAnimationManager] getRootNode
-- @param self
-- @return Node#Node ret (return value: cc.Node)
--------------------------------
--
-- @function [parent=#CCBAnimationManager] addDocumentOutletNode
-- @param self
-- @param #cc.Node node
-- @return CCBAnimationManager#CCBAnimationManager self (return value: cc.CCBAnimationManager)
--------------------------------
--
-- @function [parent=#CCBAnimationManager] getSequenceDuration
-- @param self
-- @param #char pSequenceName
-- @return float#float ret (return value: float)
--------------------------------
--
-- @function [parent=#CCBAnimationManager] addDocumentCallbackNode
-- @param self
-- @param #cc.Node node
-- @return CCBAnimationManager#CCBAnimationManager self (return value: cc.CCBAnimationManager)
--------------------------------
--
-- @function [parent=#CCBAnimationManager] runAnimationsForSequenceNamed
-- @param self
-- @param #char pName
-- @return CCBAnimationManager#CCBAnimationManager self (return value: cc.CCBAnimationManager)
--------------------------------
--
-- @function [parent=#CCBAnimationManager] getSequenceId
-- @param self
-- @param #char pSequenceName
-- @return int#int ret (return value: int)
--------------------------------
--
-- @function [parent=#CCBAnimationManager] getDocumentCallbackNodes
-- @param self
-- @return array_table#array_table ret (return value: array_table)
--------------------------------
--
-- @function [parent=#CCBAnimationManager] setSequences
-- @param self
-- @param #array_table seq
-- @return CCBAnimationManager#CCBAnimationManager self (return value: cc.CCBAnimationManager)
--------------------------------
--
-- @function [parent=#CCBAnimationManager] debug
-- @param self
-- @return CCBAnimationManager#CCBAnimationManager self (return value: cc.CCBAnimationManager)
--------------------------------
--
-- @function [parent=#CCBAnimationManager] getDocumentControllerName
-- @param self
-- @return string#string ret (return value: string)
--------------------------------
-- js ctor
-- @function [parent=#CCBAnimationManager] CCBAnimationManager
-- @param self
-- @return CCBAnimationManager#CCBAnimationManager self (return value: cc.CCBAnimationManager)
return nil

View File

@ -0,0 +1,144 @@
--------------------------------
-- @module CCBReader
-- @extend Ref
-- @parent_module cc
--------------------------------
--
-- @function [parent=#CCBReader] addOwnerOutletName
-- @param self
-- @param #string name
-- @return CCBReader#CCBReader self (return value: cc.CCBReader)
--------------------------------
--
-- @function [parent=#CCBReader] getOwnerCallbackNames
-- @param self
-- @return array_table#array_table ret (return value: array_table)
--------------------------------
--
-- @function [parent=#CCBReader] addDocumentCallbackControlEvents
-- @param self
-- @param #int eventType
-- @return CCBReader#CCBReader self (return value: cc.CCBReader)
--------------------------------
--
-- @function [parent=#CCBReader] setCCBRootPath
-- @param self
-- @param #char ccbRootPath
-- @return CCBReader#CCBReader self (return value: cc.CCBReader)
--------------------------------
--
-- @function [parent=#CCBReader] addOwnerOutletNode
-- @param self
-- @param #cc.Node node
-- @return CCBReader#CCBReader self (return value: cc.CCBReader)
--------------------------------
--
-- @function [parent=#CCBReader] getOwnerCallbackNodes
-- @param self
-- @return array_table#array_table ret (return value: array_table)
--------------------------------
--
-- @function [parent=#CCBReader] readSoundKeyframesForSeq
-- @param self
-- @param #cc.CCBSequence seq
-- @return bool#bool ret (return value: bool)
--------------------------------
--
-- @function [parent=#CCBReader] getCCBRootPath
-- @param self
-- @return string#string ret (return value: string)
--------------------------------
--
-- @function [parent=#CCBReader] getOwnerCallbackControlEvents
-- @param self
-- @return array_table#array_table ret (return value: array_table)
--------------------------------
--
-- @function [parent=#CCBReader] getOwnerOutletNodes
-- @param self
-- @return array_table#array_table ret (return value: array_table)
--------------------------------
--
-- @function [parent=#CCBReader] readUTF8
-- @param self
-- @return string#string ret (return value: string)
--------------------------------
--
-- @function [parent=#CCBReader] addOwnerCallbackControlEvents
-- @param self
-- @param #int type
-- @return CCBReader#CCBReader self (return value: cc.CCBReader)
--------------------------------
--
-- @function [parent=#CCBReader] getOwnerOutletNames
-- @param self
-- @return array_table#array_table ret (return value: array_table)
--------------------------------
-- js setActionManager<br>
-- lua setActionManager
-- @function [parent=#CCBReader] setAnimationManager
-- @param self
-- @param #cc.CCBAnimationManager pAnimationManager
-- @return CCBReader#CCBReader self (return value: cc.CCBReader)
--------------------------------
--
-- @function [parent=#CCBReader] readCallbackKeyframesForSeq
-- @param self
-- @param #cc.CCBSequence seq
-- @return bool#bool ret (return value: bool)
--------------------------------
--
-- @function [parent=#CCBReader] getAnimationManagersForNodes
-- @param self
-- @return array_table#array_table ret (return value: array_table)
--------------------------------
--
-- @function [parent=#CCBReader] getNodesWithAnimationManagers
-- @param self
-- @return array_table#array_table ret (return value: array_table)
--------------------------------
-- js getActionManager<br>
-- lua getActionManager
-- @function [parent=#CCBReader] getAnimationManager
-- @param self
-- @return CCBAnimationManager#CCBAnimationManager ret (return value: cc.CCBAnimationManager)
--------------------------------
--
-- @function [parent=#CCBReader] setResolutionScale
-- @param self
-- @param #float scale
-- @return CCBReader#CCBReader self (return value: cc.CCBReader)
--------------------------------
-- @overload self, cc.CCBReader
-- @overload self, cc.NodeLoaderLibrary, cc.CCBMemberVariableAssigner, cc.CCBSelectorResolver, cc.NodeLoaderListener
-- @overload self
-- @function [parent=#CCBReader] CCBReader
-- @param self
-- @param #cc.NodeLoaderLibrary pNodeLoaderLibrary
-- @param #cc.CCBMemberVariableAssigner pCCBMemberVariableAssigner
-- @param #cc.CCBSelectorResolver pCCBSelectorResolver
-- @param #cc.NodeLoaderListener pNodeLoaderListener
-- @return CCBReader#CCBReader self (return value: cc.CCBReader)
return nil

View File

@ -0,0 +1,110 @@
--------------------------------
-- @module CSLoader
-- @parent_module cc
--------------------------------
--
-- @function [parent=#CSLoader] createNodeFromJson
-- @param self
-- @param #string filename
-- @return Node#Node ret (return value: cc.Node)
--------------------------------
--
-- @function [parent=#CSLoader] createNodeWithFlatBuffersFile
-- @param self
-- @param #string filename
-- @return Node#Node ret (return value: cc.Node)
--------------------------------
--
-- @function [parent=#CSLoader] loadNodeWithFile
-- @param self
-- @param #string fileName
-- @return Node#Node ret (return value: cc.Node)
--------------------------------
--
-- @function [parent=#CSLoader] bindCallback
-- @param self
-- @param #string callbackName
-- @param #string callbackType
-- @param #ccui.Widget sender
-- @param #cc.Node handler
-- @return bool#bool ret (return value: bool)
--------------------------------
--
-- @function [parent=#CSLoader] setJsonPath
-- @param self
-- @param #string jsonPath
-- @return CSLoader#CSLoader self (return value: cc.CSLoader)
--------------------------------
--
-- @function [parent=#CSLoader] init
-- @param self
-- @return CSLoader#CSLoader self (return value: cc.CSLoader)
--------------------------------
--
-- @function [parent=#CSLoader] loadNodeWithContent
-- @param self
-- @param #string content
-- @return Node#Node ret (return value: cc.Node)
--------------------------------
--
-- @function [parent=#CSLoader] isRecordJsonPath
-- @param self
-- @return bool#bool ret (return value: bool)
--------------------------------
--
-- @function [parent=#CSLoader] getJsonPath
-- @param self
-- @return string#string ret (return value: string)
--------------------------------
--
-- @function [parent=#CSLoader] setRecordJsonPath
-- @param self
-- @param #bool record
-- @return CSLoader#CSLoader self (return value: cc.CSLoader)
--------------------------------
--
-- @function [parent=#CSLoader] createNodeWithFlatBuffersForSimulator
-- @param self
-- @param #string filename
-- @return Node#Node ret (return value: cc.Node)
--------------------------------
--
-- @function [parent=#CSLoader] destroyInstance
-- @param self
-- @return CSLoader#CSLoader self (return value: cc.CSLoader)
--------------------------------
-- @overload self, string, function
-- @overload self, string
-- @function [parent=#CSLoader] createNodeWithVisibleSize
-- @param self
-- @param #string filename
-- @param #function callback
-- @return Node#Node ret (return value: cc.Node)
--------------------------------
--
-- @function [parent=#CSLoader] getInstance
-- @param self
-- @return CSLoader#CSLoader ret (return value: cc.CSLoader)
--------------------------------
--
-- @function [parent=#CSLoader] CSLoader
-- @param self
-- @return CSLoader#CSLoader self (return value: cc.CSLoader)
return nil

View File

@ -0,0 +1,48 @@
--------------------------------
-- @module CheckBox
-- @extend AbstractCheckButton
-- @parent_module ccui
--------------------------------
-- Add a callback function which would be called when checkbox is selected or unselected.<br>
-- param callback A std::function with type @see `ccCheckBoxCallback`
-- @function [parent=#CheckBox] addEventListener
-- @param self
-- @param #function callback
-- @return CheckBox#CheckBox self (return value: ccui.CheckBox)
--------------------------------
-- @overload self, string, string, string, string, string, int
-- @overload self
-- @overload self, string, string, int
-- @function [parent=#CheckBox] create
-- @param self
-- @param #string backGround
-- @param #string backGroundSelected
-- @param #string cross
-- @param #string backGroundDisabled
-- @param #string frontCrossDisabled
-- @param #int texType
-- @return CheckBox#CheckBox ret (return value: ccui.CheckBox)
--------------------------------
--
-- @function [parent=#CheckBox] createInstance
-- @param self
-- @return Ref#Ref ret (return value: cc.Ref)
--------------------------------
--
-- @function [parent=#CheckBox] getDescription
-- @param self
-- @return string#string ret (return value: string)
--------------------------------
-- Default constructor.<br>
-- lua new
-- @function [parent=#CheckBox] CheckBox
-- @param self
-- @return CheckBox#CheckBox self (return value: ccui.CheckBox)
return nil

View File

@ -0,0 +1,38 @@
--------------------------------
-- @module ColorFrame
-- @extend Frame
-- @parent_module ccs
--------------------------------
--
-- @function [parent=#ColorFrame] getColor
-- @param self
-- @return color3b_table#color3b_table ret (return value: color3b_table)
--------------------------------
--
-- @function [parent=#ColorFrame] setColor
-- @param self
-- @param #color3b_table color
-- @return ColorFrame#ColorFrame self (return value: ccs.ColorFrame)
--------------------------------
--
-- @function [parent=#ColorFrame] create
-- @param self
-- @return ColorFrame#ColorFrame ret (return value: ccs.ColorFrame)
--------------------------------
--
-- @function [parent=#ColorFrame] clone
-- @param self
-- @return Frame#Frame ret (return value: ccs.Frame)
--------------------------------
--
-- @function [parent=#ColorFrame] ColorFrame
-- @param self
-- @return ColorFrame#ColorFrame self (return value: ccs.ColorFrame)
return nil

View File

@ -0,0 +1,103 @@
--------------------------------
-- @module ComAttribute
-- @extend Component
-- @parent_module ccs
--------------------------------
--
-- @function [parent=#ComAttribute] getFloat
-- @param self
-- @param #string key
-- @param #float def
-- @return float#float ret (return value: float)
--------------------------------
--
-- @function [parent=#ComAttribute] getString
-- @param self
-- @param #string key
-- @param #string def
-- @return string#string ret (return value: string)
--------------------------------
--
-- @function [parent=#ComAttribute] setFloat
-- @param self
-- @param #string key
-- @param #float value
-- @return ComAttribute#ComAttribute self (return value: ccs.ComAttribute)
--------------------------------
--
-- @function [parent=#ComAttribute] setString
-- @param self
-- @param #string key
-- @param #string value
-- @return ComAttribute#ComAttribute self (return value: ccs.ComAttribute)
--------------------------------
--
-- @function [parent=#ComAttribute] getBool
-- @param self
-- @param #string key
-- @param #bool def
-- @return bool#bool ret (return value: bool)
--------------------------------
--
-- @function [parent=#ComAttribute] setInt
-- @param self
-- @param #string key
-- @param #int value
-- @return ComAttribute#ComAttribute self (return value: ccs.ComAttribute)
--------------------------------
--
-- @function [parent=#ComAttribute] parse
-- @param self
-- @param #string jsonFile
-- @return bool#bool ret (return value: bool)
--------------------------------
--
-- @function [parent=#ComAttribute] getInt
-- @param self
-- @param #string key
-- @param #int def
-- @return int#int ret (return value: int)
--------------------------------
--
-- @function [parent=#ComAttribute] setBool
-- @param self
-- @param #string key
-- @param #bool value
-- @return ComAttribute#ComAttribute self (return value: ccs.ComAttribute)
--------------------------------
--
-- @function [parent=#ComAttribute] create
-- @param self
-- @return ComAttribute#ComAttribute ret (return value: ccs.ComAttribute)
--------------------------------
--
-- @function [parent=#ComAttribute] createInstance
-- @param self
-- @return Ref#Ref ret (return value: cc.Ref)
--------------------------------
--
-- @function [parent=#ComAttribute] init
-- @param self
-- @return bool#bool ret (return value: bool)
--------------------------------
--
-- @function [parent=#ComAttribute] serialize
-- @param self
-- @param #void r
-- @return bool#bool ret (return value: bool)
return nil

View File

@ -0,0 +1,222 @@
--------------------------------
-- @module ComAudio
-- @extend Component
-- @parent_module ccs
--------------------------------
--
-- @function [parent=#ComAudio] stopAllEffects
-- @param self
-- @return ComAudio#ComAudio self (return value: ccs.ComAudio)
--------------------------------
--
-- @function [parent=#ComAudio] getEffectsVolume
-- @param self
-- @return float#float ret (return value: float)
--------------------------------
--
-- @function [parent=#ComAudio] stopEffect
-- @param self
-- @param #unsigned int nSoundId
-- @return ComAudio#ComAudio self (return value: ccs.ComAudio)
--------------------------------
--
-- @function [parent=#ComAudio] getBackgroundMusicVolume
-- @param self
-- @return float#float ret (return value: float)
--------------------------------
--
-- @function [parent=#ComAudio] willPlayBackgroundMusic
-- @param self
-- @return bool#bool ret (return value: bool)
--------------------------------
--
-- @function [parent=#ComAudio] setBackgroundMusicVolume
-- @param self
-- @param #float volume
-- @return ComAudio#ComAudio self (return value: ccs.ComAudio)
--------------------------------
--
-- @function [parent=#ComAudio] end
-- @param self
-- @return ComAudio#ComAudio self (return value: ccs.ComAudio)
--------------------------------
-- @overload self
-- @overload self, bool
-- @function [parent=#ComAudio] stopBackgroundMusic
-- @param self
-- @param #bool bReleaseData
-- @return ComAudio#ComAudio self (return value: ccs.ComAudio)
--------------------------------
--
-- @function [parent=#ComAudio] pauseBackgroundMusic
-- @param self
-- @return ComAudio#ComAudio self (return value: ccs.ComAudio)
--------------------------------
--
-- @function [parent=#ComAudio] isBackgroundMusicPlaying
-- @param self
-- @return bool#bool ret (return value: bool)
--------------------------------
--
-- @function [parent=#ComAudio] isLoop
-- @param self
-- @return bool#bool ret (return value: bool)
--------------------------------
--
-- @function [parent=#ComAudio] resumeAllEffects
-- @param self
-- @return ComAudio#ComAudio self (return value: ccs.ComAudio)
--------------------------------
--
-- @function [parent=#ComAudio] pauseAllEffects
-- @param self
-- @return ComAudio#ComAudio self (return value: ccs.ComAudio)
--------------------------------
--
-- @function [parent=#ComAudio] preloadBackgroundMusic
-- @param self
-- @param #char pszFilePath
-- @return ComAudio#ComAudio self (return value: ccs.ComAudio)
--------------------------------
-- @overload self, char
-- @overload self, char, bool
-- @overload self
-- @function [parent=#ComAudio] playBackgroundMusic
-- @param self
-- @param #char pszFilePath
-- @param #bool bLoop
-- @return ComAudio#ComAudio self (return value: ccs.ComAudio)
--------------------------------
-- @overload self, char
-- @overload self, char, bool
-- @overload self
-- @function [parent=#ComAudio] playEffect
-- @param self
-- @param #char pszFilePath
-- @param #bool bLoop
-- @return unsigned int#unsigned int ret (return value: unsigned int)
--------------------------------
--
-- @function [parent=#ComAudio] preloadEffect
-- @param self
-- @param #char pszFilePath
-- @return ComAudio#ComAudio self (return value: ccs.ComAudio)
--------------------------------
--
-- @function [parent=#ComAudio] setLoop
-- @param self
-- @param #bool bLoop
-- @return ComAudio#ComAudio self (return value: ccs.ComAudio)
--------------------------------
--
-- @function [parent=#ComAudio] unloadEffect
-- @param self
-- @param #char pszFilePath
-- @return ComAudio#ComAudio self (return value: ccs.ComAudio)
--------------------------------
--
-- @function [parent=#ComAudio] rewindBackgroundMusic
-- @param self
-- @return ComAudio#ComAudio self (return value: ccs.ComAudio)
--------------------------------
--
-- @function [parent=#ComAudio] pauseEffect
-- @param self
-- @param #unsigned int nSoundId
-- @return ComAudio#ComAudio self (return value: ccs.ComAudio)
--------------------------------
--
-- @function [parent=#ComAudio] resumeBackgroundMusic
-- @param self
-- @return ComAudio#ComAudio self (return value: ccs.ComAudio)
--------------------------------
--
-- @function [parent=#ComAudio] setFile
-- @param self
-- @param #char pszFilePath
-- @return ComAudio#ComAudio self (return value: ccs.ComAudio)
--------------------------------
--
-- @function [parent=#ComAudio] setEffectsVolume
-- @param self
-- @param #float volume
-- @return ComAudio#ComAudio self (return value: ccs.ComAudio)
--------------------------------
--
-- @function [parent=#ComAudio] getFile
-- @param self
-- @return char#char ret (return value: char)
--------------------------------
--
-- @function [parent=#ComAudio] resumeEffect
-- @param self
-- @param #unsigned int nSoundId
-- @return ComAudio#ComAudio self (return value: ccs.ComAudio)
--------------------------------
--
-- @function [parent=#ComAudio] create
-- @param self
-- @return ComAudio#ComAudio ret (return value: ccs.ComAudio)
--------------------------------
--
-- @function [parent=#ComAudio] createInstance
-- @param self
-- @return Ref#Ref ret (return value: cc.Ref)
--------------------------------
-- js NA<br>
-- lua NA
-- @function [parent=#ComAudio] onRemove
-- @param self
-- @return ComAudio#ComAudio self (return value: ccs.ComAudio)
--------------------------------
--
-- @function [parent=#ComAudio] serialize
-- @param self
-- @param #void r
-- @return bool#bool ret (return value: bool)
--------------------------------
--
-- @function [parent=#ComAudio] init
-- @param self
-- @return bool#bool ret (return value: bool)
--------------------------------
-- js NA<br>
-- lua NA
-- @function [parent=#ComAudio] onAdd
-- @param self
-- @return ComAudio#ComAudio self (return value: ccs.ComAudio)
return nil

View File

@ -0,0 +1,52 @@
--------------------------------
-- @module ComController
-- @extend Component,InputDelegate
-- @parent_module ccs
--------------------------------
--
-- @function [parent=#ComController] create
-- @param self
-- @return ComController#ComController ret (return value: ccs.ComController)
--------------------------------
--
-- @function [parent=#ComController] createInstance
-- @param self
-- @return Ref#Ref ret (return value: cc.Ref)
--------------------------------
-- js NA<br>
-- lua NA
-- @function [parent=#ComController] onRemove
-- @param self
-- @return ComController#ComController self (return value: ccs.ComController)
--------------------------------
--
-- @function [parent=#ComController] update
-- @param self
-- @param #float delta
-- @return ComController#ComController self (return value: ccs.ComController)
--------------------------------
--
-- @function [parent=#ComController] init
-- @param self
-- @return bool#bool ret (return value: bool)
--------------------------------
-- js NA<br>
-- lua NA
-- @function [parent=#ComController] onAdd
-- @param self
-- @return ComController#ComController self (return value: ccs.ComController)
--------------------------------
-- js ctor
-- @function [parent=#ComController] ComController
-- @param self
-- @return ComController#ComController self (return value: ccs.ComController)
return nil

View File

@ -0,0 +1,71 @@
--------------------------------
-- @module ComExtensionData
-- @extend Component
-- @parent_module ccs
--------------------------------
--
-- @function [parent=#ComExtensionData] setActionTag
-- @param self
-- @param #int actionTag
-- @return ComExtensionData#ComExtensionData self (return value: ccs.ComExtensionData)
--------------------------------
--
-- @function [parent=#ComExtensionData] getCustomProperty
-- @param self
-- @return string#string ret (return value: string)
--------------------------------
--
-- @function [parent=#ComExtensionData] getActionTag
-- @param self
-- @return int#int ret (return value: int)
--------------------------------
--
-- @function [parent=#ComExtensionData] setCustomProperty
-- @param self
-- @param #string customProperty
-- @return ComExtensionData#ComExtensionData self (return value: ccs.ComExtensionData)
--------------------------------
--
-- @function [parent=#ComExtensionData] create
-- @param self
-- @return ComExtensionData#ComExtensionData ret (return value: ccs.ComExtensionData)
--------------------------------
--
-- @function [parent=#ComExtensionData] createInstance
-- @param self
-- @return Ref#Ref ret (return value: cc.Ref)
--------------------------------
--
-- @function [parent=#ComExtensionData] init
-- @param self
-- @return bool#bool ret (return value: bool)
--------------------------------
-- js NA<br>
-- lua NA
-- @function [parent=#ComExtensionData] onRemove
-- @param self
-- @return ComExtensionData#ComExtensionData self (return value: ccs.ComExtensionData)
--------------------------------
-- js NA<br>
-- lua NA
-- @function [parent=#ComExtensionData] onAdd
-- @param self
-- @return ComExtensionData#ComExtensionData self (return value: ccs.ComExtensionData)
--------------------------------
--
-- @function [parent=#ComExtensionData] ComExtensionData
-- @param self
-- @return ComExtensionData#ComExtensionData self (return value: ccs.ComExtensionData)
return nil

View File

@ -0,0 +1,56 @@
--------------------------------
-- @module ComRender
-- @extend Component
-- @parent_module ccs
--------------------------------
--
-- @function [parent=#ComRender] setNode
-- @param self
-- @param #cc.Node node
-- @return ComRender#ComRender self (return value: ccs.ComRender)
--------------------------------
--
-- @function [parent=#ComRender] getNode
-- @param self
-- @return Node#Node ret (return value: cc.Node)
--------------------------------
-- @overload self, cc.Node, char
-- @overload self
-- @function [parent=#ComRender] create
-- @param self
-- @param #cc.Node node
-- @param #char comName
-- @return ComRender#ComRender ret (return value: ccs.ComRender)
--------------------------------
--
-- @function [parent=#ComRender] createInstance
-- @param self
-- @return Ref#Ref ret (return value: cc.Ref)
--------------------------------
--
-- @function [parent=#ComRender] serialize
-- @param self
-- @param #void r
-- @return bool#bool ret (return value: bool)
--------------------------------
-- js NA<br>
-- lua NA
-- @function [parent=#ComRender] onRemove
-- @param self
-- @return ComRender#ComRender self (return value: ccs.ComRender)
--------------------------------
-- js NA<br>
-- lua NA
-- @function [parent=#ComRender] onAdd
-- @param self
-- @return ComRender#ComRender self (return value: ccs.ComRender)
return nil

View File

@ -0,0 +1,32 @@
--------------------------------
-- @module ContourData
-- @extend Ref
-- @parent_module ccs
--------------------------------
--
-- @function [parent=#ContourData] init
-- @param self
-- @return bool#bool ret (return value: bool)
--------------------------------
--
-- @function [parent=#ContourData] addVertex
-- @param self
-- @param #vec2_table vertex
-- @return ContourData#ContourData self (return value: ccs.ContourData)
--------------------------------
--
-- @function [parent=#ContourData] create
-- @param self
-- @return ContourData#ContourData ret (return value: ccs.ContourData)
--------------------------------
-- js ctor
-- @function [parent=#ContourData] ContourData
-- @param self
-- @return ContourData#ContourData self (return value: ccs.ContourData)
return nil

View File

@ -0,0 +1,155 @@
--------------------------------
-- @module Control
-- @extend Layer
-- @parent_module cc
--------------------------------
-- Tells whether the control is enabled.
-- @function [parent=#Control] setEnabled
-- @param self
-- @param #bool bEnabled
-- @return Control#Control self (return value: cc.Control)
--------------------------------
--
-- @function [parent=#Control] getState
-- @param self
-- @return int#int ret (return value: int)
--------------------------------
-- Sends action messages for the given control events.<br>
-- param controlEvents A bitmask whose set flags specify the control events for<br>
-- which action messages are sent. See "CCControlEvent" for bitmask constants.
-- @function [parent=#Control] sendActionsForControlEvents
-- @param self
-- @param #int controlEvents
-- @return Control#Control self (return value: cc.Control)
--------------------------------
-- A Boolean value that determines the control selected state.
-- @function [parent=#Control] setSelected
-- @param self
-- @param #bool bSelected
-- @return Control#Control self (return value: cc.Control)
--------------------------------
--
-- @function [parent=#Control] isEnabled
-- @param self
-- @return bool#bool ret (return value: bool)
--------------------------------
-- Updates the control layout using its current internal state.
-- @function [parent=#Control] needsLayout
-- @param self
-- @return Control#Control self (return value: cc.Control)
--------------------------------
--
-- @function [parent=#Control] hasVisibleParents
-- @param self
-- @return bool#bool ret (return value: bool)
--------------------------------
--
-- @function [parent=#Control] isSelected
-- @param self
-- @return bool#bool ret (return value: bool)
--------------------------------
-- Returns a boolean value that indicates whether a touch is inside the bounds<br>
-- of the receiver. The given touch must be relative to the world.<br>
-- param touch A Touch object that represents a touch.<br>
-- return Whether a touch is inside the receiver's rect.
-- @function [parent=#Control] isTouchInside
-- @param self
-- @param #cc.Touch touch
-- @return bool#bool ret (return value: bool)
--------------------------------
-- A Boolean value that determines whether the control is highlighted.
-- @function [parent=#Control] setHighlighted
-- @param self
-- @param #bool bHighlighted
-- @return Control#Control self (return value: cc.Control)
--------------------------------
-- Returns a point corresponding to the touh location converted into the<br>
-- control space coordinates.<br>
-- param touch A Touch object that represents a touch.
-- @function [parent=#Control] getTouchLocation
-- @param self
-- @param #cc.Touch touch
-- @return vec2_table#vec2_table ret (return value: vec2_table)
--------------------------------
--
-- @function [parent=#Control] isHighlighted
-- @param self
-- @return bool#bool ret (return value: bool)
--------------------------------
-- Creates a Control object
-- @function [parent=#Control] create
-- @param self
-- @return Control#Control ret (return value: cc.Control)
--------------------------------
--
-- @function [parent=#Control] onTouchMoved
-- @param self
-- @param #cc.Touch touch
-- @param #cc.Event event
-- @return Control#Control self (return value: cc.Control)
--------------------------------
--
-- @function [parent=#Control] isOpacityModifyRGB
-- @param self
-- @return bool#bool ret (return value: bool)
--------------------------------
--
-- @function [parent=#Control] setOpacityModifyRGB
-- @param self
-- @param #bool bOpacityModifyRGB
-- @return Control#Control self (return value: cc.Control)
--------------------------------
--
-- @function [parent=#Control] onTouchCancelled
-- @param self
-- @param #cc.Touch touch
-- @param #cc.Event event
-- @return Control#Control self (return value: cc.Control)
--------------------------------
--
-- @function [parent=#Control] init
-- @param self
-- @return bool#bool ret (return value: bool)
--------------------------------
--
-- @function [parent=#Control] onTouchEnded
-- @param self
-- @param #cc.Touch touch
-- @param #cc.Event event
-- @return Control#Control self (return value: cc.Control)
--------------------------------
--
-- @function [parent=#Control] onTouchBegan
-- @param self
-- @param #cc.Touch touch
-- @param #cc.Event event
-- @return bool#bool ret (return value: bool)
--------------------------------
-- js ctor
-- @function [parent=#Control] Control
-- @param self
-- @return Control#Control self (return value: cc.Control)
return nil

View File

@ -0,0 +1,418 @@
--------------------------------
-- @module ControlButton
-- @extend Control
-- @parent_module cc
--------------------------------
--
-- @function [parent=#ControlButton] isPushed
-- @param self
-- @return bool#bool ret (return value: bool)
--------------------------------
-- Sets the title label to use for the specified state.<br>
-- If a property is not specified for a state, the default is to use<br>
-- the ButtonStateNormal value.<br>
-- param label The title label to use for the specified state.<br>
-- param state The state that uses the specified title. The values are described<br>
-- in "CCControlState".
-- @function [parent=#ControlButton] setTitleLabelForState
-- @param self
-- @param #cc.Node label
-- @param #int state
-- @return ControlButton#ControlButton self (return value: cc.ControlButton)
--------------------------------
--
-- @function [parent=#ControlButton] setAdjustBackgroundImage
-- @param self
-- @param #bool adjustBackgroundImage
-- @return ControlButton#ControlButton self (return value: cc.ControlButton)
--------------------------------
-- Sets the title string to use for the specified state.<br>
-- If a property is not specified for a state, the default is to use<br>
-- the ButtonStateNormal value.<br>
-- param title The title string to use for the specified state.<br>
-- param state The state that uses the specified title. The values are described<br>
-- in "CCControlState".
-- @function [parent=#ControlButton] setTitleForState
-- @param self
-- @param #string title
-- @param #int state
-- @return ControlButton#ControlButton self (return value: cc.ControlButton)
--------------------------------
--
-- @function [parent=#ControlButton] setLabelAnchorPoint
-- @param self
-- @param #vec2_table var
-- @return ControlButton#ControlButton self (return value: cc.ControlButton)
--------------------------------
--
-- @function [parent=#ControlButton] getLabelAnchorPoint
-- @param self
-- @return vec2_table#vec2_table ret (return value: vec2_table)
--------------------------------
--
-- @function [parent=#ControlButton] initWithBackgroundSprite
-- @param self
-- @param #ccui.Scale9Sprite sprite
-- @return bool#bool ret (return value: bool)
--------------------------------
--
-- @function [parent=#ControlButton] getTitleTTFSizeForState
-- @param self
-- @param #int state
-- @return float#float ret (return value: float)
--------------------------------
--
-- @function [parent=#ControlButton] setTitleTTFForState
-- @param self
-- @param #string fntFile
-- @param #int state
-- @return ControlButton#ControlButton self (return value: cc.ControlButton)
--------------------------------
--
-- @function [parent=#ControlButton] setTitleTTFSizeForState
-- @param self
-- @param #float size
-- @param #int state
-- @return ControlButton#ControlButton self (return value: cc.ControlButton)
--------------------------------
--
-- @function [parent=#ControlButton] setTitleLabel
-- @param self
-- @param #cc.Node var
-- @return ControlButton#ControlButton self (return value: cc.ControlButton)
--------------------------------
--
-- @function [parent=#ControlButton] setPreferredSize
-- @param self
-- @param #size_table var
-- @return ControlButton#ControlButton self (return value: cc.ControlButton)
--------------------------------
--
-- @function [parent=#ControlButton] getCurrentTitleColor
-- @param self
-- @return color3b_table#color3b_table ret (return value: color3b_table)
--------------------------------
--
-- @function [parent=#ControlButton] setZoomOnTouchDown
-- @param self
-- @param #bool var
-- @return ControlButton#ControlButton self (return value: cc.ControlButton)
--------------------------------
--
-- @function [parent=#ControlButton] setBackgroundSprite
-- @param self
-- @param #ccui.Scale9Sprite var
-- @return ControlButton#ControlButton self (return value: cc.ControlButton)
--------------------------------
-- Returns the background sprite used for a state.<br>
-- param state The state that uses the background sprite. Possible values are<br>
-- described in "CCControlState".
-- @function [parent=#ControlButton] getBackgroundSpriteForState
-- @param self
-- @param #int state
-- @return Scale9Sprite#Scale9Sprite ret (return value: ccui.Scale9Sprite)
--------------------------------
--
-- @function [parent=#ControlButton] getHorizontalOrigin
-- @param self
-- @return int#int ret (return value: int)
--------------------------------
--
-- @function [parent=#ControlButton] initWithTitleAndFontNameAndFontSize
-- @param self
-- @param #string title
-- @param #string fontName
-- @param #float fontSize
-- @return bool#bool ret (return value: bool)
--------------------------------
-- Sets the font of the label, changes the label to a BMFont if neccessary.<br>
-- param fntFile The name of the font to change to<br>
-- param state The state that uses the specified fntFile. The values are described<br>
-- in "CCControlState".
-- @function [parent=#ControlButton] setTitleBMFontForState
-- @param self
-- @param #string fntFile
-- @param #int state
-- @return ControlButton#ControlButton self (return value: cc.ControlButton)
--------------------------------
--
-- @function [parent=#ControlButton] getScaleRatio
-- @param self
-- @return float#float ret (return value: float)
--------------------------------
--
-- @function [parent=#ControlButton] getTitleTTFForState
-- @param self
-- @param #int state
-- @return string#string ret (return value: string)
--------------------------------
--
-- @function [parent=#ControlButton] getBackgroundSprite
-- @param self
-- @return Scale9Sprite#Scale9Sprite ret (return value: ccui.Scale9Sprite)
--------------------------------
-- Returns the title color used for a state.<br>
-- param state The state that uses the specified color. The values are described<br>
-- in "CCControlState".<br>
-- return The color of the title for the specified state.
-- @function [parent=#ControlButton] getTitleColorForState
-- @param self
-- @param #int state
-- @return color3b_table#color3b_table ret (return value: color3b_table)
--------------------------------
-- Sets the color of the title to use for the specified state.<br>
-- param color The color of the title to use for the specified state.<br>
-- param state The state that uses the specified color. The values are described<br>
-- in "CCControlState".
-- @function [parent=#ControlButton] setTitleColorForState
-- @param self
-- @param #color3b_table color
-- @param #int state
-- @return ControlButton#ControlButton self (return value: cc.ControlButton)
--------------------------------
-- Adjust the background image. YES by default. If the property is set to NO, the<br>
-- background will use the prefered size of the background image.
-- @function [parent=#ControlButton] doesAdjustBackgroundImage
-- @param self
-- @return bool#bool ret (return value: bool)
--------------------------------
-- Sets the background spriteFrame to use for the specified button state.<br>
-- param spriteFrame The background spriteFrame to use for the specified state.<br>
-- param state The state that uses the specified image. The values are described<br>
-- in "CCControlState".
-- @function [parent=#ControlButton] setBackgroundSpriteFrameForState
-- @param self
-- @param #cc.SpriteFrame spriteFrame
-- @param #int state
-- @return ControlButton#ControlButton self (return value: cc.ControlButton)
--------------------------------
-- Sets the background sprite to use for the specified button state.<br>
-- param sprite The background sprite to use for the specified state.<br>
-- param state The state that uses the specified image. The values are described<br>
-- in "CCControlState".
-- @function [parent=#ControlButton] setBackgroundSpriteForState
-- @param self
-- @param #ccui.Scale9Sprite sprite
-- @param #int state
-- @return ControlButton#ControlButton self (return value: cc.ControlButton)
--------------------------------
--
-- @function [parent=#ControlButton] setScaleRatio
-- @param self
-- @param #float var
-- @return ControlButton#ControlButton self (return value: cc.ControlButton)
--------------------------------
--
-- @function [parent=#ControlButton] getTitleBMFontForState
-- @param self
-- @param #int state
-- @return string#string ret (return value: string)
--------------------------------
--
-- @function [parent=#ControlButton] getTitleLabel
-- @param self
-- @return Node#Node ret (return value: cc.Node)
--------------------------------
--
-- @function [parent=#ControlButton] getPreferredSize
-- @param self
-- @return size_table#size_table ret (return value: size_table)
--------------------------------
--
-- @function [parent=#ControlButton] getVerticalMargin
-- @param self
-- @return int#int ret (return value: int)
--------------------------------
-- Returns the title label used for a state.<br>
-- param state The state that uses the title label. Possible values are described<br>
-- in "CCControlState".
-- @function [parent=#ControlButton] getTitleLabelForState
-- @param self
-- @param #int state
-- @return Node#Node ret (return value: cc.Node)
--------------------------------
--
-- @function [parent=#ControlButton] setMargins
-- @param self
-- @param #int marginH
-- @param #int marginV
-- @return ControlButton#ControlButton self (return value: cc.ControlButton)
--------------------------------
-- @overload self
-- @overload self
-- @function [parent=#ControlButton] getCurrentTitle
-- @param self
-- @return string#string ret (return value: string)
--------------------------------
--
-- @function [parent=#ControlButton] initWithLabelAndBackgroundSprite
-- @param self
-- @param #cc.Node label
-- @param #ccui.Scale9Sprite backgroundSprite
-- @return bool#bool ret (return value: bool)
--------------------------------
--
-- @function [parent=#ControlButton] getZoomOnTouchDown
-- @param self
-- @return bool#bool ret (return value: bool)
--------------------------------
-- Returns the title used for a state.<br>
-- param state The state that uses the title. Possible values are described in<br>
-- "CCControlState".<br>
-- return The title for the specified state.
-- @function [parent=#ControlButton] getTitleForState
-- @param self
-- @param #int state
-- @return string#string ret (return value: string)
--------------------------------
-- @overload self, ccui.Scale9Sprite
-- @overload self
-- @overload self, cc.Node, ccui.Scale9Sprite
-- @overload self, string, string, float
-- @function [parent=#ControlButton] create
-- @param self
-- @param #string title
-- @param #string fontName
-- @param #float fontSize
-- @return ControlButton#ControlButton ret (return value: cc.ControlButton)
--------------------------------
--
-- @function [parent=#ControlButton] setEnabled
-- @param self
-- @param #bool enabled
-- @return ControlButton#ControlButton self (return value: cc.ControlButton)
--------------------------------
--
-- @function [parent=#ControlButton] onTouchEnded
-- @param self
-- @param #cc.Touch touch
-- @param #cc.Event event
-- @return ControlButton#ControlButton self (return value: cc.ControlButton)
--------------------------------
--
-- @function [parent=#ControlButton] setColor
-- @param self
-- @param #color3b_table
-- @return ControlButton#ControlButton self (return value: cc.ControlButton)
--------------------------------
--
-- @function [parent=#ControlButton] onTouchMoved
-- @param self
-- @param #cc.Touch touch
-- @param #cc.Event event
-- @return ControlButton#ControlButton self (return value: cc.ControlButton)
--------------------------------
--
-- @function [parent=#ControlButton] setSelected
-- @param self
-- @param #bool enabled
-- @return ControlButton#ControlButton self (return value: cc.ControlButton)
--------------------------------
--
-- @function [parent=#ControlButton] onTouchCancelled
-- @param self
-- @param #cc.Touch touch
-- @param #cc.Event event
-- @return ControlButton#ControlButton self (return value: cc.ControlButton)
--------------------------------
--
-- @function [parent=#ControlButton] needsLayout
-- @param self
-- @return ControlButton#ControlButton self (return value: cc.ControlButton)
--------------------------------
--
-- @function [parent=#ControlButton] onTouchBegan
-- @param self
-- @param #cc.Touch touch
-- @param #cc.Event event
-- @return bool#bool ret (return value: bool)
--------------------------------
--
-- @function [parent=#ControlButton] updateDisplayedOpacity
-- @param self
-- @param #unsigned char parentOpacity
-- @return ControlButton#ControlButton self (return value: cc.ControlButton)
--------------------------------
--
-- @function [parent=#ControlButton] init
-- @param self
-- @return bool#bool ret (return value: bool)
--------------------------------
--
-- @function [parent=#ControlButton] setHighlighted
-- @param self
-- @param #bool enabled
-- @return ControlButton#ControlButton self (return value: cc.ControlButton)
--------------------------------
--
-- @function [parent=#ControlButton] updateDisplayedColor
-- @param self
-- @param #color3b_table parentColor
-- @return ControlButton#ControlButton self (return value: cc.ControlButton)
--------------------------------
--
-- @function [parent=#ControlButton] setOpacity
-- @param self
-- @param #unsigned char var
-- @return ControlButton#ControlButton self (return value: cc.ControlButton)
--------------------------------
-- js ctor
-- @function [parent=#ControlButton] ControlButton
-- @param self
-- @return ControlButton#ControlButton self (return value: cc.ControlButton)
return nil

View File

@ -0,0 +1,95 @@
--------------------------------
-- @module ControlColourPicker
-- @extend Control
-- @parent_module cc
--------------------------------
--
-- @function [parent=#ControlColourPicker] hueSliderValueChanged
-- @param self
-- @param #cc.Ref sender
-- @param #int controlEvent
-- @return ControlColourPicker#ControlColourPicker self (return value: cc.ControlColourPicker)
--------------------------------
--
-- @function [parent=#ControlColourPicker] getHuePicker
-- @param self
-- @return ControlHuePicker#ControlHuePicker ret (return value: cc.ControlHuePicker)
--------------------------------
--
-- @function [parent=#ControlColourPicker] getcolourPicker
-- @param self
-- @return ControlSaturationBrightnessPicker#ControlSaturationBrightnessPicker ret (return value: cc.ControlSaturationBrightnessPicker)
--------------------------------
--
-- @function [parent=#ControlColourPicker] setBackground
-- @param self
-- @param #cc.Sprite var
-- @return ControlColourPicker#ControlColourPicker self (return value: cc.ControlColourPicker)
--------------------------------
--
-- @function [parent=#ControlColourPicker] setcolourPicker
-- @param self
-- @param #cc.ControlSaturationBrightnessPicker var
-- @return ControlColourPicker#ControlColourPicker self (return value: cc.ControlColourPicker)
--------------------------------
--
-- @function [parent=#ControlColourPicker] colourSliderValueChanged
-- @param self
-- @param #cc.Ref sender
-- @param #int controlEvent
-- @return ControlColourPicker#ControlColourPicker self (return value: cc.ControlColourPicker)
--------------------------------
--
-- @function [parent=#ControlColourPicker] setHuePicker
-- @param self
-- @param #cc.ControlHuePicker var
-- @return ControlColourPicker#ControlColourPicker self (return value: cc.ControlColourPicker)
--------------------------------
--
-- @function [parent=#ControlColourPicker] getBackground
-- @param self
-- @return Sprite#Sprite ret (return value: cc.Sprite)
--------------------------------
--
-- @function [parent=#ControlColourPicker] create
-- @param self
-- @return ControlColourPicker#ControlColourPicker ret (return value: cc.ControlColourPicker)
--------------------------------
--
-- @function [parent=#ControlColourPicker] setEnabled
-- @param self
-- @param #bool bEnabled
-- @return ControlColourPicker#ControlColourPicker self (return value: cc.ControlColourPicker)
--------------------------------
--
-- @function [parent=#ControlColourPicker] init
-- @param self
-- @return bool#bool ret (return value: bool)
--------------------------------
--
-- @function [parent=#ControlColourPicker] setColor
-- @param self
-- @param #color3b_table colorValue
-- @return ControlColourPicker#ControlColourPicker self (return value: cc.ControlColourPicker)
--------------------------------
-- js ctor<br>
-- lua new
-- @function [parent=#ControlColourPicker] ControlColourPicker
-- @param self
-- @return ControlColourPicker#ControlColourPicker self (return value: cc.ControlColourPicker)
return nil

View File

@ -0,0 +1,110 @@
--------------------------------
-- @module ControlHuePicker
-- @extend Control
-- @parent_module cc
--------------------------------
--
-- @function [parent=#ControlHuePicker] initWithTargetAndPos
-- @param self
-- @param #cc.Node target
-- @param #vec2_table pos
-- @return bool#bool ret (return value: bool)
--------------------------------
--
-- @function [parent=#ControlHuePicker] setHue
-- @param self
-- @param #float val
-- @return ControlHuePicker#ControlHuePicker self (return value: cc.ControlHuePicker)
--------------------------------
--
-- @function [parent=#ControlHuePicker] getStartPos
-- @param self
-- @return vec2_table#vec2_table ret (return value: vec2_table)
--------------------------------
--
-- @function [parent=#ControlHuePicker] getHue
-- @param self
-- @return float#float ret (return value: float)
--------------------------------
--
-- @function [parent=#ControlHuePicker] getSlider
-- @param self
-- @return Sprite#Sprite ret (return value: cc.Sprite)
--------------------------------
--
-- @function [parent=#ControlHuePicker] setBackground
-- @param self
-- @param #cc.Sprite var
-- @return ControlHuePicker#ControlHuePicker self (return value: cc.ControlHuePicker)
--------------------------------
--
-- @function [parent=#ControlHuePicker] setHuePercentage
-- @param self
-- @param #float val
-- @return ControlHuePicker#ControlHuePicker self (return value: cc.ControlHuePicker)
--------------------------------
--
-- @function [parent=#ControlHuePicker] getBackground
-- @param self
-- @return Sprite#Sprite ret (return value: cc.Sprite)
--------------------------------
--
-- @function [parent=#ControlHuePicker] getHuePercentage
-- @param self
-- @return float#float ret (return value: float)
--------------------------------
--
-- @function [parent=#ControlHuePicker] setSlider
-- @param self
-- @param #cc.Sprite var
-- @return ControlHuePicker#ControlHuePicker self (return value: cc.ControlHuePicker)
--------------------------------
--
-- @function [parent=#ControlHuePicker] create
-- @param self
-- @param #cc.Node target
-- @param #vec2_table pos
-- @return ControlHuePicker#ControlHuePicker ret (return value: cc.ControlHuePicker)
--------------------------------
--
-- @function [parent=#ControlHuePicker] setEnabled
-- @param self
-- @param #bool enabled
-- @return ControlHuePicker#ControlHuePicker self (return value: cc.ControlHuePicker)
--------------------------------
--
-- @function [parent=#ControlHuePicker] onTouchMoved
-- @param self
-- @param #cc.Touch pTouch
-- @param #cc.Event pEvent
-- @return ControlHuePicker#ControlHuePicker self (return value: cc.ControlHuePicker)
--------------------------------
--
-- @function [parent=#ControlHuePicker] onTouchBegan
-- @param self
-- @param #cc.Touch touch
-- @param #cc.Event pEvent
-- @return bool#bool ret (return value: bool)
--------------------------------
-- js ctor
-- @function [parent=#ControlHuePicker] ControlHuePicker
-- @param self
-- @return ControlHuePicker#ControlHuePicker self (return value: cc.ControlHuePicker)
return nil

View File

@ -0,0 +1,189 @@
--------------------------------
-- @module ControlPotentiometer
-- @extend Control
-- @parent_module cc
--------------------------------
--
-- @function [parent=#ControlPotentiometer] setPreviousLocation
-- @param self
-- @param #vec2_table var
-- @return ControlPotentiometer#ControlPotentiometer self (return value: cc.ControlPotentiometer)
--------------------------------
--
-- @function [parent=#ControlPotentiometer] setValue
-- @param self
-- @param #float value
-- @return ControlPotentiometer#ControlPotentiometer self (return value: cc.ControlPotentiometer)
--------------------------------
--
-- @function [parent=#ControlPotentiometer] getProgressTimer
-- @param self
-- @return ProgressTimer#ProgressTimer ret (return value: cc.ProgressTimer)
--------------------------------
--
-- @function [parent=#ControlPotentiometer] getMaximumValue
-- @param self
-- @return float#float ret (return value: float)
--------------------------------
-- Returns the angle in degree between line1 and line2.
-- @function [parent=#ControlPotentiometer] angleInDegreesBetweenLineFromPoint_toPoint_toLineFromPoint_toPoint
-- @param self
-- @param #vec2_table beginLineA
-- @param #vec2_table endLineA
-- @param #vec2_table beginLineB
-- @param #vec2_table endLineB
-- @return float#float ret (return value: float)
--------------------------------
-- Factorize the event dispath into these methods.
-- @function [parent=#ControlPotentiometer] potentiometerBegan
-- @param self
-- @param #vec2_table location
-- @return ControlPotentiometer#ControlPotentiometer self (return value: cc.ControlPotentiometer)
--------------------------------
--
-- @function [parent=#ControlPotentiometer] setMaximumValue
-- @param self
-- @param #float maximumValue
-- @return ControlPotentiometer#ControlPotentiometer self (return value: cc.ControlPotentiometer)
--------------------------------
--
-- @function [parent=#ControlPotentiometer] getMinimumValue
-- @param self
-- @return float#float ret (return value: float)
--------------------------------
--
-- @function [parent=#ControlPotentiometer] setThumbSprite
-- @param self
-- @param #cc.Sprite var
-- @return ControlPotentiometer#ControlPotentiometer self (return value: cc.ControlPotentiometer)
--------------------------------
--
-- @function [parent=#ControlPotentiometer] getValue
-- @param self
-- @return float#float ret (return value: float)
--------------------------------
--
-- @function [parent=#ControlPotentiometer] getPreviousLocation
-- @param self
-- @return vec2_table#vec2_table ret (return value: vec2_table)
--------------------------------
-- Returns the distance between the point1 and point2.
-- @function [parent=#ControlPotentiometer] distanceBetweenPointAndPoint
-- @param self
-- @param #vec2_table point1
-- @param #vec2_table point2
-- @return float#float ret (return value: float)
--------------------------------
--
-- @function [parent=#ControlPotentiometer] potentiometerEnded
-- @param self
-- @param #vec2_table location
-- @return ControlPotentiometer#ControlPotentiometer self (return value: cc.ControlPotentiometer)
--------------------------------
--
-- @function [parent=#ControlPotentiometer] setProgressTimer
-- @param self
-- @param #cc.ProgressTimer var
-- @return ControlPotentiometer#ControlPotentiometer self (return value: cc.ControlPotentiometer)
--------------------------------
--
-- @function [parent=#ControlPotentiometer] setMinimumValue
-- @param self
-- @param #float minimumValue
-- @return ControlPotentiometer#ControlPotentiometer self (return value: cc.ControlPotentiometer)
--------------------------------
--
-- @function [parent=#ControlPotentiometer] getThumbSprite
-- @param self
-- @return Sprite#Sprite ret (return value: cc.Sprite)
--------------------------------
-- Initializes a potentiometer with a track sprite and a progress bar.<br>
-- param trackSprite Sprite, that is used as a background.<br>
-- param progressTimer ProgressTimer, that is used as a progress bar.
-- @function [parent=#ControlPotentiometer] initWithTrackSprite_ProgressTimer_ThumbSprite
-- @param self
-- @param #cc.Sprite trackSprite
-- @param #cc.ProgressTimer progressTimer
-- @param #cc.Sprite thumbSprite
-- @return bool#bool ret (return value: bool)
--------------------------------
--
-- @function [parent=#ControlPotentiometer] potentiometerMoved
-- @param self
-- @param #vec2_table location
-- @return ControlPotentiometer#ControlPotentiometer self (return value: cc.ControlPotentiometer)
--------------------------------
-- Creates potentiometer with a track filename and a progress filename.
-- @function [parent=#ControlPotentiometer] create
-- @param self
-- @param #char backgroundFile
-- @param #char progressFile
-- @param #char thumbFile
-- @return ControlPotentiometer#ControlPotentiometer ret (return value: cc.ControlPotentiometer)
--------------------------------
--
-- @function [parent=#ControlPotentiometer] isTouchInside
-- @param self
-- @param #cc.Touch touch
-- @return bool#bool ret (return value: bool)
--------------------------------
--
-- @function [parent=#ControlPotentiometer] setEnabled
-- @param self
-- @param #bool enabled
-- @return ControlPotentiometer#ControlPotentiometer self (return value: cc.ControlPotentiometer)
--------------------------------
--
-- @function [parent=#ControlPotentiometer] onTouchMoved
-- @param self
-- @param #cc.Touch pTouch
-- @param #cc.Event pEvent
-- @return ControlPotentiometer#ControlPotentiometer self (return value: cc.ControlPotentiometer)
--------------------------------
--
-- @function [parent=#ControlPotentiometer] onTouchEnded
-- @param self
-- @param #cc.Touch pTouch
-- @param #cc.Event pEvent
-- @return ControlPotentiometer#ControlPotentiometer self (return value: cc.ControlPotentiometer)
--------------------------------
--
-- @function [parent=#ControlPotentiometer] onTouchBegan
-- @param self
-- @param #cc.Touch pTouch
-- @param #cc.Event pEvent
-- @return bool#bool ret (return value: bool)
--------------------------------
-- js ctor<br>
-- lua new
-- @function [parent=#ControlPotentiometer] ControlPotentiometer
-- @param self
-- @return ControlPotentiometer#ControlPotentiometer self (return value: cc.ControlPotentiometer)
return nil

View File

@ -0,0 +1,78 @@
--------------------------------
-- @module ControlSaturationBrightnessPicker
-- @extend Control
-- @parent_module cc
--------------------------------
--
-- @function [parent=#ControlSaturationBrightnessPicker] getShadow
-- @param self
-- @return Sprite#Sprite ret (return value: cc.Sprite)
--------------------------------
--
-- @function [parent=#ControlSaturationBrightnessPicker] initWithTargetAndPos
-- @param self
-- @param #cc.Node target
-- @param #vec2_table pos
-- @return bool#bool ret (return value: bool)
--------------------------------
--
-- @function [parent=#ControlSaturationBrightnessPicker] getStartPos
-- @param self
-- @return vec2_table#vec2_table ret (return value: vec2_table)
--------------------------------
--
-- @function [parent=#ControlSaturationBrightnessPicker] getOverlay
-- @param self
-- @return Sprite#Sprite ret (return value: cc.Sprite)
--------------------------------
--
-- @function [parent=#ControlSaturationBrightnessPicker] getSlider
-- @param self
-- @return Sprite#Sprite ret (return value: cc.Sprite)
--------------------------------
--
-- @function [parent=#ControlSaturationBrightnessPicker] getBackground
-- @param self
-- @return Sprite#Sprite ret (return value: cc.Sprite)
--------------------------------
--
-- @function [parent=#ControlSaturationBrightnessPicker] getSaturation
-- @param self
-- @return float#float ret (return value: float)
--------------------------------
--
-- @function [parent=#ControlSaturationBrightnessPicker] getBrightness
-- @param self
-- @return float#float ret (return value: float)
--------------------------------
--
-- @function [parent=#ControlSaturationBrightnessPicker] create
-- @param self
-- @param #cc.Node target
-- @param #vec2_table pos
-- @return ControlSaturationBrightnessPicker#ControlSaturationBrightnessPicker ret (return value: cc.ControlSaturationBrightnessPicker)
--------------------------------
--
-- @function [parent=#ControlSaturationBrightnessPicker] setEnabled
-- @param self
-- @param #bool enabled
-- @return ControlSaturationBrightnessPicker#ControlSaturationBrightnessPicker self (return value: cc.ControlSaturationBrightnessPicker)
--------------------------------
-- js ctor
-- @function [parent=#ControlSaturationBrightnessPicker] ControlSaturationBrightnessPicker
-- @param self
-- @return ControlSaturationBrightnessPicker#ControlSaturationBrightnessPicker self (return value: cc.ControlSaturationBrightnessPicker)
return nil

View File

@ -0,0 +1,182 @@
--------------------------------
-- @module ControlSlider
-- @extend Control
-- @parent_module cc
--------------------------------
--
-- @function [parent=#ControlSlider] setBackgroundSprite
-- @param self
-- @param #cc.Sprite var
-- @return ControlSlider#ControlSlider self (return value: cc.ControlSlider)
--------------------------------
--
-- @function [parent=#ControlSlider] getMaximumAllowedValue
-- @param self
-- @return float#float ret (return value: float)
--------------------------------
-- @overload self, cc.Sprite, cc.Sprite, cc.Sprite, cc.Sprite
-- @overload self, cc.Sprite, cc.Sprite, cc.Sprite
-- @function [parent=#ControlSlider] initWithSprites
-- @param self
-- @param #cc.Sprite backgroundSprite
-- @param #cc.Sprite progressSprite
-- @param #cc.Sprite thumbSprite
-- @param #cc.Sprite selectedThumbSprite
-- @return bool#bool ret (return value: bool)
--------------------------------
--
-- @function [parent=#ControlSlider] getMinimumAllowedValue
-- @param self
-- @return float#float ret (return value: float)
--------------------------------
--
-- @function [parent=#ControlSlider] getMaximumValue
-- @param self
-- @return float#float ret (return value: float)
--------------------------------
--
-- @function [parent=#ControlSlider] getSelectedThumbSprite
-- @param self
-- @return Sprite#Sprite ret (return value: cc.Sprite)
--------------------------------
--
-- @function [parent=#ControlSlider] setProgressSprite
-- @param self
-- @param #cc.Sprite var
-- @return ControlSlider#ControlSlider self (return value: cc.ControlSlider)
--------------------------------
--
-- @function [parent=#ControlSlider] setMaximumValue
-- @param self
-- @param #float val
-- @return ControlSlider#ControlSlider self (return value: cc.ControlSlider)
--------------------------------
--
-- @function [parent=#ControlSlider] getMinimumValue
-- @param self
-- @return float#float ret (return value: float)
--------------------------------
--
-- @function [parent=#ControlSlider] setThumbSprite
-- @param self
-- @param #cc.Sprite var
-- @return ControlSlider#ControlSlider self (return value: cc.ControlSlider)
--------------------------------
--
-- @function [parent=#ControlSlider] getValue
-- @param self
-- @return float#float ret (return value: float)
--------------------------------
--
-- @function [parent=#ControlSlider] getBackgroundSprite
-- @param self
-- @return Sprite#Sprite ret (return value: cc.Sprite)
--------------------------------
--
-- @function [parent=#ControlSlider] getThumbSprite
-- @param self
-- @return Sprite#Sprite ret (return value: cc.Sprite)
--------------------------------
--
-- @function [parent=#ControlSlider] setValue
-- @param self
-- @param #float val
-- @return ControlSlider#ControlSlider self (return value: cc.ControlSlider)
--------------------------------
--
-- @function [parent=#ControlSlider] locationFromTouch
-- @param self
-- @param #cc.Touch touch
-- @return vec2_table#vec2_table ret (return value: vec2_table)
--------------------------------
--
-- @function [parent=#ControlSlider] setMinimumValue
-- @param self
-- @param #float val
-- @return ControlSlider#ControlSlider self (return value: cc.ControlSlider)
--------------------------------
--
-- @function [parent=#ControlSlider] setMinimumAllowedValue
-- @param self
-- @param #float var
-- @return ControlSlider#ControlSlider self (return value: cc.ControlSlider)
--------------------------------
--
-- @function [parent=#ControlSlider] getProgressSprite
-- @param self
-- @return Sprite#Sprite ret (return value: cc.Sprite)
--------------------------------
--
-- @function [parent=#ControlSlider] setSelectedThumbSprite
-- @param self
-- @param #cc.Sprite var
-- @return ControlSlider#ControlSlider self (return value: cc.ControlSlider)
--------------------------------
--
-- @function [parent=#ControlSlider] setMaximumAllowedValue
-- @param self
-- @param #float var
-- @return ControlSlider#ControlSlider self (return value: cc.ControlSlider)
--------------------------------
-- @overload self, cc.Sprite, cc.Sprite, cc.Sprite
-- @overload self, char, char, char
-- @overload self, char, char, char, char
-- @overload self, cc.Sprite, cc.Sprite, cc.Sprite, cc.Sprite
-- @function [parent=#ControlSlider] create
-- @param self
-- @param #cc.Sprite backgroundSprite
-- @param #cc.Sprite pogressSprite
-- @param #cc.Sprite thumbSprite
-- @param #cc.Sprite selectedThumbSprite
-- @return ControlSlider#ControlSlider ret (return value: cc.ControlSlider)
--------------------------------
--
-- @function [parent=#ControlSlider] isTouchInside
-- @param self
-- @param #cc.Touch touch
-- @return bool#bool ret (return value: bool)
--------------------------------
--
-- @function [parent=#ControlSlider] setEnabled
-- @param self
-- @param #bool enabled
-- @return ControlSlider#ControlSlider self (return value: cc.ControlSlider)
--------------------------------
--
-- @function [parent=#ControlSlider] needsLayout
-- @param self
-- @return ControlSlider#ControlSlider self (return value: cc.ControlSlider)
--------------------------------
-- js ctor<br>
-- lua new
-- @function [parent=#ControlSlider] ControlSlider
-- @param self
-- @return ControlSlider#ControlSlider self (return value: cc.ControlSlider)
return nil

View File

@ -0,0 +1,187 @@
--------------------------------
-- @module ControlStepper
-- @extend Control
-- @parent_module cc
--------------------------------
--
-- @function [parent=#ControlStepper] getMinusSprite
-- @param self
-- @return Sprite#Sprite ret (return value: cc.Sprite)
--------------------------------
--
-- @function [parent=#ControlStepper] setValue
-- @param self
-- @param #double value
-- @return ControlStepper#ControlStepper self (return value: cc.ControlStepper)
--------------------------------
--
-- @function [parent=#ControlStepper] setStepValue
-- @param self
-- @param #double stepValue
-- @return ControlStepper#ControlStepper self (return value: cc.ControlStepper)
--------------------------------
--
-- @function [parent=#ControlStepper] initWithMinusSpriteAndPlusSprite
-- @param self
-- @param #cc.Sprite minusSprite
-- @param #cc.Sprite plusSprite
-- @return bool#bool ret (return value: bool)
--------------------------------
-- Set the numeric value of the stepper. If send is true, the Control::EventType::VALUE_CHANGED is sent.
-- @function [parent=#ControlStepper] setValueWithSendingEvent
-- @param self
-- @param #double value
-- @param #bool send
-- @return ControlStepper#ControlStepper self (return value: cc.ControlStepper)
--------------------------------
--
-- @function [parent=#ControlStepper] setMaximumValue
-- @param self
-- @param #double maximumValue
-- @return ControlStepper#ControlStepper self (return value: cc.ControlStepper)
--------------------------------
--
-- @function [parent=#ControlStepper] getMinusLabel
-- @param self
-- @return Label#Label ret (return value: cc.Label)
--------------------------------
--
-- @function [parent=#ControlStepper] getPlusLabel
-- @param self
-- @return Label#Label ret (return value: cc.Label)
--------------------------------
--
-- @function [parent=#ControlStepper] setWraps
-- @param self
-- @param #bool wraps
-- @return ControlStepper#ControlStepper self (return value: cc.ControlStepper)
--------------------------------
--
-- @function [parent=#ControlStepper] setMinusLabel
-- @param self
-- @param #cc.Label var
-- @return ControlStepper#ControlStepper self (return value: cc.ControlStepper)
--------------------------------
-- Start the autorepeat increment/decrement.
-- @function [parent=#ControlStepper] startAutorepeat
-- @param self
-- @return ControlStepper#ControlStepper self (return value: cc.ControlStepper)
--------------------------------
-- Update the layout of the stepper with the given touch location.
-- @function [parent=#ControlStepper] updateLayoutUsingTouchLocation
-- @param self
-- @param #vec2_table location
-- @return ControlStepper#ControlStepper self (return value: cc.ControlStepper)
--------------------------------
--
-- @function [parent=#ControlStepper] isContinuous
-- @param self
-- @return bool#bool ret (return value: bool)
--------------------------------
-- Stop the autorepeat.
-- @function [parent=#ControlStepper] stopAutorepeat
-- @param self
-- @return ControlStepper#ControlStepper self (return value: cc.ControlStepper)
--------------------------------
--
-- @function [parent=#ControlStepper] setMinimumValue
-- @param self
-- @param #double minimumValue
-- @return ControlStepper#ControlStepper self (return value: cc.ControlStepper)
--------------------------------
--
-- @function [parent=#ControlStepper] setPlusLabel
-- @param self
-- @param #cc.Label var
-- @return ControlStepper#ControlStepper self (return value: cc.ControlStepper)
--------------------------------
--
-- @function [parent=#ControlStepper] getValue
-- @param self
-- @return double#double ret (return value: double)
--------------------------------
--
-- @function [parent=#ControlStepper] getPlusSprite
-- @param self
-- @return Sprite#Sprite ret (return value: cc.Sprite)
--------------------------------
--
-- @function [parent=#ControlStepper] setPlusSprite
-- @param self
-- @param #cc.Sprite var
-- @return ControlStepper#ControlStepper self (return value: cc.ControlStepper)
--------------------------------
--
-- @function [parent=#ControlStepper] setMinusSprite
-- @param self
-- @param #cc.Sprite var
-- @return ControlStepper#ControlStepper self (return value: cc.ControlStepper)
--------------------------------
--
-- @function [parent=#ControlStepper] create
-- @param self
-- @param #cc.Sprite minusSprite
-- @param #cc.Sprite plusSprite
-- @return ControlStepper#ControlStepper ret (return value: cc.ControlStepper)
--------------------------------
--
-- @function [parent=#ControlStepper] onTouchMoved
-- @param self
-- @param #cc.Touch pTouch
-- @param #cc.Event pEvent
-- @return ControlStepper#ControlStepper self (return value: cc.ControlStepper)
--------------------------------
--
-- @function [parent=#ControlStepper] onTouchEnded
-- @param self
-- @param #cc.Touch pTouch
-- @param #cc.Event pEvent
-- @return ControlStepper#ControlStepper self (return value: cc.ControlStepper)
--------------------------------
--
-- @function [parent=#ControlStepper] update
-- @param self
-- @param #float dt
-- @return ControlStepper#ControlStepper self (return value: cc.ControlStepper)
--------------------------------
--
-- @function [parent=#ControlStepper] onTouchBegan
-- @param self
-- @param #cc.Touch pTouch
-- @param #cc.Event pEvent
-- @return bool#bool ret (return value: bool)
--------------------------------
-- js ctor<br>
-- lua new
-- @function [parent=#ControlStepper] ControlStepper
-- @param self
-- @return ControlStepper#ControlStepper self (return value: cc.ControlStepper)
return nil

View File

@ -0,0 +1,107 @@
--------------------------------
-- @module ControlSwitch
-- @extend Control
-- @parent_module cc
--------------------------------
-- @overload self, bool
-- @overload self, bool, bool
-- @function [parent=#ControlSwitch] setOn
-- @param self
-- @param #bool isOn
-- @param #bool animated
-- @return ControlSwitch#ControlSwitch self (return value: cc.ControlSwitch)
--------------------------------
--
-- @function [parent=#ControlSwitch] locationFromTouch
-- @param self
-- @param #cc.Touch touch
-- @return vec2_table#vec2_table ret (return value: vec2_table)
--------------------------------
--
-- @function [parent=#ControlSwitch] isOn
-- @param self
-- @return bool#bool ret (return value: bool)
--------------------------------
-- @overload self, cc.Sprite, cc.Sprite, cc.Sprite, cc.Sprite, cc.Label, cc.Label
-- @overload self, cc.Sprite, cc.Sprite, cc.Sprite, cc.Sprite
-- @function [parent=#ControlSwitch] initWithMaskSprite
-- @param self
-- @param #cc.Sprite maskSprite
-- @param #cc.Sprite onSprite
-- @param #cc.Sprite offSprite
-- @param #cc.Sprite thumbSprite
-- @param #cc.Label onLabel
-- @param #cc.Label offLabel
-- @return bool#bool ret (return value: bool)
--------------------------------
--
-- @function [parent=#ControlSwitch] hasMoved
-- @param self
-- @return bool#bool ret (return value: bool)
--------------------------------
-- @overload self, cc.Sprite, cc.Sprite, cc.Sprite, cc.Sprite
-- @overload self, cc.Sprite, cc.Sprite, cc.Sprite, cc.Sprite, cc.Label, cc.Label
-- @function [parent=#ControlSwitch] create
-- @param self
-- @param #cc.Sprite maskSprite
-- @param #cc.Sprite onSprite
-- @param #cc.Sprite offSprite
-- @param #cc.Sprite thumbSprite
-- @param #cc.Label onLabel
-- @param #cc.Label offLabel
-- @return ControlSwitch#ControlSwitch ret (return value: cc.ControlSwitch)
--------------------------------
--
-- @function [parent=#ControlSwitch] setEnabled
-- @param self
-- @param #bool enabled
-- @return ControlSwitch#ControlSwitch self (return value: cc.ControlSwitch)
--------------------------------
--
-- @function [parent=#ControlSwitch] onTouchMoved
-- @param self
-- @param #cc.Touch pTouch
-- @param #cc.Event pEvent
-- @return ControlSwitch#ControlSwitch self (return value: cc.ControlSwitch)
--------------------------------
--
-- @function [parent=#ControlSwitch] onTouchEnded
-- @param self
-- @param #cc.Touch pTouch
-- @param #cc.Event pEvent
-- @return ControlSwitch#ControlSwitch self (return value: cc.ControlSwitch)
--------------------------------
--
-- @function [parent=#ControlSwitch] onTouchCancelled
-- @param self
-- @param #cc.Touch pTouch
-- @param #cc.Event pEvent
-- @return ControlSwitch#ControlSwitch self (return value: cc.ControlSwitch)
--------------------------------
--
-- @function [parent=#ControlSwitch] onTouchBegan
-- @param self
-- @param #cc.Touch pTouch
-- @param #cc.Event pEvent
-- @return bool#bool ret (return value: bool)
--------------------------------
-- js ctor<br>
-- lua new
-- @function [parent=#ControlSwitch] ControlSwitch
-- @param self
-- @return ControlSwitch#ControlSwitch self (return value: cc.ControlSwitch)
return nil

View File

@ -0,0 +1,74 @@
--------------------------------
-- @module Controller
-- @parent_module cc
--------------------------------
-- Activate receives key event from external key. e.g. back,menu.<br>
-- Controller receives only standard key which contained within enum Key by default.<br>
-- warning The API only work on the android platform for support diversified game controller.<br>
-- param externalKeyCode External key code.<br>
-- param receive True if external key event on this controller should be receive, false otherwise.
-- @function [parent=#Controller] receiveExternalKeyEvent
-- @param self
-- @param #int externalKeyCode
-- @param #bool receive
-- @return Controller#Controller self (return value: cc.Controller)
--------------------------------
-- Gets the name of this Controller object.
-- @function [parent=#Controller] getDeviceName
-- @param self
-- @return string#string ret (return value: string)
--------------------------------
-- Indicates whether the Controller is connected.
-- @function [parent=#Controller] isConnected
-- @param self
-- @return bool#bool ret (return value: bool)
--------------------------------
-- Gets the Controller id.
-- @function [parent=#Controller] getDeviceId
-- @param self
-- @return int#int ret (return value: int)
--------------------------------
-- Changes the tag that is used to identify the controller easily.<br>
-- param tag A integer that identifies the controller.
-- @function [parent=#Controller] setTag
-- @param self
-- @param #int tag
-- @return Controller#Controller self (return value: cc.Controller)
--------------------------------
-- Returns a tag that is used to identify the controller easily.<br>
-- return An integer that identifies the controller.
-- @function [parent=#Controller] getTag
-- @param self
-- @return int#int ret (return value: int)
--------------------------------
-- Start discovering new controllers.<br>
-- warning The API only work on the IOS platform. Empty implementation on other platform.
-- @function [parent=#Controller] startDiscoveryController
-- @param self
-- @return Controller#Controller self (return value: cc.Controller)
--------------------------------
-- Stop the discovery process.<br>
-- warning The API only work on the IOS platform.Empty implementation on other platform.
-- @function [parent=#Controller] stopDiscoveryController
-- @param self
-- @return Controller#Controller self (return value: cc.Controller)
--------------------------------
-- Gets a Controller object with tag.<br>
-- param tag An identifier to find the controller.<br>
-- return A Controller object.
-- @function [parent=#Controller] getControllerByTag
-- @param self
-- @param #int tag
-- @return Controller#Controller ret (return value: cc.Controller)
return nil

View File

@ -0,0 +1,33 @@
--------------------------------
-- @module DisplayData
-- @extend Ref
-- @parent_module ccs
--------------------------------
--
-- @function [parent=#DisplayData] copy
-- @param self
-- @param #ccs.DisplayData displayData
-- @return DisplayData#DisplayData self (return value: ccs.DisplayData)
--------------------------------
--
-- @function [parent=#DisplayData] changeDisplayToTexture
-- @param self
-- @param #string displayName
-- @return string#string ret (return value: string)
--------------------------------
--
-- @function [parent=#DisplayData] create
-- @param self
-- @return DisplayData#DisplayData ret (return value: ccs.DisplayData)
--------------------------------
-- js ctor
-- @function [parent=#DisplayData] DisplayData
-- @param self
-- @return DisplayData#DisplayData self (return value: ccs.DisplayData)
return nil

View File

@ -0,0 +1,150 @@
--------------------------------
-- @module DisplayManager
-- @extend Ref
-- @parent_module ccs
--------------------------------
--
-- @function [parent=#DisplayManager] getDisplayRenderNode
-- @param self
-- @return Node#Node ret (return value: cc.Node)
--------------------------------
--
-- @function [parent=#DisplayManager] getAnchorPointInPoints
-- @param self
-- @return vec2_table#vec2_table ret (return value: vec2_table)
--------------------------------
--
-- @function [parent=#DisplayManager] getDisplayRenderNodeType
-- @param self
-- @return int#int ret (return value: int)
--------------------------------
--
-- @function [parent=#DisplayManager] removeDisplay
-- @param self
-- @param #int index
-- @return DisplayManager#DisplayManager self (return value: ccs.DisplayManager)
--------------------------------
--
-- @function [parent=#DisplayManager] setForceChangeDisplay
-- @param self
-- @param #bool force
-- @return DisplayManager#DisplayManager self (return value: ccs.DisplayManager)
--------------------------------
--
-- @function [parent=#DisplayManager] init
-- @param self
-- @param #ccs.Bone bone
-- @return bool#bool ret (return value: bool)
--------------------------------
--
-- @function [parent=#DisplayManager] getContentSize
-- @param self
-- @return size_table#size_table ret (return value: size_table)
--------------------------------
--
-- @function [parent=#DisplayManager] getBoundingBox
-- @param self
-- @return rect_table#rect_table ret (return value: rect_table)
--------------------------------
-- @overload self, cc.Node, int
-- @overload self, ccs.DisplayData, int
-- @function [parent=#DisplayManager] addDisplay
-- @param self
-- @param #ccs.DisplayData displayData
-- @param #int index
-- @return DisplayManager#DisplayManager self (return value: ccs.DisplayManager)
--------------------------------
-- @overload self, float, float
-- @overload self, vec2_table
-- @function [parent=#DisplayManager] containPoint
-- @param self
-- @param #float x
-- @param #float y
-- @return bool#bool ret (return value: bool)
--------------------------------
-- Change display by index. You can just use this method to change display in the display list.<br>
-- The display list is just used for this bone, and it is the displays you may use in every frame.<br>
-- Note : if index is the same with prev index, the method will not effect<br>
-- param index The index of the display you want to change<br>
-- param force If true, then force change display to specified display, or current display will set to display index edit in the flash every key frame.
-- @function [parent=#DisplayManager] changeDisplayWithIndex
-- @param self
-- @param #int index
-- @param #bool force
-- @return DisplayManager#DisplayManager self (return value: ccs.DisplayManager)
--------------------------------
--
-- @function [parent=#DisplayManager] changeDisplayWithName
-- @param self
-- @param #string name
-- @param #bool force
-- @return DisplayManager#DisplayManager self (return value: ccs.DisplayManager)
--------------------------------
--
-- @function [parent=#DisplayManager] isForceChangeDisplay
-- @param self
-- @return bool#bool ret (return value: bool)
--------------------------------
--
-- @function [parent=#DisplayManager] getCurrentDisplayIndex
-- @param self
-- @return int#int ret (return value: int)
--------------------------------
--
-- @function [parent=#DisplayManager] getAnchorPoint
-- @param self
-- @return vec2_table#vec2_table ret (return value: vec2_table)
--------------------------------
--
-- @function [parent=#DisplayManager] getDecorativeDisplayList
-- @param self
-- @return array_table#array_table ret (return value: array_table)
--------------------------------
-- Determines if the display is visible<br>
-- see setVisible(bool)<br>
-- return true if the node is visible, false if the node is hidden.
-- @function [parent=#DisplayManager] isVisible
-- @param self
-- @return bool#bool ret (return value: bool)
--------------------------------
-- Sets whether the display is visible<br>
-- The default value is true, a node is default to visible<br>
-- param visible true if the node is visible, false if the node is hidden.
-- @function [parent=#DisplayManager] setVisible
-- @param self
-- @param #bool visible
-- @return DisplayManager#DisplayManager self (return value: ccs.DisplayManager)
--------------------------------
--
-- @function [parent=#DisplayManager] create
-- @param self
-- @param #ccs.Bone bone
-- @return DisplayManager#DisplayManager ret (return value: ccs.DisplayManager)
--------------------------------
--
-- @function [parent=#DisplayManager] DisplayManager
-- @param self
-- @return DisplayManager#DisplayManager self (return value: ccs.DisplayManager)
return nil

View File

@ -0,0 +1,303 @@
--------------------------------
-- @module EditBox
-- @extend Widget,IMEDelegate
-- @parent_module ccui
--------------------------------
-- js NA<br>
-- lua NA
-- @function [parent=#EditBox] keyboardDidShow
-- @param self
-- @param #cc.IMEKeyboardNotificationInfo info
-- @return EditBox#EditBox self (return value: ccui.EditBox)
--------------------------------
-- get a script Handler<br>
-- js NA<br>
-- lua NA
-- @function [parent=#EditBox] getScriptEditBoxHandler
-- @param self
-- @return int#int ret (return value: int)
--------------------------------
-- Get the text entered in the edit box.<br>
-- return The text entered in the edit box.
-- @function [parent=#EditBox] getText
-- @param self
-- @return char#char ret (return value: char)
--------------------------------
-- js NA<br>
-- lua NA
-- @function [parent=#EditBox] keyboardDidHide
-- @param self
-- @param #cc.IMEKeyboardNotificationInfo info
-- @return EditBox#EditBox self (return value: ccui.EditBox)
--------------------------------
-- Set the placeholder's font name. only system font is allowed.<br>
-- param pFontName The font name.
-- @function [parent=#EditBox] setPlaceholderFontName
-- @param self
-- @param #char pFontName
-- @return EditBox#EditBox self (return value: ccui.EditBox)
--------------------------------
-- Get a text in the edit box that acts as a placeholder when an<br>
-- edit box is empty.
-- @function [parent=#EditBox] getPlaceHolder
-- @param self
-- @return char#char ret (return value: char)
--------------------------------
-- Set the font name. Only system font is allowed.<br>
-- param pFontName The font name.
-- @function [parent=#EditBox] setFontName
-- @param self
-- @param #char pFontName
-- @return EditBox#EditBox self (return value: ccui.EditBox)
--------------------------------
-- Registers a script function that will be called for EditBox events.<br>
-- This handler will be removed automatically after onExit() called.<br>
-- code<br>
-- -- lua sample<br>
-- local function editboxEventHandler(eventType)<br>
-- if eventType == "began" then<br>
-- -- triggered when an edit box gains focus after keyboard is shown<br>
-- elseif eventType == "ended" then<br>
-- -- triggered when an edit box loses focus after keyboard is hidden.<br>
-- elseif eventType == "changed" then<br>
-- -- triggered when the edit box text was changed.<br>
-- elseif eventType == "return" then<br>
-- -- triggered when the return button was pressed or the outside area of keyboard was touched.<br>
-- end<br>
-- end<br>
-- local editbox = EditBox:create(Size(...), Scale9Sprite:create(...))<br>
-- editbox = registerScriptEditBoxHandler(editboxEventHandler)<br>
-- endcode<br>
-- param handler A number that indicates a lua function.<br>
-- js NA<br>
-- lua NA
-- @function [parent=#EditBox] registerScriptEditBoxHandler
-- @param self
-- @param #int handler
-- @return EditBox#EditBox self (return value: ccui.EditBox)
--------------------------------
-- Set the placeholder's font size.<br>
-- param fontSize The font size.
-- @function [parent=#EditBox] setPlaceholderFontSize
-- @param self
-- @param #int fontSize
-- @return EditBox#EditBox self (return value: ccui.EditBox)
--------------------------------
-- Set the input mode of the edit box.<br>
-- param inputMode One of the EditBox::InputMode constants.
-- @function [parent=#EditBox] setInputMode
-- @param self
-- @param #int inputMode
-- @return EditBox#EditBox self (return value: ccui.EditBox)
--------------------------------
-- Unregisters a script function that will be called for EditBox events.<br>
-- js NA<br>
-- lua NA
-- @function [parent=#EditBox] unregisterScriptEditBoxHandler
-- @param self
-- @return EditBox#EditBox self (return value: ccui.EditBox)
--------------------------------
-- js NA<br>
-- lua NA
-- @function [parent=#EditBox] keyboardWillShow
-- @param self
-- @param #cc.IMEKeyboardNotificationInfo info
-- @return EditBox#EditBox self (return value: ccui.EditBox)
--------------------------------
-- @overload self, color4b_table
-- @overload self, color3b_table
-- @function [parent=#EditBox] setPlaceholderFontColor
-- @param self
-- @param #color3b_table color
-- @return EditBox#EditBox self (return value: ccui.EditBox)
--------------------------------
-- @overload self, color4b_table
-- @overload self, color3b_table
-- @function [parent=#EditBox] setFontColor
-- @param self
-- @param #color3b_table color
-- @return EditBox#EditBox self (return value: ccui.EditBox)
--------------------------------
-- js NA<br>
-- lua NA
-- @function [parent=#EditBox] keyboardWillHide
-- @param self
-- @param #cc.IMEKeyboardNotificationInfo info
-- @return EditBox#EditBox self (return value: ccui.EditBox)
--------------------------------
--
-- @function [parent=#EditBox] touchDownAction
-- @param self
-- @param #cc.Ref sender
-- @param #int controlEvent
-- @return EditBox#EditBox self (return value: ccui.EditBox)
--------------------------------
-- Set the placeholder's font. Only system font is allowed.<br>
-- param pFontName The font name.<br>
-- param fontSize The font size.
-- @function [parent=#EditBox] setPlaceholderFont
-- @param self
-- @param #char pFontName
-- @param #int fontSize
-- @return EditBox#EditBox self (return value: ccui.EditBox)
--------------------------------
-- Set the font size.<br>
-- param fontSize The font size.
-- @function [parent=#EditBox] setFontSize
-- @param self
-- @param #int fontSize
-- @return EditBox#EditBox self (return value: ccui.EditBox)
--------------------------------
-- @overload self, size_table, ccui.Scale9Sprite
-- @overload self, size_table, string, int
-- @function [parent=#EditBox] initWithSizeAndBackgroundSprite
-- @param self
-- @param #size_table size
-- @param #string normal9SpriteBg
-- @param #int texType
-- @return bool#bool ret (return value: bool)
--------------------------------
-- Set a text in the edit box that acts as a placeholder when an<br>
-- edit box is empty.<br>
-- param pText The given text.
-- @function [parent=#EditBox] setPlaceHolder
-- @param self
-- @param #char pText
-- @return EditBox#EditBox self (return value: ccui.EditBox)
--------------------------------
-- Set the return type that are to be applied to the edit box.<br>
-- param returnType One of the EditBox::KeyboardReturnType constants.
-- @function [parent=#EditBox] setReturnType
-- @param self
-- @param #int returnType
-- @return EditBox#EditBox self (return value: ccui.EditBox)
--------------------------------
-- Set the input flags that are to be applied to the edit box.<br>
-- param inputFlag One of the EditBox::InputFlag constants.
-- @function [parent=#EditBox] setInputFlag
-- @param self
-- @param #int inputFlag
-- @return EditBox#EditBox self (return value: ccui.EditBox)
--------------------------------
-- Gets the maximum input length of the edit box.<br>
-- return Maximum input length.
-- @function [parent=#EditBox] getMaxLength
-- @param self
-- @return int#int ret (return value: int)
--------------------------------
-- Set the text entered in the edit box.<br>
-- param pText The given text.
-- @function [parent=#EditBox] setText
-- @param self
-- @param #char pText
-- @return EditBox#EditBox self (return value: ccui.EditBox)
--------------------------------
-- Sets the maximum input length of the edit box.<br>
-- Setting this value enables multiline input mode by default.<br>
-- Available on Android, iOS and Windows Phone.<br>
-- param maxLength The maximum length.
-- @function [parent=#EditBox] setMaxLength
-- @param self
-- @param #int maxLength
-- @return EditBox#EditBox self (return value: ccui.EditBox)
--------------------------------
-- Set the font. Only system font is allowed.<br>
-- param pFontName The font name.<br>
-- param fontSize The font size.
-- @function [parent=#EditBox] setFont
-- @param self
-- @param #char pFontName
-- @param #int fontSize
-- @return EditBox#EditBox self (return value: ccui.EditBox)
--------------------------------
-- @overload self, size_table, string, int
-- @overload self, size_table, ccui.Scale9Sprite, ccui.Scale9Sprite, ccui.Scale9Sprite
-- @function [parent=#EditBox] create
-- @param self
-- @param #size_table size
-- @param #ccui.Scale9Sprite normalSprite
-- @param #ccui.Scale9Sprite pressedSprite
-- @param #ccui.Scale9Sprite disabledSprite
-- @return EditBox#EditBox ret (return value: ccui.EditBox)
--------------------------------
--
-- @function [parent=#EditBox] setAnchorPoint
-- @param self
-- @param #vec2_table anchorPoint
-- @return EditBox#EditBox self (return value: ccui.EditBox)
--------------------------------
-- js NA<br>
-- lua NA
-- @function [parent=#EditBox] draw
-- @param self
-- @param #cc.Renderer renderer
-- @param #mat4_table parentTransform
-- @param #unsigned int parentFlags
-- @return EditBox#EditBox self (return value: ccui.EditBox)
--------------------------------
-- Returns the "class name" of widget.
-- @function [parent=#EditBox] getDescription
-- @param self
-- @return string#string ret (return value: string)
--------------------------------
--
-- @function [parent=#EditBox] setPosition
-- @param self
-- @param #vec2_table pos
-- @return EditBox#EditBox self (return value: ccui.EditBox)
--------------------------------
--
-- @function [parent=#EditBox] setVisible
-- @param self
-- @param #bool visible
-- @return EditBox#EditBox self (return value: ccui.EditBox)
--------------------------------
--
-- @function [parent=#EditBox] setContentSize
-- @param self
-- @param #size_table size
-- @return EditBox#EditBox self (return value: ccui.EditBox)
--------------------------------
-- Constructor.<br>
-- js ctor<br>
-- lua new
-- @function [parent=#EditBox] EditBox
-- @param self
-- @return EditBox#EditBox self (return value: ccui.EditBox)
return nil

View File

@ -0,0 +1,70 @@
--------------------------------
-- @module EventAssetsManagerEx
-- @extend EventCustom
-- @parent_module cc
--------------------------------
--
-- @function [parent=#EventAssetsManagerEx] getAssetsManagerEx
-- @param self
-- @return AssetsManagerEx#AssetsManagerEx ret (return value: cc.AssetsManagerEx)
--------------------------------
--
-- @function [parent=#EventAssetsManagerEx] getAssetId
-- @param self
-- @return string#string ret (return value: string)
--------------------------------
--
-- @function [parent=#EventAssetsManagerEx] getCURLECode
-- @param self
-- @return int#int ret (return value: int)
--------------------------------
--
-- @function [parent=#EventAssetsManagerEx] getMessage
-- @param self
-- @return string#string ret (return value: string)
--------------------------------
--
-- @function [parent=#EventAssetsManagerEx] getCURLMCode
-- @param self
-- @return int#int ret (return value: int)
--------------------------------
--
-- @function [parent=#EventAssetsManagerEx] getPercentByFile
-- @param self
-- @return float#float ret (return value: float)
--------------------------------
--
-- @function [parent=#EventAssetsManagerEx] getEventCode
-- @param self
-- @return int#int ret (return value: int)
--------------------------------
--
-- @function [parent=#EventAssetsManagerEx] getPercent
-- @param self
-- @return float#float ret (return value: float)
--------------------------------
-- Constructor
-- @function [parent=#EventAssetsManagerEx] EventAssetsManagerEx
-- @param self
-- @param #string eventName
-- @param #cc.AssetsManagerEx manager
-- @param #int code
-- @param #float percent
-- @param #float percentByFile
-- @param #string assetId
-- @param #string message
-- @param #int curle_code
-- @param #int curlm_code
-- @return EventAssetsManagerEx#EventAssetsManagerEx self (return value: cc.EventAssetsManagerEx)
return nil

View File

@ -0,0 +1,59 @@
--------------------------------
-- @module EventController
-- @extend Event
-- @parent_module cc
--------------------------------
-- Gets the event type of the controller.<br>
-- return The event type of the controller.
-- @function [parent=#EventController] getControllerEventType
-- @param self
-- @return int#int ret (return value: int)
--------------------------------
-- Sets the connect status.<br>
-- param True if it's connected.
-- @function [parent=#EventController] setConnectStatus
-- @param self
-- @param #bool isConnected
-- @return EventController#EventController self (return value: cc.EventController)
--------------------------------
-- Gets the connect status.<br>
-- return True if it's connected.
-- @function [parent=#EventController] isConnected
-- @param self
-- @return bool#bool ret (return value: bool)
--------------------------------
--
-- @function [parent=#EventController] setKeyCode
-- @param self
-- @param #int keyCode
-- @return EventController#EventController self (return value: cc.EventController)
--------------------------------
--
-- @function [parent=#EventController] getController
-- @param self
-- @return Controller#Controller ret (return value: cc.Controller)
--------------------------------
-- Gets the key code of the controller.<br>
-- return The key code of the controller.
-- @function [parent=#EventController] getKeyCode
-- @param self
-- @return int#int ret (return value: int)
--------------------------------
-- @overload self, int, cc.Controller, bool
-- @overload self, int, cc.Controller, int
-- @function [parent=#EventController] EventController
-- @param self
-- @param #int type
-- @param #cc.Controller controller
-- @param #int keyCode
-- @return EventController#EventController self (return value: cc.EventController)
return nil

View File

@ -0,0 +1,51 @@
--------------------------------
-- @module EventFrame
-- @extend Frame
-- @parent_module ccs
--------------------------------
--
-- @function [parent=#EventFrame] setEvent
-- @param self
-- @param #string event
-- @return EventFrame#EventFrame self (return value: ccs.EventFrame)
--------------------------------
--
-- @function [parent=#EventFrame] init
-- @param self
-- @return EventFrame#EventFrame self (return value: ccs.EventFrame)
--------------------------------
--
-- @function [parent=#EventFrame] getEvent
-- @param self
-- @return string#string ret (return value: string)
--------------------------------
--
-- @function [parent=#EventFrame] create
-- @param self
-- @return EventFrame#EventFrame ret (return value: ccs.EventFrame)
--------------------------------
--
-- @function [parent=#EventFrame] clone
-- @param self
-- @return Frame#Frame ret (return value: ccs.Frame)
--------------------------------
--
-- @function [parent=#EventFrame] setNode
-- @param self
-- @param #cc.Node node
-- @return EventFrame#EventFrame self (return value: ccs.EventFrame)
--------------------------------
--
-- @function [parent=#EventFrame] EventFrame
-- @param self
-- @return EventFrame#EventFrame self (return value: ccs.EventFrame)
return nil

View File

@ -0,0 +1,33 @@
--------------------------------
-- @module EventListenerAssetsManagerEx
-- @extend EventListenerCustom
-- @parent_module cc
--------------------------------
-- Initializes event with type and callback function
-- @function [parent=#EventListenerAssetsManagerEx] init
-- @param self
-- @param #cc.AssetsManagerEx AssetsManagerEx
-- @param #function callback
-- @return bool#bool ret (return value: bool)
--------------------------------
--
-- @function [parent=#EventListenerAssetsManagerEx] clone
-- @param self
-- @return EventListenerAssetsManagerEx#EventListenerAssetsManagerEx ret (return value: cc.EventListenerAssetsManagerEx)
--------------------------------
-- / Overrides
-- @function [parent=#EventListenerAssetsManagerEx] checkAvailable
-- @param self
-- @return bool#bool ret (return value: bool)
--------------------------------
-- Constructor
-- @function [parent=#EventListenerAssetsManagerEx] EventListenerAssetsManagerEx
-- @param self
-- @return EventListenerAssetsManagerEx#EventListenerAssetsManagerEx self (return value: cc.EventListenerAssetsManagerEx)
return nil

View File

@ -0,0 +1,26 @@
--------------------------------
-- @module EventListenerController
-- @extend EventListener
-- @parent_module cc
--------------------------------
-- Create a controller event listener.<br>
-- return An autoreleased EventListenerController object.
-- @function [parent=#EventListenerController] create
-- @param self
-- @return EventListenerController#EventListenerController ret (return value: cc.EventListenerController)
--------------------------------
--
-- @function [parent=#EventListenerController] clone
-- @param self
-- @return EventListenerController#EventListenerController ret (return value: cc.EventListenerController)
--------------------------------
-- / Overrides
-- @function [parent=#EventListenerController] checkAvailable
-- @param self
-- @return bool#bool ret (return value: bool)
return nil

View File

@ -0,0 +1,26 @@
--------------------------------
-- @module EventListenerPhysicsContact
-- @extend EventListenerCustom
-- @parent_module cc
--------------------------------
-- Create the listener.
-- @function [parent=#EventListenerPhysicsContact] create
-- @param self
-- @return EventListenerPhysicsContact#EventListenerPhysicsContact ret (return value: cc.EventListenerPhysicsContact)
--------------------------------
-- Clone an object from this listener.
-- @function [parent=#EventListenerPhysicsContact] clone
-- @param self
-- @return EventListenerPhysicsContact#EventListenerPhysicsContact ret (return value: cc.EventListenerPhysicsContact)
--------------------------------
-- Check the listener is available.<br>
-- return Ture if there's one available callback function at least, false if there's no one.
-- @function [parent=#EventListenerPhysicsContact] checkAvailable
-- @param self
-- @return bool#bool ret (return value: bool)
return nil

View File

@ -0,0 +1,29 @@
--------------------------------
-- @module EventListenerPhysicsContactWithBodies
-- @extend EventListenerPhysicsContact
-- @parent_module cc
--------------------------------
--
-- @function [parent=#EventListenerPhysicsContactWithBodies] hitTest
-- @param self
-- @param #cc.PhysicsShape shapeA
-- @param #cc.PhysicsShape shapeB
-- @return bool#bool ret (return value: bool)
--------------------------------
-- Create the listener.
-- @function [parent=#EventListenerPhysicsContactWithBodies] create
-- @param self
-- @param #cc.PhysicsBody bodyA
-- @param #cc.PhysicsBody bodyB
-- @return EventListenerPhysicsContactWithBodies#EventListenerPhysicsContactWithBodies ret (return value: cc.EventListenerPhysicsContactWithBodies)
--------------------------------
--
-- @function [parent=#EventListenerPhysicsContactWithBodies] clone
-- @param self
-- @return EventListenerPhysicsContactWithBodies#EventListenerPhysicsContactWithBodies ret (return value: cc.EventListenerPhysicsContactWithBodies)
return nil

View File

@ -0,0 +1,28 @@
--------------------------------
-- @module EventListenerPhysicsContactWithGroup
-- @extend EventListenerPhysicsContact
-- @parent_module cc
--------------------------------
--
-- @function [parent=#EventListenerPhysicsContactWithGroup] hitTest
-- @param self
-- @param #cc.PhysicsShape shapeA
-- @param #cc.PhysicsShape shapeB
-- @return bool#bool ret (return value: bool)
--------------------------------
-- Create the listener.
-- @function [parent=#EventListenerPhysicsContactWithGroup] create
-- @param self
-- @param #int group
-- @return EventListenerPhysicsContactWithGroup#EventListenerPhysicsContactWithGroup ret (return value: cc.EventListenerPhysicsContactWithGroup)
--------------------------------
--
-- @function [parent=#EventListenerPhysicsContactWithGroup] clone
-- @param self
-- @return EventListenerPhysicsContactWithGroup#EventListenerPhysicsContactWithGroup ret (return value: cc.EventListenerPhysicsContactWithGroup)
return nil

View File

@ -0,0 +1,29 @@
--------------------------------
-- @module EventListenerPhysicsContactWithShapes
-- @extend EventListenerPhysicsContact
-- @parent_module cc
--------------------------------
--
-- @function [parent=#EventListenerPhysicsContactWithShapes] hitTest
-- @param self
-- @param #cc.PhysicsShape shapeA
-- @param #cc.PhysicsShape shapeB
-- @return bool#bool ret (return value: bool)
--------------------------------
-- Create the listener.
-- @function [parent=#EventListenerPhysicsContactWithShapes] create
-- @param self
-- @param #cc.PhysicsShape shapeA
-- @param #cc.PhysicsShape shapeB
-- @return EventListenerPhysicsContactWithShapes#EventListenerPhysicsContactWithShapes ret (return value: cc.EventListenerPhysicsContactWithShapes)
--------------------------------
--
-- @function [parent=#EventListenerPhysicsContactWithShapes] clone
-- @param self
-- @return EventListenerPhysicsContactWithShapes#EventListenerPhysicsContactWithShapes ret (return value: cc.EventListenerPhysicsContactWithShapes)
return nil

View File

@ -0,0 +1,104 @@
--------------------------------
-- @module Frame
-- @extend Ref
-- @parent_module ccs
--------------------------------
--
-- @function [parent=#Frame] clone
-- @param self
-- @return Frame#Frame ret (return value: ccs.Frame)
--------------------------------
--
-- @function [parent=#Frame] setTweenType
-- @param self
-- @param #int tweenType
-- @return Frame#Frame self (return value: ccs.Frame)
--------------------------------
--
-- @function [parent=#Frame] setNode
-- @param self
-- @param #cc.Node node
-- @return Frame#Frame self (return value: ccs.Frame)
--------------------------------
--
-- @function [parent=#Frame] setTimeline
-- @param self
-- @param #ccs.Timeline timeline
-- @return Frame#Frame self (return value: ccs.Frame)
--------------------------------
--
-- @function [parent=#Frame] isEnterWhenPassed
-- @param self
-- @return bool#bool ret (return value: bool)
--------------------------------
--
-- @function [parent=#Frame] getTweenType
-- @param self
-- @return int#int ret (return value: int)
--------------------------------
--
-- @function [parent=#Frame] getEasingParams
-- @param self
-- @return array_table#array_table ret (return value: array_table)
--------------------------------
--
-- @function [parent=#Frame] setEasingParams
-- @param self
-- @param #array_table easingParams
-- @return Frame#Frame self (return value: ccs.Frame)
--------------------------------
--
-- @function [parent=#Frame] getFrameIndex
-- @param self
-- @return unsigned int#unsigned int ret (return value: unsigned int)
--------------------------------
--
-- @function [parent=#Frame] apply
-- @param self
-- @param #float percent
-- @return Frame#Frame self (return value: ccs.Frame)
--------------------------------
--
-- @function [parent=#Frame] isTween
-- @param self
-- @return bool#bool ret (return value: bool)
--------------------------------
--
-- @function [parent=#Frame] setFrameIndex
-- @param self
-- @param #unsigned int frameIndex
-- @return Frame#Frame self (return value: ccs.Frame)
--------------------------------
--
-- @function [parent=#Frame] setTween
-- @param self
-- @param #bool tween
-- @return Frame#Frame self (return value: ccs.Frame)
--------------------------------
--
-- @function [parent=#Frame] getTimeline
-- @param self
-- @return Timeline#Timeline ret (return value: ccs.Timeline)
--------------------------------
--
-- @function [parent=#Frame] getNode
-- @param self
-- @return Node#Node ret (return value: cc.Node)
return nil

View File

@ -0,0 +1,26 @@
--------------------------------
-- @module FrameData
-- @extend BaseData
-- @parent_module ccs
--------------------------------
--
-- @function [parent=#FrameData] copy
-- @param self
-- @param #ccs.BaseData baseData
-- @return FrameData#FrameData self (return value: ccs.FrameData)
--------------------------------
--
-- @function [parent=#FrameData] create
-- @param self
-- @return FrameData#FrameData ret (return value: ccs.FrameData)
--------------------------------
-- js ctor
-- @function [parent=#FrameData] FrameData
-- @param self
-- @return FrameData#FrameData self (return value: ccs.FrameData)
return nil

View File

@ -0,0 +1,53 @@
--------------------------------
-- @module GUIReader
-- @extend Ref
-- @parent_module ccs
--------------------------------
--
-- @function [parent=#GUIReader] setFilePath
-- @param self
-- @param #string strFilePath
-- @return GUIReader#GUIReader self (return value: ccs.GUIReader)
--------------------------------
--
-- @function [parent=#GUIReader] widgetFromJsonFile
-- @param self
-- @param #char fileName
-- @return Widget#Widget ret (return value: ccui.Widget)
--------------------------------
--
-- @function [parent=#GUIReader] getFilePath
-- @param self
-- @return string#string ret (return value: string)
--------------------------------
--
-- @function [parent=#GUIReader] widgetFromBinaryFile
-- @param self
-- @param #char fileName
-- @return Widget#Widget ret (return value: ccui.Widget)
--------------------------------
--
-- @function [parent=#GUIReader] getVersionInteger
-- @param self
-- @param #char str
-- @return int#int ret (return value: int)
--------------------------------
--
-- @function [parent=#GUIReader] destroyInstance
-- @param self
-- @return GUIReader#GUIReader self (return value: ccs.GUIReader)
--------------------------------
--
-- @function [parent=#GUIReader] getInstance
-- @param self
-- @return GUIReader#GUIReader ret (return value: ccs.GUIReader)
return nil

View File

@ -0,0 +1,36 @@
--------------------------------
-- @module HBox
-- @extend Layout
-- @parent_module ccui
--------------------------------
--
-- @function [parent=#HBox] initWithSize
-- @param self
-- @param #size_table size
-- @return bool#bool ret (return value: bool)
--------------------------------
-- @overload self, size_table
-- @overload self
-- @function [parent=#HBox] create
-- @param self
-- @param #size_table size
-- @return HBox#HBox ret (return value: ccui.HBox)
--------------------------------
--
-- @function [parent=#HBox] init
-- @param self
-- @return bool#bool ret (return value: bool)
--------------------------------
-- Default constructor<br>
-- js ctor<br>
-- lua new
-- @function [parent=#HBox] HBox
-- @param self
-- @return HBox#HBox self (return value: ccui.HBox)
return nil

View File

@ -0,0 +1,94 @@
--------------------------------
-- @module Helper
-- @parent_module ccui
--------------------------------
-- brief Get a UTF8 substring from a std::string with a given start position and length<br>
-- Sample: std::string str = "中国中国中国"; substr = getSubStringOfUTF8String(str,0,2) will = "中国"<br>
-- param str The source string.<br>
-- param start The start position of the substring.<br>
-- param length The length of the substring in UTF8 count<br>
-- return a UTF8 substring<br>
-- js NA
-- @function [parent=#Helper] getSubStringOfUTF8String
-- @param self
-- @param #string str
-- @param #unsigned long start
-- @param #unsigned long length
-- @return string#string ret (return value: string)
--------------------------------
-- brief Convert a node's boundingBox rect into screen coordinates.<br>
-- param node Any node pointer.<br>
-- return A Rect in screen coordinates.
-- @function [parent=#Helper] convertBoundingBoxToScreen
-- @param self
-- @param #cc.Node node
-- @return rect_table#rect_table ret (return value: rect_table)
--------------------------------
-- Change the active property of Layout's @see `LayoutComponent`<br>
-- param active A boolean value.
-- @function [parent=#Helper] changeLayoutSystemActiveState
-- @param self
-- @param #bool active
-- @return Helper#Helper self (return value: ccui.Helper)
--------------------------------
-- Find a widget with a specific action tag from root widget<br>
-- This search will be recursive throught all child widgets.<br>
-- param root The be searched root widget.<br>
-- param tag The widget action's tag.<br>
-- return Widget instance pointer.
-- @function [parent=#Helper] seekActionWidgetByActionTag
-- @param self
-- @param #ccui.Widget root
-- @param #int tag
-- @return Widget#Widget ret (return value: ccui.Widget)
--------------------------------
-- Find a widget with a specific name from root widget.<br>
-- This search will be recursive throught all child widgets.<br>
-- param root The be searched root widget.<br>
-- param name The widget name.<br>
-- return Widget isntance pointer.
-- @function [parent=#Helper] seekWidgetByName
-- @param self
-- @param #ccui.Widget root
-- @param #string name
-- @return Widget#Widget ret (return value: ccui.Widget)
--------------------------------
-- Find a widget with a specific tag from root widget.<br>
-- This search will be recursive throught all child widgets.<br>
-- param root The be seached root widget.<br>
-- param tag The widget tag.<br>
-- return Widget instance pointer.
-- @function [parent=#Helper] seekWidgetByTag
-- @param self
-- @param #ccui.Widget root
-- @param #int tag
-- @return Widget#Widget ret (return value: ccui.Widget)
--------------------------------
-- brief restrict capInsetSize, when the capInsets's width is larger than the textureSize, it will restrict to 0,<br>
-- the height goes the same way as width.<br>
-- param capInsets A user defined capInsets.<br>
-- param textureSize The size of a scale9enabled texture<br>
-- return a restricted capInset.
-- @function [parent=#Helper] restrictCapInsetRect
-- @param self
-- @param #rect_table capInsets
-- @param #size_table textureSize
-- @return rect_table#rect_table ret (return value: rect_table)
--------------------------------
-- Refresh object and it's children layout state<br>
-- param rootNode A Node* or Node* descendant instance pointer.
-- @function [parent=#Helper] doLayout
-- @param self
-- @param #cc.Node rootNode
-- @return Helper#Helper self (return value: ccui.Helper)
return nil

View File

@ -0,0 +1,119 @@
--------------------------------
-- @module ImageView
-- @extend Widget
-- @parent_module ccui
--------------------------------
-- Load texture for imageview.<br>
-- param fileName file name of texture.<br>
-- param texType @see `Widget::TextureResType`
-- @function [parent=#ImageView] loadTexture
-- @param self
-- @param #string fileName
-- @param #int texType
-- @return ImageView#ImageView self (return value: ccui.ImageView)
--------------------------------
--
-- @function [parent=#ImageView] init
-- @param self
-- @param #string imageFileName
-- @param #int texType
-- @return bool#bool ret (return value: bool)
--------------------------------
-- Enable scale9 renderer.<br>
-- param enabled Set to true will use scale9 renderer, false otherwise.
-- @function [parent=#ImageView] setScale9Enabled
-- @param self
-- @param #bool enabled
-- @return ImageView#ImageView self (return value: ccui.ImageView)
--------------------------------
-- Updates the texture rect of the ImageView in points.<br>
-- It will call setTextureRect:rotated:untrimmedSize with rotated = NO, and utrimmedSize = rect.size.
-- @function [parent=#ImageView] setTextureRect
-- @param self
-- @param #rect_table rect
-- @return ImageView#ImageView self (return value: ccui.ImageView)
--------------------------------
-- Sets capInsets for imageview.<br>
-- The capInsets affects the ImageView's renderer only if `setScale9Enabled(true)` is called.<br>
-- param capInsets capinsets for imageview
-- @function [parent=#ImageView] setCapInsets
-- @param self
-- @param #rect_table capInsets
-- @return ImageView#ImageView self (return value: ccui.ImageView)
--------------------------------
-- Get ImageView's capInsets size.<br>
-- return Query capInsets size in Rect<br>
-- see `setCapInsets(const Rect&)`
-- @function [parent=#ImageView] getCapInsets
-- @param self
-- @return rect_table#rect_table ret (return value: rect_table)
--------------------------------
-- Query whether button is using scale9 renderer or not.<br>
-- return whether button use scale9 renderer or not.
-- @function [parent=#ImageView] isScale9Enabled
-- @param self
-- @return bool#bool ret (return value: bool)
--------------------------------
-- @overload self, string, int
-- @overload self
-- @function [parent=#ImageView] create
-- @param self
-- @param #string imageFileName
-- @param #int texType
-- @return ImageView#ImageView ret (return value: ccui.ImageView)
--------------------------------
--
-- @function [parent=#ImageView] createInstance
-- @param self
-- @return Ref#Ref ret (return value: cc.Ref)
--------------------------------
--
-- @function [parent=#ImageView] getVirtualRenderer
-- @param self
-- @return Node#Node ret (return value: cc.Node)
--------------------------------
--
-- @function [parent=#ImageView] init
-- @param self
-- @return bool#bool ret (return value: bool)
--------------------------------
--
-- @function [parent=#ImageView] getDescription
-- @param self
-- @return string#string ret (return value: string)
--------------------------------
--
-- @function [parent=#ImageView] getVirtualRendererSize
-- @param self
-- @return size_table#size_table ret (return value: size_table)
--------------------------------
--
-- @function [parent=#ImageView] ignoreContentAdaptWithSize
-- @param self
-- @param #bool ignore
-- @return ImageView#ImageView self (return value: ccui.ImageView)
--------------------------------
-- Default constructor<br>
-- js ctor<br>
-- lua new
-- @function [parent=#ImageView] ImageView
-- @param self
-- @return ImageView#ImageView self (return value: ccui.ImageView)
return nil

View File

@ -0,0 +1,91 @@
--------------------------------
-- @module InnerActionFrame
-- @extend Frame
-- @parent_module ccs
--------------------------------
--
-- @function [parent=#InnerActionFrame] getEndFrameIndex
-- @param self
-- @return int#int ret (return value: int)
--------------------------------
--
-- @function [parent=#InnerActionFrame] getStartFrameIndex
-- @param self
-- @return int#int ret (return value: int)
--------------------------------
--
-- @function [parent=#InnerActionFrame] getInnerActionType
-- @param self
-- @return int#int ret (return value: int)
--------------------------------
--
-- @function [parent=#InnerActionFrame] setEndFrameIndex
-- @param self
-- @param #int frameIndex
-- @return InnerActionFrame#InnerActionFrame self (return value: ccs.InnerActionFrame)
--------------------------------
--
-- @function [parent=#InnerActionFrame] setEnterWithName
-- @param self
-- @param #bool isEnterWithName
-- @return InnerActionFrame#InnerActionFrame self (return value: ccs.InnerActionFrame)
--------------------------------
--
-- @function [parent=#InnerActionFrame] setSingleFrameIndex
-- @param self
-- @param #int frameIndex
-- @return InnerActionFrame#InnerActionFrame self (return value: ccs.InnerActionFrame)
--------------------------------
--
-- @function [parent=#InnerActionFrame] setStartFrameIndex
-- @param self
-- @param #int frameIndex
-- @return InnerActionFrame#InnerActionFrame self (return value: ccs.InnerActionFrame)
--------------------------------
--
-- @function [parent=#InnerActionFrame] getSingleFrameIndex
-- @param self
-- @return int#int ret (return value: int)
--------------------------------
--
-- @function [parent=#InnerActionFrame] setInnerActionType
-- @param self
-- @param #int type
-- @return InnerActionFrame#InnerActionFrame self (return value: ccs.InnerActionFrame)
--------------------------------
--
-- @function [parent=#InnerActionFrame] setAnimationName
-- @param self
-- @param #string animationNamed
-- @return InnerActionFrame#InnerActionFrame self (return value: ccs.InnerActionFrame)
--------------------------------
--
-- @function [parent=#InnerActionFrame] create
-- @param self
-- @return InnerActionFrame#InnerActionFrame ret (return value: ccs.InnerActionFrame)
--------------------------------
--
-- @function [parent=#InnerActionFrame] clone
-- @param self
-- @return Frame#Frame ret (return value: ccs.Frame)
--------------------------------
--
-- @function [parent=#InnerActionFrame] InnerActionFrame
-- @param self
-- @return InnerActionFrame#InnerActionFrame self (return value: ccs.InnerActionFrame)
return nil

View File

@ -0,0 +1,343 @@
--------------------------------
-- @module Layout
-- @extend Widget,LayoutProtocol
-- @parent_module ccui
--------------------------------
-- Sets background color vector for layout.<br>
-- This setting only take effect when layout's color type is BackGroundColorType::GRADIENT<br>
-- param vector The color vector in `Vec2`.
-- @function [parent=#Layout] setBackGroundColorVector
-- @param self
-- @param #vec2_table vector
-- @return Layout#Layout self (return value: ccui.Layout)
--------------------------------
-- Change the clipping type of layout.<br>
-- On default, the clipping type is `ClippingType::STENCIL`.<br>
-- see `ClippingType`<br>
-- param type The clipping type of layout.
-- @function [parent=#Layout] setClippingType
-- @param self
-- @param #int type
-- @return Layout#Layout self (return value: ccui.Layout)
--------------------------------
-- Sets Color Type for layout's background<br>
-- param type @see `BackGroundColorType`
-- @function [parent=#Layout] setBackGroundColorType
-- @param self
-- @param #int type
-- @return Layout#Layout self (return value: ccui.Layout)
--------------------------------
-- If a layout is loop focused which means that the focus movement will be inside the layout<br>
-- param loop pass true to let the focus movement loop inside the layout
-- @function [parent=#Layout] setLoopFocus
-- @param self
-- @param #bool loop
-- @return Layout#Layout self (return value: ccui.Layout)
--------------------------------
-- Set layout's background image color.<br>
-- param color Background color value in `Color3B`.
-- @function [parent=#Layout] setBackGroundImageColor
-- @param self
-- @param #color3b_table color
-- @return Layout#Layout self (return value: ccui.Layout)
--------------------------------
-- Get the layout's background color vector.<br>
-- return Background color vector.
-- @function [parent=#Layout] getBackGroundColorVector
-- @param self
-- @return vec2_table#vec2_table ret (return value: vec2_table)
--------------------------------
-- see `setClippingType(ClippingType)`
-- @function [parent=#Layout] getClippingType
-- @param self
-- @return int#int ret (return value: int)
--------------------------------
-- return If focus loop is enabled, then it will return true, otherwise it returns false. The default value is false.
-- @function [parent=#Layout] isLoopFocus
-- @param self
-- @return bool#bool ret (return value: bool)
--------------------------------
-- Remove the background image of layout.
-- @function [parent=#Layout] removeBackGroundImage
-- @param self
-- @return Layout#Layout self (return value: ccui.Layout)
--------------------------------
-- Get the layout's background color opacity.<br>
-- return Background color opacity value.
-- @function [parent=#Layout] getBackGroundColorOpacity
-- @param self
-- @return unsigned char#unsigned char ret (return value: unsigned char)
--------------------------------
-- Gets if layout is clipping enabled.<br>
-- return if layout is clipping enabled.
-- @function [parent=#Layout] isClippingEnabled
-- @param self
-- @return bool#bool ret (return value: bool)
--------------------------------
-- Set opacity of background image.<br>
-- param opacity Background image opacity in GLubyte.
-- @function [parent=#Layout] setBackGroundImageOpacity
-- @param self
-- @param #unsigned char opacity
-- @return Layout#Layout self (return value: ccui.Layout)
--------------------------------
-- Sets a background image for layout.<br>
-- param fileName image file path.<br>
-- param texType @see TextureResType.
-- @function [parent=#Layout] setBackGroundImage
-- @param self
-- @param #string fileName
-- @param #int texType
-- @return Layout#Layout self (return value: ccui.Layout)
--------------------------------
-- @overload self, color3b_table, color3b_table
-- @overload self, color3b_table
-- @function [parent=#Layout] setBackGroundColor
-- @param self
-- @param #color3b_table startColor
-- @param #color3b_table endColor
-- @return Layout#Layout self (return value: ccui.Layout)
--------------------------------
-- request to refresh widget layout
-- @function [parent=#Layout] requestDoLayout
-- @param self
-- @return Layout#Layout self (return value: ccui.Layout)
--------------------------------
-- Query background image's capInsets size.<br>
-- return The background image capInsets.
-- @function [parent=#Layout] getBackGroundImageCapInsets
-- @param self
-- @return rect_table#rect_table ret (return value: rect_table)
--------------------------------
-- Query the layout's background color.<br>
-- return Background color in Color3B.
-- @function [parent=#Layout] getBackGroundColor
-- @param self
-- @return color3b_table#color3b_table ret (return value: color3b_table)
--------------------------------
-- Toggle layout clipping.<br>
-- If you do need clipping, you pass true to this function.<br>
-- param enabled Pass true to enable clipping, false otherwise.
-- @function [parent=#Layout] setClippingEnabled
-- @param self
-- @param #bool enabled
-- @return Layout#Layout self (return value: ccui.Layout)
--------------------------------
-- Get color of layout's background image.<br>
-- return Layout's background image color.
-- @function [parent=#Layout] getBackGroundImageColor
-- @param self
-- @return color3b_table#color3b_table ret (return value: color3b_table)
--------------------------------
-- Query background image scale9 enable status.<br>
-- return Whehter background image is scale9 enabled or not.
-- @function [parent=#Layout] isBackGroundImageScale9Enabled
-- @param self
-- @return bool#bool ret (return value: bool)
--------------------------------
-- Query the layout's background color type.<br>
-- return The layout's background color type.
-- @function [parent=#Layout] getBackGroundColorType
-- @param self
-- @return int#int ret (return value: int)
--------------------------------
-- Get the gradient background end color.<br>
-- return Gradient background end color value.
-- @function [parent=#Layout] getBackGroundEndColor
-- @param self
-- @return color3b_table#color3b_table ret (return value: color3b_table)
--------------------------------
-- Sets background color opacity of layout.<br>
-- param opacity The opacity in `GLubyte`.
-- @function [parent=#Layout] setBackGroundColorOpacity
-- @param self
-- @param #unsigned char opacity
-- @return Layout#Layout self (return value: ccui.Layout)
--------------------------------
-- Get the opacity of layout's background image.<br>
-- return The opacity of layout's background image.
-- @function [parent=#Layout] getBackGroundImageOpacity
-- @param self
-- @return unsigned char#unsigned char ret (return value: unsigned char)
--------------------------------
-- return To query whether the layout will pass the focus to its children or not. The default value is true
-- @function [parent=#Layout] isPassFocusToChild
-- @param self
-- @return bool#bool ret (return value: bool)
--------------------------------
-- Sets a background image capinsets for layout, it only affects the scale9 enabled background image<br>
-- param capInsets The capInsets in Rect.
-- @function [parent=#Layout] setBackGroundImageCapInsets
-- @param self
-- @param #rect_table capInsets
-- @return Layout#Layout self (return value: ccui.Layout)
--------------------------------
-- Gets background image texture size.<br>
-- return background image texture size.
-- @function [parent=#Layout] getBackGroundImageTextureSize
-- @param self
-- @return size_table#size_table ret (return value: size_table)
--------------------------------
-- force refresh widget layout
-- @function [parent=#Layout] forceDoLayout
-- @param self
-- @return Layout#Layout self (return value: ccui.Layout)
--------------------------------
-- Query layout type.<br>
-- return Get the layout type.
-- @function [parent=#Layout] getLayoutType
-- @param self
-- @return int#int ret (return value: int)
--------------------------------
-- param pass To specify whether the layout pass its focus to its child
-- @function [parent=#Layout] setPassFocusToChild
-- @param self
-- @param #bool pass
-- @return Layout#Layout self (return value: ccui.Layout)
--------------------------------
-- Get the gradient background start color.<br>
-- return Gradient background start color value.
-- @function [parent=#Layout] getBackGroundStartColor
-- @param self
-- @return color3b_table#color3b_table ret (return value: color3b_table)
--------------------------------
-- Enable background image scale9 rendering.<br>
-- param enabled True means enable scale9 rendering for background image, false otherwise.
-- @function [parent=#Layout] setBackGroundImageScale9Enabled
-- @param self
-- @param #bool enabled
-- @return Layout#Layout self (return value: ccui.Layout)
--------------------------------
-- Change the layout type.<br>
-- param type Layout type.
-- @function [parent=#Layout] setLayoutType
-- @param self
-- @param #int type
-- @return Layout#Layout self (return value: ccui.Layout)
--------------------------------
-- Create a empty layout.
-- @function [parent=#Layout] create
-- @param self
-- @return Layout#Layout ret (return value: ccui.Layout)
--------------------------------
--
-- @function [parent=#Layout] createInstance
-- @param self
-- @return Ref#Ref ret (return value: cc.Ref)
--------------------------------
-- @overload self, cc.Node, int
-- @overload self, cc.Node
-- @overload self, cc.Node, int, int
-- @overload self, cc.Node, int, string
-- @function [parent=#Layout] addChild
-- @param self
-- @param #cc.Node child
-- @param #int localZOrder
-- @param #string name
-- @return Layout#Layout self (return value: ccui.Layout)
--------------------------------
-- Returns the "class name" of widget.
-- @function [parent=#Layout] getDescription
-- @param self
-- @return string#string ret (return value: string)
--------------------------------
-- Removes all children from the container, and do a cleanup to all running actions depending on the cleanup parameter.<br>
-- param cleanup true if all running actions on all children nodes should be cleanup, false oterwise.<br>
-- js removeAllChildren<br>
-- lua removeAllChildren
-- @function [parent=#Layout] removeAllChildrenWithCleanup
-- @param self
-- @param #bool cleanup
-- @return Layout#Layout self (return value: ccui.Layout)
--------------------------------
-- Removes all children from the container with a cleanup.<br>
-- see `removeAllChildrenWithCleanup(bool)`
-- @function [parent=#Layout] removeAllChildren
-- @param self
-- @return Layout#Layout self (return value: ccui.Layout)
--------------------------------
-- When a widget is in a layout, you could call this method to get the next focused widget within a specified direction.<br>
-- If the widget is not in a layout, it will return itself<br>
-- param direction the direction to look for the next focused widget in a layout<br>
-- param current the current focused widget<br>
-- return the next focused widget in a layout
-- @function [parent=#Layout] findNextFocusedWidget
-- @param self
-- @param #int direction
-- @param #ccui.Widget current
-- @return Widget#Widget ret (return value: ccui.Widget)
--------------------------------
--
-- @function [parent=#Layout] removeChild
-- @param self
-- @param #cc.Node child
-- @param #bool cleanup
-- @return Layout#Layout self (return value: ccui.Layout)
--------------------------------
--
-- @function [parent=#Layout] init
-- @param self
-- @return bool#bool ret (return value: bool)
--------------------------------
-- Override function. Set camera mask, the node is visible by the camera whose camera flag & node's camera mask is true. <br>
-- param mask Mask being set<br>
-- param applyChildren If true call this function recursively from this node to its children.
-- @function [parent=#Layout] setCameraMask
-- @param self
-- @param #unsigned short mask
-- @param #bool applyChildren
-- @return Layout#Layout self (return value: ccui.Layout)
--------------------------------
-- Default constructor<br>
-- js ctor<br>
-- lua new
-- @function [parent=#Layout] Layout
-- @param self
-- @return Layout#Layout self (return value: ccui.Layout)
return nil

View File

@ -0,0 +1,408 @@
--------------------------------
-- @module LayoutComponent
-- @extend Component
-- @parent_module ccui
--------------------------------
-- Toggle enable stretch width.<br>
-- param isUsed True if enable stretch width, false otherwise.
-- @function [parent=#LayoutComponent] setStretchWidthEnabled
-- @param self
-- @param #bool isUsed
-- @return LayoutComponent#LayoutComponent self (return value: ccui.LayoutComponent)
--------------------------------
-- Change percent width of owner.<br>
-- param percentWidth Percent Width in float.
-- @function [parent=#LayoutComponent] setPercentWidth
-- @param self
-- @param #float percentWidth
-- @return LayoutComponent#LayoutComponent self (return value: ccui.LayoutComponent)
--------------------------------
-- Query the anchor position.<br>
-- return Anchor position to it's parent
-- @function [parent=#LayoutComponent] getAnchorPosition
-- @param self
-- @return vec2_table#vec2_table ret (return value: vec2_table)
--------------------------------
-- Toggle position percentX enabled.<br>
-- param isUsed True if enable position percentX, false otherwise.
-- @function [parent=#LayoutComponent] setPositionPercentXEnabled
-- @param self
-- @param #bool isUsed
-- @return LayoutComponent#LayoutComponent self (return value: ccui.LayoutComponent)
--------------------------------
-- Toggle enable stretch height.<br>
-- param isUsed True if stretch height is enabled, false otherwise.
-- @function [parent=#LayoutComponent] setStretchHeightEnabled
-- @param self
-- @param #bool isUsed
-- @return LayoutComponent#LayoutComponent self (return value: ccui.LayoutComponent)
--------------------------------
-- Toggle active enabled of LayoutComponent's owner.<br>
-- param enable True if active layout component, false otherwise.
-- @function [parent=#LayoutComponent] setActiveEnabled
-- @param self
-- @param #bool enable
-- @return LayoutComponent#LayoutComponent self (return value: ccui.LayoutComponent)
--------------------------------
-- Query the right margin of owner relative to its parent.<br>
-- return Right margin in float.
-- @function [parent=#LayoutComponent] getRightMargin
-- @param self
-- @return float#float ret (return value: float)
--------------------------------
-- Query owner's content size.<br>
-- return Owner's content size.
-- @function [parent=#LayoutComponent] getSize
-- @param self
-- @return size_table#size_table ret (return value: size_table)
--------------------------------
-- Change the anchor position to it's parent.<br>
-- param point A value in (x,y) format.
-- @function [parent=#LayoutComponent] setAnchorPosition
-- @param self
-- @param #vec2_table point
-- @return LayoutComponent#LayoutComponent self (return value: ccui.LayoutComponent)
--------------------------------
-- Refresh layout of the owner.
-- @function [parent=#LayoutComponent] refreshLayout
-- @param self
-- @return LayoutComponent#LayoutComponent self (return value: ccui.LayoutComponent)
--------------------------------
-- Query whether percent width is enabled or not.<br>
-- return True if percent width is enabled, false, otherwise.
-- @function [parent=#LayoutComponent] isPercentWidthEnabled
-- @param self
-- @return bool#bool ret (return value: bool)
--------------------------------
-- Change element's vertical dock type.<br>
-- param vEage Vertical dock type @see `VerticalEdge`.
-- @function [parent=#LayoutComponent] setVerticalEdge
-- @param self
-- @param #int vEage
-- @return LayoutComponent#LayoutComponent self (return value: ccui.LayoutComponent)
--------------------------------
-- Query the top margin of owner relative to its parent.<br>
-- return Top margin in float.
-- @function [parent=#LayoutComponent] getTopMargin
-- @param self
-- @return float#float ret (return value: float)
--------------------------------
-- Change content size width of owner.<br>
-- param width Content size width in float.
-- @function [parent=#LayoutComponent] setSizeWidth
-- @param self
-- @param #float width
-- @return LayoutComponent#LayoutComponent self (return value: ccui.LayoutComponent)
--------------------------------
-- Query the percent content size value.<br>
-- return Percet (x,y) in Vec2.
-- @function [parent=#LayoutComponent] getPercentContentSize
-- @param self
-- @return vec2_table#vec2_table ret (return value: vec2_table)
--------------------------------
-- Query element vertical dock type.<br>
-- return Vertical dock type.
-- @function [parent=#LayoutComponent] getVerticalEdge
-- @param self
-- @return int#int ret (return value: int)
--------------------------------
-- Toggle enable percent width.<br>
-- param isUsed True if percent width is enabled, false otherwise.
-- @function [parent=#LayoutComponent] setPercentWidthEnabled
-- @param self
-- @param #bool isUsed
-- @return LayoutComponent#LayoutComponent self (return value: ccui.LayoutComponent)
--------------------------------
-- Query whether stretch width is enabled or not.<br>
-- return True if stretch width is enabled, false otherwise.
-- @function [parent=#LayoutComponent] isStretchWidthEnabled
-- @param self
-- @return bool#bool ret (return value: bool)
--------------------------------
-- Change left margin of owner relative to its parent.<br>
-- param margin Margin in float.
-- @function [parent=#LayoutComponent] setLeftMargin
-- @param self
-- @param #float margin
-- @return LayoutComponent#LayoutComponent self (return value: ccui.LayoutComponent)
--------------------------------
-- Query content size width of owner.<br>
-- return Content size width in float.
-- @function [parent=#LayoutComponent] getSizeWidth
-- @param self
-- @return float#float ret (return value: float)
--------------------------------
-- Toggle position percentY enabled.<br>
-- param isUsed True if position percentY is enabled, false otherwise.
-- @function [parent=#LayoutComponent] setPositionPercentYEnabled
-- @param self
-- @param #bool isUsed
-- @return LayoutComponent#LayoutComponent self (return value: ccui.LayoutComponent)
--------------------------------
-- Query size height of owner.<br>
-- return Size height in float.
-- @function [parent=#LayoutComponent] getSizeHeight
-- @param self
-- @return float#float ret (return value: float)
--------------------------------
-- Query the position percentY Y value.<br>
-- return Position percent Y value in float.
-- @function [parent=#LayoutComponent] getPositionPercentY
-- @param self
-- @return float#float ret (return value: float)
--------------------------------
-- Query the position percent X value.<br>
-- return Position percent X value in float.
-- @function [parent=#LayoutComponent] getPositionPercentX
-- @param self
-- @return float#float ret (return value: float)
--------------------------------
-- Change the top margin of owner relative to its parent.<br>
-- param margin Margin in float.
-- @function [parent=#LayoutComponent] setTopMargin
-- @param self
-- @param #float margin
-- @return LayoutComponent#LayoutComponent self (return value: ccui.LayoutComponent)
--------------------------------
-- Query percent hieght of owner. <br>
-- return Percent height in float.
-- @function [parent=#LayoutComponent] getPercentHeight
-- @param self
-- @return float#float ret (return value: float)
--------------------------------
-- Query whether use percent content size or not.<br>
-- return True if using percent content size, false otherwise.
-- @function [parent=#LayoutComponent] getUsingPercentContentSize
-- @param self
-- @return bool#bool ret (return value: bool)
--------------------------------
-- Change position percentY value.<br>
-- param percentMargin Margin in float.
-- @function [parent=#LayoutComponent] setPositionPercentY
-- @param self
-- @param #float percentMargin
-- @return LayoutComponent#LayoutComponent self (return value: ccui.LayoutComponent)
--------------------------------
-- Change position percent X value.<br>
-- param percentMargin Margin in float.
-- @function [parent=#LayoutComponent] setPositionPercentX
-- @param self
-- @param #float percentMargin
-- @return LayoutComponent#LayoutComponent self (return value: ccui.LayoutComponent)
--------------------------------
-- Change right margin of owner relative to its parent.<br>
-- param margin Margin in float.
-- @function [parent=#LayoutComponent] setRightMargin
-- @param self
-- @param #float margin
-- @return LayoutComponent#LayoutComponent self (return value: ccui.LayoutComponent)
--------------------------------
-- Whether position percentY is enabled or not.<br>
-- see `setPositionPercentYEnabled`<br>
-- return True if position percentY is enabled, false otherwise.
-- @function [parent=#LayoutComponent] isPositionPercentYEnabled
-- @param self
-- @return bool#bool ret (return value: bool)
--------------------------------
-- Change percent height value of owner.<br>
-- param percentHeight Percent height in float.
-- @function [parent=#LayoutComponent] setPercentHeight
-- @param self
-- @param #float percentHeight
-- @return LayoutComponent#LayoutComponent self (return value: ccui.LayoutComponent)
--------------------------------
-- Toggle enable percent only.<br>
-- param enable True if percent only is enabled, false otherwise.
-- @function [parent=#LayoutComponent] setPercentOnlyEnabled
-- @param self
-- @param #bool enable
-- @return LayoutComponent#LayoutComponent self (return value: ccui.LayoutComponent)
--------------------------------
-- Change element's horizontal dock type.<br>
-- param hEage Horizontal dock type @see `HorizontalEdge`
-- @function [parent=#LayoutComponent] setHorizontalEdge
-- @param self
-- @param #int hEage
-- @return LayoutComponent#LayoutComponent self (return value: ccui.LayoutComponent)
--------------------------------
-- Change the position of component owner.<br>
-- param position A position in (x,y)
-- @function [parent=#LayoutComponent] setPosition
-- @param self
-- @param #vec2_table position
-- @return LayoutComponent#LayoutComponent self (return value: ccui.LayoutComponent)
--------------------------------
-- Percent content size is used to adapt node's content size based on parent's content size.<br>
-- If set to true then node's content size will be changed based on the value setted by @see setPercentContentSize<br>
-- param isUsed True to enable percent content size, false otherwise.
-- @function [parent=#LayoutComponent] setUsingPercentContentSize
-- @param self
-- @param #bool isUsed
-- @return LayoutComponent#LayoutComponent self (return value: ccui.LayoutComponent)
--------------------------------
-- Query left margin of owner relative to its parent.<br>
-- return Left margin in float.
-- @function [parent=#LayoutComponent] getLeftMargin
-- @param self
-- @return float#float ret (return value: float)
--------------------------------
-- Query the owner's position.<br>
-- return The owner's position.
-- @function [parent=#LayoutComponent] getPosition
-- @param self
-- @return vec2_table#vec2_table ret (return value: vec2_table)
--------------------------------
-- Change size height of owner.<br>
-- param height Size height in float.
-- @function [parent=#LayoutComponent] setSizeHeight
-- @param self
-- @param #float height
-- @return LayoutComponent#LayoutComponent self (return value: ccui.LayoutComponent)
--------------------------------
-- Whether position percentX is enabled or not. <br>
-- return True if position percertX is enable, false otherwise.
-- @function [parent=#LayoutComponent] isPositionPercentXEnabled
-- @param self
-- @return bool#bool ret (return value: bool)
--------------------------------
-- Query the bottom margin of owner relative to its parent.<br>
-- return Bottom margin in float.
-- @function [parent=#LayoutComponent] getBottomMargin
-- @param self
-- @return float#float ret (return value: float)
--------------------------------
-- Toggle enable percent height.<br>
-- param isUsed True if percent height is enabled, false otherwise.
-- @function [parent=#LayoutComponent] setPercentHeightEnabled
-- @param self
-- @param #bool isUsed
-- @return LayoutComponent#LayoutComponent self (return value: ccui.LayoutComponent)
--------------------------------
-- Set percent content size.<br>
-- The value should be [0-1], 0 means the child's content size will be 0<br>
-- and 1 means the child's content size is the same as its parents.<br>
-- param percent The percent (x,y) of the node in [0-1] scope.
-- @function [parent=#LayoutComponent] setPercentContentSize
-- @param self
-- @param #vec2_table percent
-- @return LayoutComponent#LayoutComponent self (return value: ccui.LayoutComponent)
--------------------------------
-- Query whehter percent height is enabled or not.<br>
-- return True if percent height is enabled, false otherwise.
-- @function [parent=#LayoutComponent] isPercentHeightEnabled
-- @param self
-- @return bool#bool ret (return value: bool)
--------------------------------
-- Query percent width of owner.<br>
-- return percent width in float.
-- @function [parent=#LayoutComponent] getPercentWidth
-- @param self
-- @return float#float ret (return value: float)
--------------------------------
-- Query element horizontal dock type.<br>
-- return Horizontal dock type.
-- @function [parent=#LayoutComponent] getHorizontalEdge
-- @param self
-- @return int#int ret (return value: int)
--------------------------------
-- Query whether stretch height is enabled or not.<br>
-- return True if stretch height is enabled, false otherwise.
-- @function [parent=#LayoutComponent] isStretchHeightEnabled
-- @param self
-- @return bool#bool ret (return value: bool)
--------------------------------
-- Change the bottom margin of owner relative to its parent.<br>
-- param margin in float.
-- @function [parent=#LayoutComponent] setBottomMargin
-- @param self
-- @param #float margin
-- @return LayoutComponent#LayoutComponent self (return value: ccui.LayoutComponent)
--------------------------------
-- Change the content size of owner.<br>
-- param size Content size in @see `Size`.
-- @function [parent=#LayoutComponent] setSize
-- @param self
-- @param #size_table size
-- @return LayoutComponent#LayoutComponent self (return value: ccui.LayoutComponent)
--------------------------------
--
-- @function [parent=#LayoutComponent] create
-- @param self
-- @return LayoutComponent#LayoutComponent ret (return value: ccui.LayoutComponent)
--------------------------------
-- Bind a LayoutComponent to a specified node.<br>
-- If the node has already binded a LayoutComponent named __LAYOUT_COMPONENT_NAME, just return the LayoutComponent.<br>
-- Otherwise, create a new LayoutComponent and bind the LayoutComponent to the node.<br>
-- param node A Node* instance pointer.<br>
-- return The binded LayoutComponent instance pointer.
-- @function [parent=#LayoutComponent] bindLayoutComponent
-- @param self
-- @param #cc.Node node
-- @return LayoutComponent#LayoutComponent ret (return value: ccui.LayoutComponent)
--------------------------------
--
-- @function [parent=#LayoutComponent] init
-- @param self
-- @return bool#bool ret (return value: bool)
--------------------------------
-- Default constructor<br>
-- lua new
-- @function [parent=#LayoutComponent] LayoutComponent
-- @param self
-- @return LayoutComponent#LayoutComponent self (return value: ccui.LayoutComponent)
return nil

View File

@ -0,0 +1,51 @@
--------------------------------
-- @module LayoutParameter
-- @extend Ref
-- @parent_module ccui
--------------------------------
-- Create a copy of original LayoutParameter.<br>
-- return A LayoutParameter pointer.
-- @function [parent=#LayoutParameter] clone
-- @param self
-- @return LayoutParameter#LayoutParameter ret (return value: ccui.LayoutParameter)
--------------------------------
-- Gets LayoutParameterType of LayoutParameter.<br>
-- see LayoutParameterType.<br>
-- return LayoutParameterType
-- @function [parent=#LayoutParameter] getLayoutType
-- @param self
-- @return int#int ret (return value: int)
--------------------------------
-- Create a cloned instance of LayoutParameter.<br>
-- return A LayoutParameter pointer.
-- @function [parent=#LayoutParameter] createCloneInstance
-- @param self
-- @return LayoutParameter#LayoutParameter ret (return value: ccui.LayoutParameter)
--------------------------------
-- Copy all the member field from argument LayoutParameter to self.<br>
-- param model A LayoutParameter instance.
-- @function [parent=#LayoutParameter] copyProperties
-- @param self
-- @param #ccui.LayoutParameter model
-- @return LayoutParameter#LayoutParameter self (return value: ccui.LayoutParameter)
--------------------------------
-- Create a empty LayoutParameter.<br>
-- return A autorelease LayoutParameter instance.
-- @function [parent=#LayoutParameter] create
-- @param self
-- @return LayoutParameter#LayoutParameter ret (return value: ccui.LayoutParameter)
--------------------------------
-- Default constructor.<br>
-- lua new
-- @function [parent=#LayoutParameter] LayoutParameter
-- @param self
-- @return LayoutParameter#LayoutParameter self (return value: ccui.LayoutParameter)
return nil

View File

@ -0,0 +1,51 @@
--------------------------------
-- @module LinearLayoutParameter
-- @extend LayoutParameter
-- @parent_module ccui
--------------------------------
-- Sets LinearGravity parameter for LayoutParameter.<br>
-- see LinearGravity<br>
-- param gravity Gravity in LinearGravity.
-- @function [parent=#LinearLayoutParameter] setGravity
-- @param self
-- @param #int gravity
-- @return LinearLayoutParameter#LinearLayoutParameter self (return value: ccui.LinearLayoutParameter)
--------------------------------
-- Gets LinearGravity parameter for LayoutParameter.<br>
-- see LinearGravity<br>
-- return LinearGravity
-- @function [parent=#LinearLayoutParameter] getGravity
-- @param self
-- @return int#int ret (return value: int)
--------------------------------
-- Create a empty LinearLayoutParameter instance.<br>
-- return A initialized LayoutParameter which is marked as "autorelease".
-- @function [parent=#LinearLayoutParameter] create
-- @param self
-- @return LinearLayoutParameter#LinearLayoutParameter ret (return value: ccui.LinearLayoutParameter)
--------------------------------
--
-- @function [parent=#LinearLayoutParameter] createCloneInstance
-- @param self
-- @return LayoutParameter#LayoutParameter ret (return value: ccui.LayoutParameter)
--------------------------------
--
-- @function [parent=#LinearLayoutParameter] copyProperties
-- @param self
-- @param #ccui.LayoutParameter model
-- @return LinearLayoutParameter#LinearLayoutParameter self (return value: ccui.LinearLayoutParameter)
--------------------------------
-- Default constructor.<br>
-- lua new
-- @function [parent=#LinearLayoutParameter] LinearLayoutParameter
-- @param self
-- @return LinearLayoutParameter#LinearLayoutParameter self (return value: ccui.LinearLayoutParameter)
return nil

View File

@ -0,0 +1,395 @@
--------------------------------
-- @module ListView
-- @extend ScrollView
-- @parent_module ccui
--------------------------------
-- Set the gravity of ListView.<br>
-- see `ListViewGravity`
-- @function [parent=#ListView] setGravity
-- @param self
-- @param #int gravity
-- @return ListView#ListView self (return value: ccui.ListView)
--------------------------------
-- Removes the last item of ListView.
-- @function [parent=#ListView] removeLastItem
-- @param self
-- @return ListView#ListView self (return value: ccui.ListView)
--------------------------------
-- brief Query the center item<br>
-- return A item instance.
-- @function [parent=#ListView] getCenterItemInCurrentView
-- @param self
-- @return Widget#Widget ret (return value: ccui.Widget)
--------------------------------
-- brief Query current selected widget's idnex.<br>
-- return A index of a selected item.
-- @function [parent=#ListView] getCurSelectedIndex
-- @param self
-- @return long#long ret (return value: long)
--------------------------------
-- brief Query margin between each item in ListView.<br>
-- return A margin in float.
-- @function [parent=#ListView] getItemsMargin
-- @param self
-- @return float#float ret (return value: float)
--------------------------------
-- brief Jump to specific item<br>
-- param itemIndex Specifies the item's index<br>
-- param positionRatioInView Specifies the position with ratio in list view's content size.<br>
-- param itemAnchorPoint Specifies an anchor point of each item for position to calculate distance.
-- @function [parent=#ListView] jumpToItem
-- @param self
-- @param #int itemIndex
-- @param #vec2_table positionRatioInView
-- @param #vec2_table itemAnchorPoint
-- @return ListView#ListView self (return value: ccui.ListView)
--------------------------------
-- Set magnetic type of ListView.<br>
-- see `MagneticType`
-- @function [parent=#ListView] setMagneticType
-- @param self
-- @param #int magneticType
-- @return ListView#ListView self (return value: ccui.ListView)
--------------------------------
-- Return the index of specified widget.<br>
-- param item A widget pointer.<br>
-- return The index of a given widget in ListView.
-- @function [parent=#ListView] getIndex
-- @param self
-- @param #ccui.Widget item
-- @return long#long ret (return value: long)
--------------------------------
-- Insert a custom item into the end of ListView.<br>
-- param item A item in `Widget*`.
-- @function [parent=#ListView] pushBackCustomItem
-- @param self
-- @param #ccui.Widget item
-- @return ListView#ListView self (return value: ccui.ListView)
--------------------------------
-- Insert a default item(create by cloning model) into listview at a give index.<br>
-- param index A index in ssize_t.
-- @function [parent=#ListView] insertDefaultItem
-- @param self
-- @param #long index
-- @return ListView#ListView self (return value: ccui.ListView)
--------------------------------
-- Set magnetic allowed out of boundary.
-- @function [parent=#ListView] setMagneticAllowedOutOfBoundary
-- @param self
-- @param #bool magneticAllowedOutOfBoundary
-- @return ListView#ListView self (return value: ccui.ListView)
--------------------------------
-- Add a event click callback to ListView, then one item of Listview is clicked, the callback will be called.<br>
-- param callback A callback function with type of `ccListViewCallback`.
-- @function [parent=#ListView] addEventListener
-- @param self
-- @param #function callback
-- @return ListView#ListView self (return value: ccui.ListView)
--------------------------------
--
-- @function [parent=#ListView] doLayout
-- @param self
-- @return ListView#ListView self (return value: ccui.ListView)
--------------------------------
-- brief Query the topmost item in horizontal list<br>
-- return A item instance.
-- @function [parent=#ListView] getTopmostItemInCurrentView
-- @param self
-- @return Widget#Widget ret (return value: ccui.Widget)
--------------------------------
-- brief Remove all items in current ListView.
-- @function [parent=#ListView] removeAllItems
-- @param self
-- @return ListView#ListView self (return value: ccui.ListView)
--------------------------------
-- brief Query the bottommost item in horizontal list<br>
-- return A item instance.
-- @function [parent=#ListView] getBottommostItemInCurrentView
-- @param self
-- @return Widget#Widget ret (return value: ccui.Widget)
--------------------------------
-- Return all items in a ListView.<br>
-- returns A vector of widget pointers.
-- @function [parent=#ListView] getItems
-- @param self
-- @return array_table#array_table ret (return value: array_table)
--------------------------------
-- brief Query the leftmost item in horizontal list<br>
-- return A item instance.
-- @function [parent=#ListView] getLeftmostItemInCurrentView
-- @param self
-- @return Widget#Widget ret (return value: ccui.Widget)
--------------------------------
-- Set the margin between each item in ListView.<br>
-- param margin
-- @function [parent=#ListView] setItemsMargin
-- @param self
-- @param #float margin
-- @return ListView#ListView self (return value: ccui.ListView)
--------------------------------
-- Get magnetic type of ListView.
-- @function [parent=#ListView] getMagneticType
-- @param self
-- @return int#int ret (return value: int)
--------------------------------
-- Return a item at a given index.<br>
-- param index A given index in ssize_t.<br>
-- return A widget instance.
-- @function [parent=#ListView] getItem
-- @param self
-- @param #long index
-- @return Widget#Widget ret (return value: ccui.Widget)
--------------------------------
-- Remove a item at given index.<br>
-- param index A given index in ssize_t.
-- @function [parent=#ListView] removeItem
-- @param self
-- @param #long index
-- @return ListView#ListView self (return value: ccui.ListView)
--------------------------------
-- @overload self, int, vec2_table, vec2_table, float
-- @overload self, int, vec2_table, vec2_table
-- @function [parent=#ListView] scrollToItem
-- @param self
-- @param #int itemIndex
-- @param #vec2_table positionRatioInView
-- @param #vec2_table itemAnchorPoint
-- @param #float timeInSec
-- @return ListView#ListView self (return value: ccui.ListView)
--------------------------------
-- Insert a a default item(create by a cloned model) at the end of the listview.
-- @function [parent=#ListView] pushBackDefaultItem
-- @param self
-- @return ListView#ListView self (return value: ccui.ListView)
--------------------------------
-- Query whether the magnetic out of boundary is allowed.
-- @function [parent=#ListView] getMagneticAllowedOutOfBoundary
-- @param self
-- @return bool#bool ret (return value: bool)
--------------------------------
-- brief Query the closest item to a specific position in inner container.<br>
-- param targetPosition Specifies the target position in inner container's coordinates.<br>
-- param itemAnchorPoint Specifies an anchor point of each item for position to calculate distance.<br>
-- return A item instance if list view is not empty. Otherwise, returns null.
-- @function [parent=#ListView] getClosestItemToPosition
-- @param self
-- @param #vec2_table targetPosition
-- @param #vec2_table itemAnchorPoint
-- @return Widget#Widget ret (return value: ccui.Widget)
--------------------------------
-- brief Query the rightmost item in horizontal list<br>
-- return A item instance.
-- @function [parent=#ListView] getRightmostItemInCurrentView
-- @param self
-- @return Widget#Widget ret (return value: ccui.Widget)
--------------------------------
-- brief Query the closest item to a specific position in current view.<br>
-- For instance, to find the item in the center of view, call 'getClosestItemToPositionInCurrentView(Vec2::ANCHOR_MIDDLE, Vec2::ANCHOR_MIDDLE)'.<br>
-- param positionRatioInView Specifies the target position with ratio in list view's content size.<br>
-- param itemAnchorPoint Specifies an anchor point of each item for position to calculate distance.<br>
-- return A item instance if list view is not empty. Otherwise, returns null.
-- @function [parent=#ListView] getClosestItemToPositionInCurrentView
-- @param self
-- @param #vec2_table positionRatioInView
-- @param #vec2_table itemAnchorPoint
-- @return Widget#Widget ret (return value: ccui.Widget)
--------------------------------
-- Set a item model for listview.<br>
-- When calling `pushBackDefaultItem`, the model will be used as a blueprint and new model copy will be inserted into ListView.<br>
-- param model Model in `Widget*`.
-- @function [parent=#ListView] setItemModel
-- @param self
-- @param #ccui.Widget model
-- @return ListView#ListView self (return value: ccui.ListView)
--------------------------------
-- brief Insert a custom widget into ListView at a given index.<br>
-- param item A widget pointer to be inserted.<br>
-- param index A given index in ssize_t.
-- @function [parent=#ListView] insertCustomItem
-- @param self
-- @param #ccui.Widget item
-- @param #long index
-- @return ListView#ListView self (return value: ccui.ListView)
--------------------------------
-- Create an empty ListView.<br>
-- return A ListView instance.
-- @function [parent=#ListView] create
-- @param self
-- @return ListView#ListView ret (return value: ccui.ListView)
--------------------------------
--
-- @function [parent=#ListView] createInstance
-- @param self
-- @return Ref#Ref ret (return value: cc.Ref)
--------------------------------
-- @overload self, cc.Node, int
-- @overload self, cc.Node
-- @overload self, cc.Node, int, int
-- @overload self, cc.Node, int, string
-- @function [parent=#ListView] addChild
-- @param self
-- @param #cc.Node child
-- @param #int zOrder
-- @param #string name
-- @return ListView#ListView self (return value: ccui.ListView)
--------------------------------
-- Override functions
-- @function [parent=#ListView] jumpToBottom
-- @param self
-- @return ListView#ListView self (return value: ccui.ListView)
--------------------------------
--
-- @function [parent=#ListView] init
-- @param self
-- @return bool#bool ret (return value: bool)
--------------------------------
-- Changes scroll direction of scrollview.<br>
-- Direction Direction::VERTICAL means vertical scroll, Direction::HORIZONTAL means horizontal scroll.<br>
-- param dir Set the list view's scroll direction.
-- @function [parent=#ListView] setDirection
-- @param self
-- @param #int dir
-- @return ListView#ListView self (return value: ccui.ListView)
--------------------------------
--
-- @function [parent=#ListView] jumpToTopRight
-- @param self
-- @return ListView#ListView self (return value: ccui.ListView)
--------------------------------
--
-- @function [parent=#ListView] jumpToLeft
-- @param self
-- @return ListView#ListView self (return value: ccui.ListView)
--------------------------------
--
-- @function [parent=#ListView] removeAllChildrenWithCleanup
-- @param self
-- @param #bool cleanup
-- @return ListView#ListView self (return value: ccui.ListView)
--------------------------------
--
-- @function [parent=#ListView] requestDoLayout
-- @param self
-- @return ListView#ListView self (return value: ccui.ListView)
--------------------------------
--
-- @function [parent=#ListView] removeAllChildren
-- @param self
-- @return ListView#ListView self (return value: ccui.ListView)
--------------------------------
--
-- @function [parent=#ListView] jumpToTopLeft
-- @param self
-- @return ListView#ListView self (return value: ccui.ListView)
--------------------------------
--
-- @function [parent=#ListView] removeChild
-- @param self
-- @param #cc.Node child
-- @param #bool cleaup
-- @return ListView#ListView self (return value: ccui.ListView)
--------------------------------
--
-- @function [parent=#ListView] jumpToBottomRight
-- @param self
-- @return ListView#ListView self (return value: ccui.ListView)
--------------------------------
--
-- @function [parent=#ListView] jumpToTop
-- @param self
-- @return ListView#ListView self (return value: ccui.ListView)
--------------------------------
--
-- @function [parent=#ListView] jumpToBottomLeft
-- @param self
-- @return ListView#ListView self (return value: ccui.ListView)
--------------------------------
--
-- @function [parent=#ListView] jumpToPercentBothDirection
-- @param self
-- @param #vec2_table percent
-- @return ListView#ListView self (return value: ccui.ListView)
--------------------------------
--
-- @function [parent=#ListView] jumpToPercentHorizontal
-- @param self
-- @param #float percent
-- @return ListView#ListView self (return value: ccui.ListView)
--------------------------------
--
-- @function [parent=#ListView] jumpToRight
-- @param self
-- @return ListView#ListView self (return value: ccui.ListView)
--------------------------------
--
-- @function [parent=#ListView] getDescription
-- @param self
-- @return string#string ret (return value: string)
--------------------------------
--
-- @function [parent=#ListView] jumpToPercentVertical
-- @param self
-- @param #float percent
-- @return ListView#ListView self (return value: ccui.ListView)
--------------------------------
-- Default constructor<br>
-- js ctor<br>
-- lua new
-- @function [parent=#ListView] ListView
-- @param self
-- @return ListView#ListView self (return value: ccui.ListView)
return nil

View File

@ -0,0 +1,130 @@
--------------------------------
-- @module LoadingBar
-- @extend Widget
-- @parent_module ccui
--------------------------------
-- Changes the progress value of LoadingBar.<br>
-- param percent Percent value from 1 to 100.
-- @function [parent=#LoadingBar] setPercent
-- @param self
-- @param #float percent
-- @return LoadingBar#LoadingBar self (return value: ccui.LoadingBar)
--------------------------------
-- Load texture for LoadingBar.<br>
-- param texture File name of texture.<br>
-- param texType Texture resource type,@see TextureResType.
-- @function [parent=#LoadingBar] loadTexture
-- @param self
-- @param #string texture
-- @param #int texType
-- @return LoadingBar#LoadingBar self (return value: ccui.LoadingBar)
--------------------------------
-- Change the progress direction of LoadingBar.<br>
-- see Direction `LEFT` means progress left to right, `RIGHT` otherwise.<br>
-- param direction Direction
-- @function [parent=#LoadingBar] setDirection
-- @param self
-- @param #int direction
-- @return LoadingBar#LoadingBar self (return value: ccui.LoadingBar)
--------------------------------
-- Enable scale9 renderer.<br>
-- param enabled Set to true will use scale9 renderer, false otherwise.
-- @function [parent=#LoadingBar] setScale9Enabled
-- @param self
-- @param #bool enabled
-- @return LoadingBar#LoadingBar self (return value: ccui.LoadingBar)
--------------------------------
-- Set capInsets for LoadingBar.<br>
-- This setting only take effect when enable scale9 renderer.<br>
-- param capInsets CapInset in `Rect`.
-- @function [parent=#LoadingBar] setCapInsets
-- @param self
-- @param #rect_table capInsets
-- @return LoadingBar#LoadingBar self (return value: ccui.LoadingBar)
--------------------------------
-- Get the progress direction of LoadingBar.<br>
-- see Direction `LEFT` means progress left to right, `RIGHT` otherwise.<br>
-- return LoadingBar progress direction.
-- @function [parent=#LoadingBar] getDirection
-- @param self
-- @return int#int ret (return value: int)
--------------------------------
-- brief Query LoadingBar's capInsets.<br>
-- return CapInsets of LoadingBar.
-- @function [parent=#LoadingBar] getCapInsets
-- @param self
-- @return rect_table#rect_table ret (return value: rect_table)
--------------------------------
-- brief Query whether LoadingBar is using scale9 renderer or not.<br>
-- return Whether LoadingBar uses scale9 renderer or not.
-- @function [parent=#LoadingBar] isScale9Enabled
-- @param self
-- @return bool#bool ret (return value: bool)
--------------------------------
-- Get the progress value of LoadingBar.<br>
-- return Progress value from 1 to 100.
-- @function [parent=#LoadingBar] getPercent
-- @param self
-- @return float#float ret (return value: float)
--------------------------------
-- @overload self, string, float
-- @overload self
-- @overload self, string, int, float
-- @function [parent=#LoadingBar] create
-- @param self
-- @param #string textureName
-- @param #int texType
-- @param #float percentage
-- @return LoadingBar#LoadingBar ret (return value: ccui.LoadingBar)
--------------------------------
--
-- @function [parent=#LoadingBar] createInstance
-- @param self
-- @return Ref#Ref ret (return value: cc.Ref)
--------------------------------
--
-- @function [parent=#LoadingBar] getVirtualRenderer
-- @param self
-- @return Node#Node ret (return value: cc.Node)
--------------------------------
--
-- @function [parent=#LoadingBar] getDescription
-- @param self
-- @return string#string ret (return value: string)
--------------------------------
--
-- @function [parent=#LoadingBar] getVirtualRendererSize
-- @param self
-- @return size_table#size_table ret (return value: size_table)
--------------------------------
--
-- @function [parent=#LoadingBar] ignoreContentAdaptWithSize
-- @param self
-- @param #bool ignore
-- @return LoadingBar#LoadingBar self (return value: ccui.LoadingBar)
--------------------------------
-- Default constructor.<br>
-- js ctor<br>
-- lua new
-- @function [parent=#LoadingBar] LoadingBar
-- @param self
-- @return LoadingBar#LoadingBar self (return value: ccui.LoadingBar)
return nil

View File

@ -0,0 +1,49 @@
--------------------------------
-- @module Manifest
-- @extend Ref
-- @parent_module cc
--------------------------------
-- @brief Gets remote manifest file url.
-- @function [parent=#Manifest] getManifestFileUrl
-- @param self
-- @return string#string ret (return value: string)
--------------------------------
-- @brief Check whether the version informations have been fully loaded
-- @function [parent=#Manifest] isVersionLoaded
-- @param self
-- @return bool#bool ret (return value: bool)
--------------------------------
-- @brief Check whether the manifest have been fully loaded
-- @function [parent=#Manifest] isLoaded
-- @param self
-- @return bool#bool ret (return value: bool)
--------------------------------
-- @brief Gets remote package url.
-- @function [parent=#Manifest] getPackageUrl
-- @param self
-- @return string#string ret (return value: string)
--------------------------------
-- @brief Gets manifest version.
-- @function [parent=#Manifest] getVersion
-- @param self
-- @return string#string ret (return value: string)
--------------------------------
-- @brief Gets remote version file url.
-- @function [parent=#Manifest] getVersionFileUrl
-- @param self
-- @return string#string ret (return value: string)
--------------------------------
-- @brief Get the search paths list related to the Manifest.
-- @function [parent=#Manifest] getSearchPaths
-- @param self
-- @return array_table#array_table ret (return value: array_table)
return nil

View File

@ -0,0 +1,147 @@
--------------------------------
-- @module Mesh
-- @extend Ref
-- @parent_module cc
--------------------------------
-- @overload self, cc.Texture2D
-- @overload self, string
-- @function [parent=#Mesh] setTexture
-- @param self
-- @param #string texPath
-- @return Mesh#Mesh self (return value: cc.Mesh)
--------------------------------
--
-- @function [parent=#Mesh] getTexture
-- @param self
-- @return Texture2D#Texture2D ret (return value: cc.Texture2D)
--------------------------------
-- Returns the Material being used by the Mesh
-- @function [parent=#Mesh] getMaterial
-- @param self
-- @return Material#Material ret (return value: cc.Material)
--------------------------------
-- get per vertex size in bytes
-- @function [parent=#Mesh] getVertexSizeInBytes
-- @param self
-- @return int#int ret (return value: int)
--------------------------------
-- Sets a new Material to the Mesh
-- @function [parent=#Mesh] setMaterial
-- @param self
-- @param #cc.Material material
-- @return Mesh#Mesh self (return value: cc.Mesh)
--------------------------------
-- name getter
-- @function [parent=#Mesh] getName
-- @param self
-- @return string#string ret (return value: string)
--------------------------------
-- get MeshVertexAttribute by index
-- @function [parent=#Mesh] getMeshVertexAttribute
-- @param self
-- @param #int idx
-- @return MeshVertexAttrib#MeshVertexAttrib ret (return value: cc.MeshVertexAttrib)
--------------------------------
-- calculate the AABB of the mesh<br>
-- note the AABB is in the local space, not the world space
-- @function [parent=#Mesh] calculateAABB
-- @param self
-- @return Mesh#Mesh self (return value: cc.Mesh)
--------------------------------
--
-- @function [parent=#Mesh] draw
-- @param self
-- @param #cc.Renderer renderer
-- @param #float globalZ
-- @param #mat4_table transform
-- @param #unsigned int flags
-- @param #unsigned int lightMask
-- @param #vec4_table color
-- @param #bool forceDepthWrite
-- @return Mesh#Mesh self (return value: cc.Mesh)
--------------------------------
--
-- @function [parent=#Mesh] getBlendFunc
-- @param self
-- @return BlendFunc#BlendFunc ret (return value: cc.BlendFunc)
--------------------------------
-- name setter
-- @function [parent=#Mesh] setName
-- @param self
-- @param #string name
-- @return Mesh#Mesh self (return value: cc.Mesh)
--------------------------------
-- Mesh index data setter
-- @function [parent=#Mesh] setMeshIndexData
-- @param self
-- @param #cc.MeshIndexData indexdata
-- @return Mesh#Mesh self (return value: cc.Mesh)
--------------------------------
-- get mesh vertex attribute count
-- @function [parent=#Mesh] getMeshVertexAttribCount
-- @param self
-- @return long#long ret (return value: long)
--------------------------------
--
-- @function [parent=#Mesh] setBlendFunc
-- @param self
-- @param #cc.BlendFunc blendFunc
-- @return Mesh#Mesh self (return value: cc.Mesh)
--------------------------------
-- force set this Sprite3D to 2D render queue
-- @function [parent=#Mesh] setForce2DQueue
-- @param self
-- @param #bool force2D
-- @return Mesh#Mesh self (return value: cc.Mesh)
--------------------------------
-- skin setter
-- @function [parent=#Mesh] setSkin
-- @param self
-- @param #cc.MeshSkin skin
-- @return Mesh#Mesh self (return value: cc.Mesh)
--------------------------------
--
-- @function [parent=#Mesh] isVisible
-- @param self
-- @return bool#bool ret (return value: bool)
--------------------------------
-- Sets a new GLProgramState for the Mesh<br>
-- A new Material will be created for it
-- @function [parent=#Mesh] setGLProgramState
-- @param self
-- @param #cc.GLProgramState glProgramState
-- @return Mesh#Mesh self (return value: cc.Mesh)
--------------------------------
-- visible getter and setter
-- @function [parent=#Mesh] setVisible
-- @param self
-- @param #bool visible
-- @return Mesh#Mesh self (return value: cc.Mesh)
--------------------------------
--
-- @function [parent=#Mesh] Mesh
-- @param self
-- @return Mesh#Mesh self (return value: cc.Mesh)
return nil

View File

@ -0,0 +1,39 @@
--------------------------------
-- @module MovementBoneData
-- @extend Ref
-- @parent_module ccs
--------------------------------
--
-- @function [parent=#MovementBoneData] init
-- @param self
-- @return bool#bool ret (return value: bool)
--------------------------------
--
-- @function [parent=#MovementBoneData] getFrameData
-- @param self
-- @param #int index
-- @return FrameData#FrameData ret (return value: ccs.FrameData)
--------------------------------
--
-- @function [parent=#MovementBoneData] addFrameData
-- @param self
-- @param #ccs.FrameData frameData
-- @return MovementBoneData#MovementBoneData self (return value: ccs.MovementBoneData)
--------------------------------
--
-- @function [parent=#MovementBoneData] create
-- @param self
-- @return MovementBoneData#MovementBoneData ret (return value: ccs.MovementBoneData)
--------------------------------
-- js ctor
-- @function [parent=#MovementBoneData] MovementBoneData
-- @param self
-- @return MovementBoneData#MovementBoneData self (return value: ccs.MovementBoneData)
return nil

View File

@ -0,0 +1,33 @@
--------------------------------
-- @module MovementData
-- @extend Ref
-- @parent_module ccs
--------------------------------
--
-- @function [parent=#MovementData] getMovementBoneData
-- @param self
-- @param #string boneName
-- @return MovementBoneData#MovementBoneData ret (return value: ccs.MovementBoneData)
--------------------------------
--
-- @function [parent=#MovementData] addMovementBoneData
-- @param self
-- @param #ccs.MovementBoneData movBoneData
-- @return MovementData#MovementData self (return value: ccs.MovementData)
--------------------------------
--
-- @function [parent=#MovementData] create
-- @param self
-- @return MovementData#MovementData ret (return value: ccs.MovementData)
--------------------------------
-- js ctor
-- @function [parent=#MovementData] MovementData
-- @param self
-- @return MovementData#MovementData self (return value: ccs.MovementData)
return nil

View File

@ -0,0 +1,78 @@
--------------------------------
-- @module NavMesh
-- @extend Ref
-- @parent_module cc
--------------------------------
-- remove a obstacle from navmesh.
-- @function [parent=#NavMesh] removeNavMeshObstacle
-- @param self
-- @param #cc.NavMeshObstacle obstacle
-- @return NavMesh#NavMesh self (return value: cc.NavMesh)
--------------------------------
-- remove a agent from navmesh.
-- @function [parent=#NavMesh] removeNavMeshAgent
-- @param self
-- @param #cc.NavMeshAgent agent
-- @return NavMesh#NavMesh self (return value: cc.NavMesh)
--------------------------------
-- update navmesh.
-- @function [parent=#NavMesh] update
-- @param self
-- @param #float dt
-- @return NavMesh#NavMesh self (return value: cc.NavMesh)
--------------------------------
-- Check enabled debug draw.
-- @function [parent=#NavMesh] isDebugDrawEnabled
-- @param self
-- @return bool#bool ret (return value: bool)
--------------------------------
-- add a agent to navmesh.
-- @function [parent=#NavMesh] addNavMeshAgent
-- @param self
-- @param #cc.NavMeshAgent agent
-- @return NavMesh#NavMesh self (return value: cc.NavMesh)
--------------------------------
-- add a obstacle to navmesh.
-- @function [parent=#NavMesh] addNavMeshObstacle
-- @param self
-- @param #cc.NavMeshObstacle obstacle
-- @return NavMesh#NavMesh self (return value: cc.NavMesh)
--------------------------------
-- Enable debug draw or disable.
-- @function [parent=#NavMesh] setDebugDrawEnable
-- @param self
-- @param #bool enable
-- @return NavMesh#NavMesh self (return value: cc.NavMesh)
--------------------------------
-- Internal method, the updater of debug drawing, need called each frame.
-- @function [parent=#NavMesh] debugDraw
-- @param self
-- @param #cc.Renderer renderer
-- @return NavMesh#NavMesh self (return value: cc.NavMesh)
--------------------------------
-- Create navmesh<br>
-- param navFilePath The NavMesh File path.<br>
-- param geomFilePath The geometry File Path,include offmesh information,etc.
-- @function [parent=#NavMesh] create
-- @param self
-- @param #string navFilePath
-- @param #string geomFilePath
-- @return NavMesh#NavMesh ret (return value: cc.NavMesh)
--------------------------------
--
-- @function [parent=#NavMesh] NavMesh
-- @param self
-- @return NavMesh#NavMesh self (return value: cc.NavMesh)
return nil

View File

@ -0,0 +1,225 @@
--------------------------------
-- @module NavMeshAgent
-- @extend Component
-- @parent_module cc
--------------------------------
-- set maximal speed of agent
-- @function [parent=#NavMeshAgent] setMaxSpeed
-- @param self
-- @param #float maxSpeed
-- @return NavMeshAgent#NavMeshAgent self (return value: cc.NavMeshAgent)
--------------------------------
-- synchronize parameter to node.
-- @function [parent=#NavMeshAgent] syncToNode
-- @param self
-- @return NavMeshAgent#NavMeshAgent self (return value: cc.NavMeshAgent)
--------------------------------
-- Traverse OffMeshLink manually
-- @function [parent=#NavMeshAgent] completeOffMeshLink
-- @param self
-- @return NavMeshAgent#NavMeshAgent self (return value: cc.NavMeshAgent)
--------------------------------
-- get separation weight
-- @function [parent=#NavMeshAgent] getSeparationWeight
-- @param self
-- @return float#float ret (return value: float)
--------------------------------
-- Set automatic Traverse OffMeshLink
-- @function [parent=#NavMeshAgent] setAutoTraverseOffMeshLink
-- @param self
-- @param #bool isAuto
-- @return NavMeshAgent#NavMeshAgent self (return value: cc.NavMeshAgent)
--------------------------------
-- get current velocity
-- @function [parent=#NavMeshAgent] getCurrentVelocity
-- @param self
-- @return vec3_table#vec3_table ret (return value: vec3_table)
--------------------------------
-- synchronize parameter to agent.
-- @function [parent=#NavMeshAgent] syncToAgent
-- @param self
-- @return NavMeshAgent#NavMeshAgent self (return value: cc.NavMeshAgent)
--------------------------------
-- Check agent arrived OffMeshLink
-- @function [parent=#NavMeshAgent] isOnOffMeshLink
-- @param self
-- @return bool#bool ret (return value: bool)
--------------------------------
-- set separation weight
-- @function [parent=#NavMeshAgent] setSeparationWeight
-- @param self
-- @param #float weight
-- @return NavMeshAgent#NavMeshAgent self (return value: cc.NavMeshAgent)
--------------------------------
-- pause movement
-- @function [parent=#NavMeshAgent] pause
-- @param self
-- @return NavMeshAgent#NavMeshAgent self (return value: cc.NavMeshAgent)
--------------------------------
--
-- @function [parent=#NavMeshAgent] getUserData
-- @param self
-- @return void#void ret (return value: void)
--------------------------------
-- Set automatic Orientation
-- @function [parent=#NavMeshAgent] setAutoOrientation
-- @param self
-- @param #bool isAuto
-- @return NavMeshAgent#NavMeshAgent self (return value: cc.NavMeshAgent)
--------------------------------
-- get agent height
-- @function [parent=#NavMeshAgent] getHeight
-- @param self
-- @return float#float ret (return value: float)
--------------------------------
-- get maximal speed of agent
-- @function [parent=#NavMeshAgent] getMaxSpeed
-- @param self
-- @return float#float ret (return value: float)
--------------------------------
-- Get current OffMeshLink information
-- @function [parent=#NavMeshAgent] getCurrentOffMeshLinkData
-- @param self
-- @return OffMeshLinkData#OffMeshLinkData ret (return value: cc.OffMeshLinkData)
--------------------------------
-- get agent radius
-- @function [parent=#NavMeshAgent] getRadius
-- @param self
-- @return float#float ret (return value: float)
--------------------------------
-- synchronization between node and agent is time consuming, you can skip some synchronization using this function
-- @function [parent=#NavMeshAgent] setSyncFlag
-- @param self
-- @param #int flag
-- @return NavMeshAgent#NavMeshAgent self (return value: cc.NavMeshAgent)
--------------------------------
--
-- @function [parent=#NavMeshAgent] getSyncFlag
-- @param self
-- @return int#int ret (return value: int)
--------------------------------
-- resume movement
-- @function [parent=#NavMeshAgent] resume
-- @param self
-- @return NavMeshAgent#NavMeshAgent self (return value: cc.NavMeshAgent)
--------------------------------
-- stop movement
-- @function [parent=#NavMeshAgent] stop
-- @param self
-- @return NavMeshAgent#NavMeshAgent self (return value: cc.NavMeshAgent)
--------------------------------
-- set maximal acceleration of agent
-- @function [parent=#NavMeshAgent] setMaxAcceleration
-- @param self
-- @param #float maxAcceleration
-- @return NavMeshAgent#NavMeshAgent self (return value: cc.NavMeshAgent)
--------------------------------
-- Set the reference axes of agent's orientation<br>
-- param rotRefAxes The value of reference axes in local coordinate system.
-- @function [parent=#NavMeshAgent] setOrientationRefAxes
-- @param self
-- @param #vec3_table rotRefAxes
-- @return NavMeshAgent#NavMeshAgent self (return value: cc.NavMeshAgent)
--------------------------------
-- get maximal acceleration of agent
-- @function [parent=#NavMeshAgent] getMaxAcceleration
-- @param self
-- @return float#float ret (return value: float)
--------------------------------
-- set agent height
-- @function [parent=#NavMeshAgent] setHeight
-- @param self
-- @param #float height
-- @return NavMeshAgent#NavMeshAgent self (return value: cc.NavMeshAgent)
--------------------------------
--
-- @function [parent=#NavMeshAgent] setUserData
-- @param self
-- @param #void data
-- @return NavMeshAgent#NavMeshAgent self (return value: cc.NavMeshAgent)
--------------------------------
-- get obstacle avoidance type
-- @function [parent=#NavMeshAgent] getObstacleAvoidanceType
-- @param self
-- @return unsigned char#unsigned char ret (return value: unsigned char)
--------------------------------
-- get current velocity
-- @function [parent=#NavMeshAgent] getVelocity
-- @param self
-- @return vec3_table#vec3_table ret (return value: vec3_table)
--------------------------------
-- set agent radius
-- @function [parent=#NavMeshAgent] setRadius
-- @param self
-- @param #float radius
-- @return NavMeshAgent#NavMeshAgent self (return value: cc.NavMeshAgent)
--------------------------------
-- set obstacle avoidance type
-- @function [parent=#NavMeshAgent] setObstacleAvoidanceType
-- @param self
-- @param #unsigned char type
-- @return NavMeshAgent#NavMeshAgent self (return value: cc.NavMeshAgent)
--------------------------------
--
-- @function [parent=#NavMeshAgent] getNavMeshAgentComponentName
-- @param self
-- @return string#string ret (return value: string)
--------------------------------
-- Create agent<br>
-- param param The parameters of agent.
-- @function [parent=#NavMeshAgent] create
-- @param self
-- @param #cc.NavMeshAgentParam param
-- @return NavMeshAgent#NavMeshAgent ret (return value: cc.NavMeshAgent)
--------------------------------
--
-- @function [parent=#NavMeshAgent] onEnter
-- @param self
-- @return NavMeshAgent#NavMeshAgent self (return value: cc.NavMeshAgent)
--------------------------------
--
-- @function [parent=#NavMeshAgent] onExit
-- @param self
-- @return NavMeshAgent#NavMeshAgent self (return value: cc.NavMeshAgent)
--------------------------------
--
-- @function [parent=#NavMeshAgent] NavMeshAgent
-- @param self
-- @return NavMeshAgent#NavMeshAgent self (return value: cc.NavMeshAgent)
return nil

View File

@ -0,0 +1,86 @@
--------------------------------
-- @module NavMeshObstacle
-- @extend Component
-- @parent_module cc
--------------------------------
--
-- @function [parent=#NavMeshObstacle] getSyncFlag
-- @param self
-- @return int#int ret (return value: int)
--------------------------------
--
-- @function [parent=#NavMeshObstacle] initWith
-- @param self
-- @param #float radius
-- @param #float height
-- @return bool#bool ret (return value: bool)
--------------------------------
-- synchronize parameter to obstacle.
-- @function [parent=#NavMeshObstacle] syncToObstacle
-- @param self
-- @return NavMeshObstacle#NavMeshObstacle self (return value: cc.NavMeshObstacle)
--------------------------------
-- synchronize parameter to node.
-- @function [parent=#NavMeshObstacle] syncToNode
-- @param self
-- @return NavMeshObstacle#NavMeshObstacle self (return value: cc.NavMeshObstacle)
--------------------------------
-- Get height of obstacle
-- @function [parent=#NavMeshObstacle] getHeight
-- @param self
-- @return float#float ret (return value: float)
--------------------------------
-- synchronization between node and obstacle is time consuming, you can skip some synchronization using this function
-- @function [parent=#NavMeshObstacle] setSyncFlag
-- @param self
-- @param #int flag
-- @return NavMeshObstacle#NavMeshObstacle self (return value: cc.NavMeshObstacle)
--------------------------------
-- Get radius of obstacle
-- @function [parent=#NavMeshObstacle] getRadius
-- @param self
-- @return float#float ret (return value: float)
--------------------------------
-- Create obstacle, shape is cylinder<br>
-- param radius The radius of obstacle.<br>
-- param height The height of obstacle.
-- @function [parent=#NavMeshObstacle] create
-- @param self
-- @param #float radius
-- @param #float height
-- @return NavMeshObstacle#NavMeshObstacle ret (return value: cc.NavMeshObstacle)
--------------------------------
--
-- @function [parent=#NavMeshObstacle] getNavMeshObstacleComponentName
-- @param self
-- @return string#string ret (return value: string)
--------------------------------
--
-- @function [parent=#NavMeshObstacle] onEnter
-- @param self
-- @return NavMeshObstacle#NavMeshObstacle self (return value: cc.NavMeshObstacle)
--------------------------------
--
-- @function [parent=#NavMeshObstacle] onExit
-- @param self
-- @return NavMeshObstacle#NavMeshObstacle self (return value: cc.NavMeshObstacle)
--------------------------------
--
-- @function [parent=#NavMeshObstacle] NavMeshObstacle
-- @param self
-- @return NavMeshObstacle#NavMeshObstacle self (return value: cc.NavMeshObstacle)
return nil

View File

@ -0,0 +1,339 @@
--------------------------------
-- @module PUParticleSystem3D
-- @extend ParticleSystem3D
-- @parent_module cc
--------------------------------
--
-- @function [parent=#PUParticleSystem3D] initWithFilePath
-- @param self
-- @param #string filePath
-- @return bool#bool ret (return value: bool)
--------------------------------
-- Returns the velocity scale, defined in the particle system, but passed to the technique for convenience.
-- @function [parent=#PUParticleSystem3D] getParticleSystemScaleVelocity
-- @param self
-- @return float#float ret (return value: float)
--------------------------------
--
-- @function [parent=#PUParticleSystem3D] setEmittedSystemQuota
-- @param self
-- @param #unsigned int quota
-- @return PUParticleSystem3D#PUParticleSystem3D self (return value: cc.PUParticleSystem3D)
--------------------------------
-- default particle depth
-- @function [parent=#PUParticleSystem3D] getDefaultDepth
-- @param self
-- @return float#float ret (return value: float)
--------------------------------
--
-- @function [parent=#PUParticleSystem3D] getEmittedSystemQuota
-- @param self
-- @return unsigned int#unsigned int ret (return value: unsigned int)
--------------------------------
--
-- @function [parent=#PUParticleSystem3D] initWithFilePathAndMaterialPath
-- @param self
-- @param #string filePath
-- @param #string materialPath
-- @return bool#bool ret (return value: bool)
--------------------------------
--
-- @function [parent=#PUParticleSystem3D] clearAllParticles
-- @param self
-- @return PUParticleSystem3D#PUParticleSystem3D self (return value: cc.PUParticleSystem3D)
--------------------------------
--
-- @function [parent=#PUParticleSystem3D] getMaterialName
-- @param self
-- @return string#string ret (return value: string)
--------------------------------
--
-- @function [parent=#PUParticleSystem3D] calulateRotationOffset
-- @param self
-- @return PUParticleSystem3D#PUParticleSystem3D self (return value: cc.PUParticleSystem3D)
--------------------------------
-- Return the maximum velocity a particle can have, even if the velocity of the particle has been set higher (either by initialisation of the particle or by means of an affector).
-- @function [parent=#PUParticleSystem3D] getMaxVelocity
-- @param self
-- @return float#float ret (return value: float)
--------------------------------
--
-- @function [parent=#PUParticleSystem3D] forceUpdate
-- @param self
-- @param #float delta
-- @return PUParticleSystem3D#PUParticleSystem3D self (return value: cc.PUParticleSystem3D)
--------------------------------
--
-- @function [parent=#PUParticleSystem3D] getTimeElapsedSinceStart
-- @param self
-- @return float#float ret (return value: float)
--------------------------------
--
-- @function [parent=#PUParticleSystem3D] removeAllBehaviourTemplate
-- @param self
-- @return PUParticleSystem3D#PUParticleSystem3D self (return value: cc.PUParticleSystem3D)
--------------------------------
--
-- @function [parent=#PUParticleSystem3D] getEmittedEmitterQuota
-- @param self
-- @return unsigned int#unsigned int ret (return value: unsigned int)
--------------------------------
-- Forces emission of particles.<br>
-- remarks The number of requested particles are the exact number that are emitted. No down-scalling is applied.
-- @function [parent=#PUParticleSystem3D] forceEmission
-- @param self
-- @param #cc.PUEmitter emitter
-- @param #unsigned int requested
-- @return PUParticleSystem3D#PUParticleSystem3D self (return value: cc.PUParticleSystem3D)
--------------------------------
--
-- @function [parent=#PUParticleSystem3D] addListener
-- @param self
-- @param #cc.PUListener listener
-- @return PUParticleSystem3D#PUParticleSystem3D self (return value: cc.PUParticleSystem3D)
--------------------------------
--
-- @function [parent=#PUParticleSystem3D] isMarkedForEmission
-- @param self
-- @return bool#bool ret (return value: bool)
--------------------------------
-- default particle width
-- @function [parent=#PUParticleSystem3D] getDefaultWidth
-- @param self
-- @return float#float ret (return value: float)
--------------------------------
--
-- @function [parent=#PUParticleSystem3D] setEmittedEmitterQuota
-- @param self
-- @param #unsigned int quota
-- @return PUParticleSystem3D#PUParticleSystem3D self (return value: cc.PUParticleSystem3D)
--------------------------------
--
-- @function [parent=#PUParticleSystem3D] setMarkedForEmission
-- @param self
-- @param #bool isMarked
-- @return PUParticleSystem3D#PUParticleSystem3D self (return value: cc.PUParticleSystem3D)
--------------------------------
--
-- @function [parent=#PUParticleSystem3D] clone
-- @param self
-- @return PUParticleSystem3D#PUParticleSystem3D ret (return value: cc.PUParticleSystem3D)
--------------------------------
-- add particle affector
-- @function [parent=#PUParticleSystem3D] addEmitter
-- @param self
-- @param #cc.PUEmitter emitter
-- @return PUParticleSystem3D#PUParticleSystem3D self (return value: cc.PUParticleSystem3D)
--------------------------------
--
-- @function [parent=#PUParticleSystem3D] addBehaviourTemplate
-- @param self
-- @param #cc.PUBehaviour behaviour
-- @return PUParticleSystem3D#PUParticleSystem3D self (return value: cc.PUParticleSystem3D)
--------------------------------
--
-- @function [parent=#PUParticleSystem3D] setDefaultWidth
-- @param self
-- @param #float width
-- @return PUParticleSystem3D#PUParticleSystem3D self (return value: cc.PUParticleSystem3D)
--------------------------------
--
-- @function [parent=#PUParticleSystem3D] copyAttributesTo
-- @param self
-- @param #cc.PUParticleSystem3D system
-- @return PUParticleSystem3D#PUParticleSystem3D self (return value: cc.PUParticleSystem3D)
--------------------------------
--
-- @function [parent=#PUParticleSystem3D] setMaterialName
-- @param self
-- @param #string name
-- @return PUParticleSystem3D#PUParticleSystem3D self (return value: cc.PUParticleSystem3D)
--------------------------------
--
-- @function [parent=#PUParticleSystem3D] getParentParticleSystem
-- @param self
-- @return PUParticleSystem3D#PUParticleSystem3D ret (return value: cc.PUParticleSystem3D)
--------------------------------
--
-- @function [parent=#PUParticleSystem3D] removeListener
-- @param self
-- @param #cc.PUListener listener
-- @return PUParticleSystem3D#PUParticleSystem3D self (return value: cc.PUParticleSystem3D)
--------------------------------
-- Set the maximum velocity a particle can have.
-- @function [parent=#PUParticleSystem3D] setMaxVelocity
-- @param self
-- @param #float maxVelocity
-- @return PUParticleSystem3D#PUParticleSystem3D self (return value: cc.PUParticleSystem3D)
--------------------------------
-- default particle height
-- @function [parent=#PUParticleSystem3D] getDefaultHeight
-- @param self
-- @return float#float ret (return value: float)
--------------------------------
--
-- @function [parent=#PUParticleSystem3D] getDerivedPosition
-- @param self
-- @return vec3_table#vec3_table ret (return value: vec3_table)
--------------------------------
-- If the orientation of the particle system has been changed since the last update, the passed vector is rotated accordingly.
-- @function [parent=#PUParticleSystem3D] rotationOffset
-- @param self
-- @param #vec3_table pos
-- @return PUParticleSystem3D#PUParticleSystem3D self (return value: cc.PUParticleSystem3D)
--------------------------------
--
-- @function [parent=#PUParticleSystem3D] removeAllEmitter
-- @param self
-- @return PUParticleSystem3D#PUParticleSystem3D self (return value: cc.PUParticleSystem3D)
--------------------------------
--
-- @function [parent=#PUParticleSystem3D] setParticleSystemScaleVelocity
-- @param self
-- @param #float scaleVelocity
-- @return PUParticleSystem3D#PUParticleSystem3D self (return value: cc.PUParticleSystem3D)
--------------------------------
--
-- @function [parent=#PUParticleSystem3D] getDerivedScale
-- @param self
-- @return vec3_table#vec3_table ret (return value: vec3_table)
--------------------------------
--
-- @function [parent=#PUParticleSystem3D] setDefaultHeight
-- @param self
-- @param #float height
-- @return PUParticleSystem3D#PUParticleSystem3D self (return value: cc.PUParticleSystem3D)
--------------------------------
--
-- @function [parent=#PUParticleSystem3D] removeAllListener
-- @param self
-- @return PUParticleSystem3D#PUParticleSystem3D self (return value: cc.PUParticleSystem3D)
--------------------------------
--
-- @function [parent=#PUParticleSystem3D] makeParticleLocal
-- @param self
-- @param #cc.PUParticle3D particle
-- @return bool#bool ret (return value: bool)
--------------------------------
--
-- @function [parent=#PUParticleSystem3D] removerAllObserver
-- @param self
-- @return PUParticleSystem3D#PUParticleSystem3D self (return value: cc.PUParticleSystem3D)
--------------------------------
--
-- @function [parent=#PUParticleSystem3D] setDefaultDepth
-- @param self
-- @param #float depth
-- @return PUParticleSystem3D#PUParticleSystem3D self (return value: cc.PUParticleSystem3D)
--------------------------------
--
-- @function [parent=#PUParticleSystem3D] addObserver
-- @param self
-- @param #cc.PUObserver observer
-- @return PUParticleSystem3D#PUParticleSystem3D self (return value: cc.PUParticleSystem3D)
--------------------------------
-- @overload self, string
-- @overload self
-- @overload self, string, string
-- @function [parent=#PUParticleSystem3D] create
-- @param self
-- @param #string filePath
-- @param #string materialPath
-- @return PUParticleSystem3D#PUParticleSystem3D ret (return value: cc.PUParticleSystem3D)
--------------------------------
--
-- @function [parent=#PUParticleSystem3D] draw
-- @param self
-- @param #cc.Renderer renderer
-- @param #mat4_table transform
-- @param #unsigned int flags
-- @return PUParticleSystem3D#PUParticleSystem3D self (return value: cc.PUParticleSystem3D)
--------------------------------
-- particle system play control
-- @function [parent=#PUParticleSystem3D] startParticleSystem
-- @param self
-- @return PUParticleSystem3D#PUParticleSystem3D self (return value: cc.PUParticleSystem3D)
--------------------------------
-- stop particle
-- @function [parent=#PUParticleSystem3D] stopParticleSystem
-- @param self
-- @return PUParticleSystem3D#PUParticleSystem3D self (return value: cc.PUParticleSystem3D)
--------------------------------
--
-- @function [parent=#PUParticleSystem3D] update
-- @param self
-- @param #float delta
-- @return PUParticleSystem3D#PUParticleSystem3D self (return value: cc.PUParticleSystem3D)
--------------------------------
-- pause particle
-- @function [parent=#PUParticleSystem3D] pauseParticleSystem
-- @param self
-- @return PUParticleSystem3D#PUParticleSystem3D self (return value: cc.PUParticleSystem3D)
--------------------------------
-- resume particle
-- @function [parent=#PUParticleSystem3D] resumeParticleSystem
-- @param self
-- @return PUParticleSystem3D#PUParticleSystem3D self (return value: cc.PUParticleSystem3D)
--------------------------------
--
-- @function [parent=#PUParticleSystem3D] getAliveParticleCount
-- @param self
-- @return int#int ret (return value: int)
--------------------------------
--
-- @function [parent=#PUParticleSystem3D] PUParticleSystem3D
-- @param self
-- @return PUParticleSystem3D#PUParticleSystem3D self (return value: cc.PUParticleSystem3D)
return nil

View File

@ -0,0 +1,210 @@
--------------------------------
-- @module PageView
-- @extend Layout
-- @parent_module ccui
--------------------------------
-- brief Query the custom scroll threshold of the PageView.<br>
-- return Custom scroll threshold in float.
-- @function [parent=#PageView] getCustomScrollThreshold
-- @param self
-- @return float#float ret (return value: float)
--------------------------------
-- Gets current displayed page index.<br>
-- return current page index.
-- @function [parent=#PageView] getCurPageIndex
-- @param self
-- @return long#long ret (return value: long)
--------------------------------
-- Changes scroll direction of PageView<br>
-- see `Direction`<br>
-- param direction Scroll direction enum.<br>
-- since v3.8
-- @function [parent=#PageView] setDirection
-- @param self
-- @param #int direction
-- @return PageView#PageView self (return value: ccui.PageView)
--------------------------------
-- Add a widget as a page of PageView in a given index.<br>
-- param widget Widget to be added to pageview.<br>
-- param pageIdx A given index.<br>
-- param forceCreate If `forceCreate` is true and `widget` isn't exists, pageview would create a default page and add it.
-- @function [parent=#PageView] addWidgetToPage
-- @param self
-- @param #ccui.Widget widget
-- @param #long pageIdx
-- @param #bool forceCreate
-- @return PageView#PageView self (return value: ccui.PageView)
--------------------------------
-- brief Query whether use user defined scroll page threshold or not.<br>
-- return True if using custom scroll threshold, false otherwise.
-- @function [parent=#PageView] isUsingCustomScrollThreshold
-- @param self
-- @return bool#bool ret (return value: bool)
--------------------------------
-- Jump to a page with a given index without scrolling.<br>
-- This is the different between scrollToPage.<br>
-- param index A given index in PageView. Index start from 0 to pageCount -1.
-- @function [parent=#PageView] setCurPageIndex
-- @param self
-- @param #long index
-- @return PageView#PageView self (return value: ccui.PageView)
--------------------------------
-- Remove a page of PageView.<br>
-- param page Page to be removed.
-- @function [parent=#PageView] removePage
-- @param self
-- @param #ccui.Layout page
-- @return PageView#PageView self (return value: ccui.PageView)
--------------------------------
-- brief Add a page turn callback to PageView, then when one page is turning, the callback will be called.<br>
-- param callback A page turning callback.
-- @function [parent=#PageView] addEventListener
-- @param self
-- @param #function callback
-- @return PageView#PageView self (return value: ccui.PageView)
--------------------------------
-- brief Set using user defined scroll page threshold or not.<br>
-- If you set it to false, then the default scroll threshold is pageView.width / 2<br>
-- param flag True if using custom scroll threshold, false otherwise.
-- @function [parent=#PageView] setUsingCustomScrollThreshold
-- @param self
-- @param #bool flag
-- @return PageView#PageView self (return value: ccui.PageView)
--------------------------------
-- brief If you don't specify the value, the pageView will turn page when scrolling at the half width of a page.<br>
-- param threshold A threshold in float.
-- @function [parent=#PageView] setCustomScrollThreshold
-- @param self
-- @param #float threshold
-- @return PageView#PageView self (return value: ccui.PageView)
--------------------------------
-- Insert a page into PageView at a given index.<br>
-- param page Page to be inserted.<br>
-- param idx A given index.
-- @function [parent=#PageView] insertPage
-- @param self
-- @param #ccui.Layout page
-- @param #int idx
-- @return PageView#PageView self (return value: ccui.PageView)
--------------------------------
-- Query scroll direction of PageView.<br>
-- see `Direction`<br>
-- since v3.8<br>
-- return PageView scroll direction.
-- @function [parent=#PageView] getDirection
-- @param self
-- @return int#int ret (return value: int)
--------------------------------
-- Scroll to a page with a given index.<br>
-- param idx A given index in the PageView. Index start from 0 to pageCount -1.
-- @function [parent=#PageView] scrollToPage
-- @param self
-- @param #long idx
-- @return PageView#PageView self (return value: ccui.PageView)
--------------------------------
-- brief Get a page at a given index<br>
-- param index A given index.<br>
-- return A layout pointer in PageView container.
-- @function [parent=#PageView] getPage
-- @param self
-- @param #long index
-- @return Layout#Layout ret (return value: ccui.Layout)
--------------------------------
-- Remove a page at a given index of PageView.<br>
-- param index A given index.
-- @function [parent=#PageView] removePageAtIndex
-- @param self
-- @param #long index
-- @return PageView#PageView self (return value: ccui.PageView)
--------------------------------
-- brief Get all the pages in the PageView.<br>
-- return A vector of Layout pionters.
-- @function [parent=#PageView] getPages
-- @param self
-- @return array_table#array_table ret (return value: array_table)
--------------------------------
-- brief Remove all pages of the PageView.
-- @function [parent=#PageView] removeAllPages
-- @param self
-- @return PageView#PageView self (return value: ccui.PageView)
--------------------------------
-- Insert a page into the end of PageView.<br>
-- param page Page to be inserted.
-- @function [parent=#PageView] addPage
-- @param self
-- @param #ccui.Layout page
-- @return PageView#PageView self (return value: ccui.PageView)
--------------------------------
-- Create an empty PageView.<br>
-- return A PageView instance.
-- @function [parent=#PageView] create
-- @param self
-- @return PageView#PageView ret (return value: ccui.PageView)
--------------------------------
--
-- @function [parent=#PageView] createInstance
-- @param self
-- @return Ref#Ref ret (return value: cc.Ref)
--------------------------------
--
-- @function [parent=#PageView] getLayoutType
-- @param self
-- @return int#int ret (return value: int)
--------------------------------
--
-- @function [parent=#PageView] getDescription
-- @param self
-- @return string#string ret (return value: string)
--------------------------------
--
-- @function [parent=#PageView] update
-- @param self
-- @param #float dt
-- @return PageView#PageView self (return value: ccui.PageView)
--------------------------------
--
-- @function [parent=#PageView] init
-- @param self
-- @return bool#bool ret (return value: bool)
--------------------------------
--
-- @function [parent=#PageView] setLayoutType
-- @param self
-- @param #int type
-- @return PageView#PageView self (return value: ccui.PageView)
--------------------------------
-- Default constructor<br>
-- js ctor<br>
-- lua new
-- @function [parent=#PageView] PageView
-- @param self
-- @return PageView#PageView self (return value: ccui.PageView)
return nil

View File

@ -0,0 +1,19 @@
--------------------------------
-- @module ParticleDisplayData
-- @extend DisplayData
-- @parent_module ccs
--------------------------------
--
-- @function [parent=#ParticleDisplayData] create
-- @param self
-- @return ParticleDisplayData#ParticleDisplayData ret (return value: ccs.ParticleDisplayData)
--------------------------------
-- js ctor
-- @function [parent=#ParticleDisplayData] ParticleDisplayData
-- @param self
-- @return ParticleDisplayData#ParticleDisplayData self (return value: ccs.ParticleDisplayData)
return nil

View File

@ -0,0 +1,151 @@
--------------------------------
-- @module ParticleSystem3D
-- @extend Node,BlendProtocol
-- @parent_module cc
--------------------------------
-- remove affector by index
-- @function [parent=#ParticleSystem3D] removeAffector
-- @param self
-- @param #int index
-- @return ParticleSystem3D#ParticleSystem3D self (return value: cc.ParticleSystem3D)
--------------------------------
-- resume particle
-- @function [parent=#ParticleSystem3D] resumeParticleSystem
-- @param self
-- @return ParticleSystem3D#ParticleSystem3D self (return value: cc.ParticleSystem3D)
--------------------------------
-- remove all particle affector
-- @function [parent=#ParticleSystem3D] removeAllAffector
-- @param self
-- @return ParticleSystem3D#ParticleSystem3D self (return value: cc.ParticleSystem3D)
--------------------------------
-- add particle affector
-- @function [parent=#ParticleSystem3D] addAffector
-- @param self
-- @param #cc.Particle3DAffector affector
-- @return ParticleSystem3D#ParticleSystem3D self (return value: cc.ParticleSystem3D)
--------------------------------
-- particle system play control
-- @function [parent=#ParticleSystem3D] startParticleSystem
-- @param self
-- @return ParticleSystem3D#ParticleSystem3D self (return value: cc.ParticleSystem3D)
--------------------------------
-- is enabled
-- @function [parent=#ParticleSystem3D] isEnabled
-- @param self
-- @return bool#bool ret (return value: bool)
--------------------------------
-- set emitter for particle system, can set your own particle emitter
-- @function [parent=#ParticleSystem3D] setEmitter
-- @param self
-- @param #cc.Particle3DEmitter emitter
-- @return ParticleSystem3D#ParticleSystem3D self (return value: cc.ParticleSystem3D)
--------------------------------
--
-- @function [parent=#ParticleSystem3D] isKeepLocal
-- @param self
-- @return bool#bool ret (return value: bool)
--------------------------------
-- Enables or disables the system.
-- @function [parent=#ParticleSystem3D] setEnabled
-- @param self
-- @param #bool enabled
-- @return ParticleSystem3D#ParticleSystem3D self (return value: cc.ParticleSystem3D)
--------------------------------
-- get particle quota
-- @function [parent=#ParticleSystem3D] getParticleQuota
-- @param self
-- @return unsigned int#unsigned int ret (return value: unsigned int)
--------------------------------
-- override function
-- @function [parent=#ParticleSystem3D] getBlendFunc
-- @param self
-- @return BlendFunc#BlendFunc ret (return value: cc.BlendFunc)
--------------------------------
-- pause particle
-- @function [parent=#ParticleSystem3D] pauseParticleSystem
-- @param self
-- @return ParticleSystem3D#ParticleSystem3D self (return value: cc.ParticleSystem3D)
--------------------------------
-- get particle playing state
-- @function [parent=#ParticleSystem3D] getState
-- @param self
-- @return int#int ret (return value: int)
--------------------------------
-- get alive particles count
-- @function [parent=#ParticleSystem3D] getAliveParticleCount
-- @param self
-- @return int#int ret (return value: int)
--------------------------------
-- set particle quota
-- @function [parent=#ParticleSystem3D] setParticleQuota
-- @param self
-- @param #unsigned int quota
-- @return ParticleSystem3D#ParticleSystem3D self (return value: cc.ParticleSystem3D)
--------------------------------
-- override function
-- @function [parent=#ParticleSystem3D] setBlendFunc
-- @param self
-- @param #cc.BlendFunc blendFunc
-- @return ParticleSystem3D#ParticleSystem3D self (return value: cc.ParticleSystem3D)
--------------------------------
-- set particle render, can set your own particle render
-- @function [parent=#ParticleSystem3D] setRender
-- @param self
-- @param #cc.Particle3DRender render
-- @return ParticleSystem3D#ParticleSystem3D self (return value: cc.ParticleSystem3D)
--------------------------------
-- stop particle
-- @function [parent=#ParticleSystem3D] stopParticleSystem
-- @param self
-- @return ParticleSystem3D#ParticleSystem3D self (return value: cc.ParticleSystem3D)
--------------------------------
--
-- @function [parent=#ParticleSystem3D] setKeepLocal
-- @param self
-- @param #bool keepLocal
-- @return ParticleSystem3D#ParticleSystem3D self (return value: cc.ParticleSystem3D)
--------------------------------
-- override function
-- @function [parent=#ParticleSystem3D] draw
-- @param self
-- @param #cc.Renderer renderer
-- @param #mat4_table transform
-- @param #unsigned int flags
-- @return ParticleSystem3D#ParticleSystem3D self (return value: cc.ParticleSystem3D)
--------------------------------
-- override function
-- @function [parent=#ParticleSystem3D] update
-- @param self
-- @param #float delta
-- @return ParticleSystem3D#ParticleSystem3D self (return value: cc.ParticleSystem3D)
--------------------------------
--
-- @function [parent=#ParticleSystem3D] ParticleSystem3D
-- @param self
-- @return ParticleSystem3D#ParticleSystem3D self (return value: cc.ParticleSystem3D)
return nil

View File

@ -0,0 +1,98 @@
--------------------------------
-- @module Physics3D6DofConstraint
-- @extend Physics3DConstraint
-- @parent_module cc
--------------------------------
-- set linear lower limit
-- @function [parent=#Physics3D6DofConstraint] setLinearLowerLimit
-- @param self
-- @param #vec3_table linearLower
-- @return Physics3D6DofConstraint#Physics3D6DofConstraint self (return value: cc.Physics3D6DofConstraint)
--------------------------------
-- get linear lower limit
-- @function [parent=#Physics3D6DofConstraint] getLinearLowerLimit
-- @param self
-- @return vec3_table#vec3_table ret (return value: vec3_table)
--------------------------------
-- get angular upper limit
-- @function [parent=#Physics3D6DofConstraint] getAngularUpperLimit
-- @param self
-- @return vec3_table#vec3_table ret (return value: vec3_table)
--------------------------------
-- access for UseFrameOffset
-- @function [parent=#Physics3D6DofConstraint] getUseFrameOffset
-- @param self
-- @return bool#bool ret (return value: bool)
--------------------------------
-- get linear upper limit
-- @function [parent=#Physics3D6DofConstraint] getLinearUpperLimit
-- @param self
-- @return vec3_table#vec3_table ret (return value: vec3_table)
--------------------------------
-- set angular lower limit
-- @function [parent=#Physics3D6DofConstraint] setAngularLowerLimit
-- @param self
-- @param #vec3_table angularLower
-- @return Physics3D6DofConstraint#Physics3D6DofConstraint self (return value: cc.Physics3D6DofConstraint)
--------------------------------
-- is limited?<br>
-- param limitIndex first 3 are linear, next 3 are angular
-- @function [parent=#Physics3D6DofConstraint] isLimited
-- @param self
-- @param #int limitIndex
-- @return bool#bool ret (return value: bool)
--------------------------------
-- set use frame offset
-- @function [parent=#Physics3D6DofConstraint] setUseFrameOffset
-- @param self
-- @param #bool frameOffsetOnOff
-- @return Physics3D6DofConstraint#Physics3D6DofConstraint self (return value: cc.Physics3D6DofConstraint)
--------------------------------
-- set linear upper limit
-- @function [parent=#Physics3D6DofConstraint] setLinearUpperLimit
-- @param self
-- @param #vec3_table linearUpper
-- @return Physics3D6DofConstraint#Physics3D6DofConstraint self (return value: cc.Physics3D6DofConstraint)
--------------------------------
-- get angular lower limit
-- @function [parent=#Physics3D6DofConstraint] getAngularLowerLimit
-- @param self
-- @return vec3_table#vec3_table ret (return value: vec3_table)
--------------------------------
-- set angular upper limit
-- @function [parent=#Physics3D6DofConstraint] setAngularUpperLimit
-- @param self
-- @param #vec3_table angularUpper
-- @return Physics3D6DofConstraint#Physics3D6DofConstraint self (return value: cc.Physics3D6DofConstraint)
--------------------------------
-- @overload self, cc.Physics3DRigidBody, mat4_table, bool
-- @overload self, cc.Physics3DRigidBody, cc.Physics3DRigidBody, mat4_table, mat4_table, bool
-- @function [parent=#Physics3D6DofConstraint] create
-- @param self
-- @param #cc.Physics3DRigidBody rbA
-- @param #cc.Physics3DRigidBody rbB
-- @param #mat4_table frameInA
-- @param #mat4_table frameInB
-- @param #bool useLinearReferenceFrameA
-- @return Physics3D6DofConstraint#Physics3D6DofConstraint ret (return value: cc.Physics3D6DofConstraint)
--------------------------------
--
-- @function [parent=#Physics3D6DofConstraint] Physics3D6DofConstraint
-- @param self
-- @return Physics3D6DofConstraint#Physics3D6DofConstraint self (return value: cc.Physics3D6DofConstraint)
return nil

View File

@ -0,0 +1,83 @@
--------------------------------
-- @module Physics3DComponent
-- @extend Component
-- @parent_module cc
--------------------------------
-- synchronize node transformation to physics
-- @function [parent=#Physics3DComponent] syncNodeToPhysics
-- @param self
-- @return Physics3DComponent#Physics3DComponent self (return value: cc.Physics3DComponent)
--------------------------------
-- add this component to physics world, called by scene
-- @function [parent=#Physics3DComponent] addToPhysicsWorld
-- @param self
-- @param #cc.Physics3DWorld world
-- @return Physics3DComponent#Physics3DComponent self (return value: cc.Physics3DComponent)
--------------------------------
-- synchronize physics transformation to node
-- @function [parent=#Physics3DComponent] syncPhysicsToNode
-- @param self
-- @return Physics3DComponent#Physics3DComponent self (return value: cc.Physics3DComponent)
--------------------------------
-- get physics object
-- @function [parent=#Physics3DComponent] getPhysics3DObject
-- @param self
-- @return Physics3DObject#Physics3DObject ret (return value: cc.Physics3DObject)
--------------------------------
-- set Physics object to the component
-- @function [parent=#Physics3DComponent] setPhysics3DObject
-- @param self
-- @param #cc.Physics3DObject physicsObj
-- @return Physics3DComponent#Physics3DComponent self (return value: cc.Physics3DComponent)
--------------------------------
-- synchronization between node and physics is time consuming, you can skip some synchronization using this function
-- @function [parent=#Physics3DComponent] setSyncFlag
-- @param self
-- @param #int syncFlag
-- @return Physics3DComponent#Physics3DComponent self (return value: cc.Physics3DComponent)
--------------------------------
-- get the component name, it is used to find whether it is Physics3DComponent
-- @function [parent=#Physics3DComponent] getPhysics3DComponentName
-- @param self
-- @return string#string ret (return value: string)
--------------------------------
-- set it enable or not
-- @function [parent=#Physics3DComponent] setEnabled
-- @param self
-- @param #bool b
-- @return Physics3DComponent#Physics3DComponent self (return value: cc.Physics3DComponent)
--------------------------------
--
-- @function [parent=#Physics3DComponent] init
-- @param self
-- @return bool#bool ret (return value: bool)
--------------------------------
--
-- @function [parent=#Physics3DComponent] onEnter
-- @param self
-- @return Physics3DComponent#Physics3DComponent self (return value: cc.Physics3DComponent)
--------------------------------
--
-- @function [parent=#Physics3DComponent] onExit
-- @param self
-- @return Physics3DComponent#Physics3DComponent self (return value: cc.Physics3DComponent)
--------------------------------
--
-- @function [parent=#Physics3DComponent] Physics3DComponent
-- @param self
-- @return Physics3DComponent#Physics3DComponent self (return value: cc.Physics3DComponent)
return nil

View File

@ -0,0 +1,147 @@
--------------------------------
-- @module Physics3DConeTwistConstraint
-- @extend Physics3DConstraint
-- @parent_module cc
--------------------------------
-- get B's frame
-- @function [parent=#Physics3DConeTwistConstraint] getBFrame
-- @param self
-- @return mat4_table#mat4_table ret (return value: mat4_table)
--------------------------------
-- set fix thresh
-- @function [parent=#Physics3DConeTwistConstraint] setFixThresh
-- @param self
-- @param #float fixThresh
-- @return Physics3DConeTwistConstraint#Physics3DConeTwistConstraint self (return value: cc.Physics3DConeTwistConstraint)
--------------------------------
-- get B's frame offset
-- @function [parent=#Physics3DConeTwistConstraint] getFrameOffsetB
-- @param self
-- @return mat4_table#mat4_table ret (return value: mat4_table)
--------------------------------
-- get A's frame offset
-- @function [parent=#Physics3DConeTwistConstraint] getFrameOffsetA
-- @param self
-- @return mat4_table#mat4_table ret (return value: mat4_table)
--------------------------------
-- get fix thresh
-- @function [parent=#Physics3DConeTwistConstraint] getFixThresh
-- @param self
-- @return float#float ret (return value: float)
--------------------------------
-- get swing span2
-- @function [parent=#Physics3DConeTwistConstraint] getSwingSpan2
-- @param self
-- @return float#float ret (return value: float)
--------------------------------
-- get swing span1
-- @function [parent=#Physics3DConeTwistConstraint] getSwingSpan1
-- @param self
-- @return float#float ret (return value: float)
--------------------------------
-- set max motor impulse
-- @function [parent=#Physics3DConeTwistConstraint] setMaxMotorImpulse
-- @param self
-- @param #float maxMotorImpulse
-- @return Physics3DConeTwistConstraint#Physics3DConeTwistConstraint self (return value: cc.Physics3DConeTwistConstraint)
--------------------------------
-- set A and B's frame
-- @function [parent=#Physics3DConeTwistConstraint] setFrames
-- @param self
-- @param #mat4_table frameA
-- @param #mat4_table frameB
-- @return Physics3DConeTwistConstraint#Physics3DConeTwistConstraint self (return value: cc.Physics3DConeTwistConstraint)
--------------------------------
-- get twist angle
-- @function [parent=#Physics3DConeTwistConstraint] getTwistAngle
-- @param self
-- @return float#float ret (return value: float)
--------------------------------
-- get point for angle
-- @function [parent=#Physics3DConeTwistConstraint] GetPointForAngle
-- @param self
-- @param #float fAngleInRadians
-- @param #float fLength
-- @return vec3_table#vec3_table ret (return value: vec3_table)
--------------------------------
-- set max motor impulse normalize
-- @function [parent=#Physics3DConeTwistConstraint] setMaxMotorImpulseNormalized
-- @param self
-- @param #float maxMotorImpulse
-- @return Physics3DConeTwistConstraint#Physics3DConeTwistConstraint self (return value: cc.Physics3DConeTwistConstraint)
--------------------------------
-- get twist span
-- @function [parent=#Physics3DConeTwistConstraint] getTwistSpan
-- @param self
-- @return float#float ret (return value: float)
--------------------------------
-- set damping
-- @function [parent=#Physics3DConeTwistConstraint] setDamping
-- @param self
-- @param #float damping
-- @return Physics3DConeTwistConstraint#Physics3DConeTwistConstraint self (return value: cc.Physics3DConeTwistConstraint)
--------------------------------
-- set limits<br>
-- param swingSpan1 swing span1<br>
-- param swingSpan2 swing span2<br>
-- param twistSpan twist span<br>
-- param softness 0->1, recommend ~0.8->1. Describes % of limits where movement is free. Beyond this softness %, the limit is gradually enforced until the "hard" (1.0) limit is reached.<br>
-- param biasFactor 0->1?, recommend 0.3 +/-0.3 or so. Strength with which constraint resists zeroth order (angular, not angular velocity) limit violation.<br>
-- param relaxationFactor 0->1, recommend to stay near 1. the lower the value, the less the constraint will fight velocities which violate the angular limits.
-- @function [parent=#Physics3DConeTwistConstraint] setLimit
-- @param self
-- @param #float swingSpan1
-- @param #float swingSpan2
-- @param #float twistSpan
-- @param #float softness
-- @param #float biasFactor
-- @param #float relaxationFactor
-- @return Physics3DConeTwistConstraint#Physics3DConeTwistConstraint self (return value: cc.Physics3DConeTwistConstraint)
--------------------------------
-- get A's frame
-- @function [parent=#Physics3DConeTwistConstraint] getAFrame
-- @param self
-- @return mat4_table#mat4_table ret (return value: mat4_table)
--------------------------------
-- enable motor
-- @function [parent=#Physics3DConeTwistConstraint] enableMotor
-- @param self
-- @param #bool b
-- @return Physics3DConeTwistConstraint#Physics3DConeTwistConstraint self (return value: cc.Physics3DConeTwistConstraint)
--------------------------------
-- @overload self, cc.Physics3DRigidBody, cc.Physics3DRigidBody, mat4_table, mat4_table
-- @overload self, cc.Physics3DRigidBody, mat4_table
-- @function [parent=#Physics3DConeTwistConstraint] create
-- @param self
-- @param #cc.Physics3DRigidBody rbA
-- @param #cc.Physics3DRigidBody rbB
-- @param #mat4_table frameA
-- @param #mat4_table frameB
-- @return Physics3DConeTwistConstraint#Physics3DConeTwistConstraint ret (return value: cc.Physics3DConeTwistConstraint)
--------------------------------
--
-- @function [parent=#Physics3DConeTwistConstraint] Physics3DConeTwistConstraint
-- @param self
-- @return Physics3DConeTwistConstraint#Physics3DConeTwistConstraint self (return value: cc.Physics3DConeTwistConstraint)
return nil

View File

@ -0,0 +1,83 @@
--------------------------------
-- @module Physics3DConstraint
-- @extend Ref
-- @parent_module cc
--------------------------------
-- set enable or not
-- @function [parent=#Physics3DConstraint] setEnabled
-- @param self
-- @param #bool enabled
-- @return Physics3DConstraint#Physics3DConstraint self (return value: cc.Physics3DConstraint)
--------------------------------
-- set the impulse that break the constraint
-- @function [parent=#Physics3DConstraint] setBreakingImpulse
-- @param self
-- @param #float impulse
-- @return Physics3DConstraint#Physics3DConstraint self (return value: cc.Physics3DConstraint)
--------------------------------
-- get user data
-- @function [parent=#Physics3DConstraint] getUserData
-- @param self
-- @return void#void ret (return value: void)
--------------------------------
-- get the impulse that break the constraint
-- @function [parent=#Physics3DConstraint] getBreakingImpulse
-- @param self
-- @return float#float ret (return value: float)
--------------------------------
-- get rigid body a
-- @function [parent=#Physics3DConstraint] getBodyA
-- @param self
-- @return Physics3DRigidBody#Physics3DRigidBody ret (return value: cc.Physics3DRigidBody)
--------------------------------
-- is it enabled
-- @function [parent=#Physics3DConstraint] isEnabled
-- @param self
-- @return bool#bool ret (return value: bool)
--------------------------------
-- get override number of solver iterations
-- @function [parent=#Physics3DConstraint] getOverrideNumSolverIterations
-- @param self
-- @return int#int ret (return value: int)
--------------------------------
-- get rigid body b
-- @function [parent=#Physics3DConstraint] getBodyB
-- @param self
-- @return Physics3DRigidBody#Physics3DRigidBody ret (return value: cc.Physics3DRigidBody)
--------------------------------
-- override the number of constraint solver iterations used to solve this constraint, -1 will use the default number of iterations, as specified in SolverInfo.m_numIterations
-- @function [parent=#Physics3DConstraint] setOverrideNumSolverIterations
-- @param self
-- @param #int overideNumIterations
-- @return Physics3DConstraint#Physics3DConstraint self (return value: cc.Physics3DConstraint)
--------------------------------
-- get constraint type
-- @function [parent=#Physics3DConstraint] getConstraintType
-- @param self
-- @return int#int ret (return value: int)
--------------------------------
-- get user data
-- @function [parent=#Physics3DConstraint] setUserData
-- @param self
-- @param #void userData
-- @return Physics3DConstraint#Physics3DConstraint self (return value: cc.Physics3DConstraint)
--------------------------------
--
-- @function [parent=#Physics3DConstraint] getbtContraint
-- @param self
-- @return btTypedConstraint#btTypedConstraint ret (return value: btTypedConstraint)
return nil

View File

@ -0,0 +1,167 @@
--------------------------------
-- @module Physics3DHingeConstraint
-- @extend Physics3DConstraint
-- @parent_module cc
--------------------------------
-- @overload self, mat4_table, mat4_table
-- @overload self
-- @function [parent=#Physics3DHingeConstraint] getHingeAngle
-- @param self
-- @param #mat4_table transA
-- @param #mat4_table transB
-- @return float#float ret (return value: float)
--------------------------------
-- get motor target velocity
-- @function [parent=#Physics3DHingeConstraint] getMotorTargetVelosity
-- @param self
-- @return float#float ret (return value: float)
--------------------------------
-- get rigid body A's frame offset
-- @function [parent=#Physics3DHingeConstraint] getFrameOffsetA
-- @param self
-- @return mat4_table#mat4_table ret (return value: mat4_table)
--------------------------------
-- get rigid body B's frame offset
-- @function [parent=#Physics3DHingeConstraint] getFrameOffsetB
-- @param self
-- @return mat4_table#mat4_table ret (return value: mat4_table)
--------------------------------
-- set max motor impulse
-- @function [parent=#Physics3DHingeConstraint] setMaxMotorImpulse
-- @param self
-- @param #float maxMotorImpulse
-- @return Physics3DHingeConstraint#Physics3DHingeConstraint self (return value: cc.Physics3DHingeConstraint)
--------------------------------
-- enable angular motor
-- @function [parent=#Physics3DHingeConstraint] enableAngularMotor
-- @param self
-- @param #bool enableMotor
-- @param #float targetVelocity
-- @param #float maxMotorImpulse
-- @return Physics3DHingeConstraint#Physics3DHingeConstraint self (return value: cc.Physics3DHingeConstraint)
--------------------------------
-- get upper limit
-- @function [parent=#Physics3DHingeConstraint] getUpperLimit
-- @param self
-- @return float#float ret (return value: float)
--------------------------------
-- get max motor impulse
-- @function [parent=#Physics3DHingeConstraint] getMaxMotorImpulse
-- @param self
-- @return float#float ret (return value: float)
--------------------------------
-- get lower limit
-- @function [parent=#Physics3DHingeConstraint] getLowerLimit
-- @param self
-- @return float#float ret (return value: float)
--------------------------------
-- set use frame offset
-- @function [parent=#Physics3DHingeConstraint] setUseFrameOffset
-- @param self
-- @param #bool frameOffsetOnOff
-- @return Physics3DHingeConstraint#Physics3DHingeConstraint self (return value: cc.Physics3DHingeConstraint)
--------------------------------
-- get enable angular motor
-- @function [parent=#Physics3DHingeConstraint] getEnableAngularMotor
-- @param self
-- @return bool#bool ret (return value: bool)
--------------------------------
--
-- @function [parent=#Physics3DHingeConstraint] enableMotor
-- @param self
-- @param #bool enableMotor
-- @return Physics3DHingeConstraint#Physics3DHingeConstraint self (return value: cc.Physics3DHingeConstraint)
--------------------------------
-- get B's frame
-- @function [parent=#Physics3DHingeConstraint] getBFrame
-- @param self
-- @return mat4_table#mat4_table ret (return value: mat4_table)
--------------------------------
-- set frames for rigid body A and B
-- @function [parent=#Physics3DHingeConstraint] setFrames
-- @param self
-- @param #mat4_table frameA
-- @param #mat4_table frameB
-- @return Physics3DHingeConstraint#Physics3DHingeConstraint self (return value: cc.Physics3DHingeConstraint)
--------------------------------
-- access for UseFrameOffset
-- @function [parent=#Physics3DHingeConstraint] getUseFrameOffset
-- @param self
-- @return bool#bool ret (return value: bool)
--------------------------------
-- set angular only
-- @function [parent=#Physics3DHingeConstraint] setAngularOnly
-- @param self
-- @param #bool angularOnly
-- @return Physics3DHingeConstraint#Physics3DHingeConstraint self (return value: cc.Physics3DHingeConstraint)
--------------------------------
-- set limit
-- @function [parent=#Physics3DHingeConstraint] setLimit
-- @param self
-- @param #float low
-- @param #float high
-- @param #float _softness
-- @param #float _biasFactor
-- @param #float _relaxationFactor
-- @return Physics3DHingeConstraint#Physics3DHingeConstraint self (return value: cc.Physics3DHingeConstraint)
--------------------------------
-- get angular only
-- @function [parent=#Physics3DHingeConstraint] getAngularOnly
-- @param self
-- @return bool#bool ret (return value: bool)
--------------------------------
-- set axis
-- @function [parent=#Physics3DHingeConstraint] setAxis
-- @param self
-- @param #vec3_table axisInA
-- @return Physics3DHingeConstraint#Physics3DHingeConstraint self (return value: cc.Physics3DHingeConstraint)
--------------------------------
-- get A's frame
-- @function [parent=#Physics3DHingeConstraint] getAFrame
-- @param self
-- @return mat4_table#mat4_table ret (return value: mat4_table)
--------------------------------
-- @overload self, cc.Physics3DRigidBody, vec3_table, vec3_table, bool
-- @overload self, cc.Physics3DRigidBody, mat4_table, bool
-- @overload self, cc.Physics3DRigidBody, cc.Physics3DRigidBody, vec3_table, vec3_table, vec3_table, vec3_table, bool
-- @overload self, cc.Physics3DRigidBody, cc.Physics3DRigidBody, mat4_table, mat4_table, bool
-- @function [parent=#Physics3DHingeConstraint] create
-- @param self
-- @param #cc.Physics3DRigidBody rbA
-- @param #cc.Physics3DRigidBody rbB
-- @param #vec3_table pivotInA
-- @param #vec3_table pivotInB
-- @param #vec3_table axisInA
-- @param #vec3_table axisInB
-- @param #bool useReferenceFrameA
-- @return Physics3DHingeConstraint#Physics3DHingeConstraint ret (return value: cc.Physics3DHingeConstraint)
--------------------------------
--
-- @function [parent=#Physics3DHingeConstraint] Physics3DHingeConstraint
-- @param self
-- @return Physics3DHingeConstraint#Physics3DHingeConstraint self (return value: cc.Physics3DHingeConstraint)
return nil

View File

@ -0,0 +1,70 @@
--------------------------------
-- @module Physics3DObject
-- @extend Ref
-- @parent_module cc
--------------------------------
-- Set the user data.
-- @function [parent=#Physics3DObject] setUserData
-- @param self
-- @param #void userData
-- @return Physics3DObject#Physics3DObject self (return value: cc.Physics3DObject)
--------------------------------
-- Get the user data.
-- @function [parent=#Physics3DObject] getUserData
-- @param self
-- @return void#void ret (return value: void)
--------------------------------
-- Get the Physics3DObject Type.
-- @function [parent=#Physics3DObject] getObjType
-- @param self
-- @return int#int ret (return value: int)
--------------------------------
-- Internal method. Set the pointer of Physics3DWorld.
-- @function [parent=#Physics3DObject] setPhysicsWorld
-- @param self
-- @param #cc.Physics3DWorld world
-- @return Physics3DObject#Physics3DObject self (return value: cc.Physics3DObject)
--------------------------------
-- Get the world matrix of Physics3DObject.
-- @function [parent=#Physics3DObject] getWorldTransform
-- @param self
-- @return mat4_table#mat4_table ret (return value: mat4_table)
--------------------------------
-- Get the pointer of Physics3DWorld.
-- @function [parent=#Physics3DObject] getPhysicsWorld
-- @param self
-- @return Physics3DWorld#Physics3DWorld ret (return value: cc.Physics3DWorld)
--------------------------------
-- Set the mask of Physics3DObject.
-- @function [parent=#Physics3DObject] setMask
-- @param self
-- @param #unsigned int mask
-- @return Physics3DObject#Physics3DObject self (return value: cc.Physics3DObject)
--------------------------------
-- Get the collision callback function.
-- @function [parent=#Physics3DObject] getCollisionCallback
-- @param self
-- @return function#function ret (return value: function)
--------------------------------
-- Get the mask of Physics3DObject.
-- @function [parent=#Physics3DObject] getMask
-- @param self
-- @return unsigned int#unsigned int ret (return value: unsigned int)
--------------------------------
-- Check has collision callback function.
-- @function [parent=#Physics3DObject] needCollisionCallback
-- @param self
-- @return bool#bool ret (return value: bool)
return nil

Some files were not shown because too many files have changed in this diff Show More