Skip to content

Commit

Permalink
Merge pull request cocos2d#15114 from CocosRobot/update_lua_bindings_…
Browse files Browse the repository at this point in the history
…1456379985

[ci skip][AUTO]: updating luabinding & jsbinding automatically
  • Loading branch information
zilongshanren committed Feb 25, 2016
2 parents c3eeb7c + 9a11556 commit 699b76c
Showing 1 changed file with 44 additions and 20 deletions.
64 changes: 44 additions & 20 deletions cocos/scripting/lua-bindings/auto/api/Node.lua
Original file line number Diff line number Diff line change
Expand Up @@ -55,14 +55,16 @@
-- @return Node#Node self (return value: cc.Node)

--------------------------------
--
-- If you want the opacity affect the color property, then set to true.<br>
-- param value A boolean value.
-- @function [parent=#Node] setOpacityModifyRGB
-- @param self
-- @param #bool value
-- @return Node#Node self (return value: cc.Node)

--------------------------------
--
-- Change node's cascadeOpacity property.<br>
-- param cascadeOpacityEnabled True to enable cascadeOpacity, false otherwise.
-- @function [parent=#Node] setCascadeOpacityEnabled
-- @param self
-- @param #bool cascadeOpacityEnabled
Expand All @@ -76,7 +78,8 @@
-- @return array_table#array_table ret (return value: array_table)

--------------------------------
--
-- Set the callback of event onExit.<br>
-- param callback A std::function<void()> callback.
-- @function [parent=#Node] setOnExitCallback
-- @param self
-- @param #function callback
Expand Down Expand Up @@ -118,7 +121,8 @@
-- @return Node#Node ret (return value: cc.Node)

--------------------------------
--
-- Update the displayed opacity of node with it's parent opacity;<br>
-- param parentOpacity The opacity of parent node.
-- @function [parent=#Node] updateDisplayedOpacity
-- @param self
-- @param #unsigned char parentOpacity
Expand All @@ -131,7 +135,7 @@
-- @return bool#bool ret (return value: bool)

--------------------------------
-- get & set camera mask, the node is visible by the camera whose camera flag & node's camera mask is true
-- get & set camera mask, the node is visible by the camera whose camera flag & node's camera mask is true
-- @function [parent=#Node] getCameraMask
-- @param self
-- @return unsigned short#unsigned short ret (return value: unsigned short)
Expand Down Expand Up @@ -191,7 +195,8 @@
-- @return Node#Node self (return value: cc.Node)

--------------------------------
--
-- Set the callback of event EnterTransitionDidFinish.<br>
-- param callback A std::function<void()> callback.
-- @function [parent=#Node] setonEnterTransitionDidFinishCallback
-- @param self
-- @param #function callback
Expand All @@ -204,13 +209,17 @@
-- @return Node#Node self (return value: cc.Node)

--------------------------------
-- / @} end of component functions
-- Return the node's opacity.<br>
-- return A GLubyte value.
-- @function [parent=#Node] getOpacity
-- @param self
-- @return unsigned char#unsigned char ret (return value: unsigned char)

--------------------------------
--
-- Modify the camera mask for current node.<br>
-- If applyChildren is true, then it will modify the camera mask of its children recursively.<br>
-- param mask A unsigned short bit for mask.<br>
-- param applyChildren A boolean value to determine whether the mask bit should apply to its children or not.
-- @function [parent=#Node] setCameraMask
-- @param self
-- @param #unsigned short mask
Expand Down Expand Up @@ -306,7 +315,8 @@
-- @return Node#Node self (return value: cc.Node)

--------------------------------
--
-- Set the callback of event onEnter.<br>
-- param callback A std::function<void()> callback.
-- @function [parent=#Node] setOnEnterCallback
-- @param self
-- @param #function callback
Expand Down Expand Up @@ -336,7 +346,8 @@
-- @return Node#Node self (return value: cc.Node)

--------------------------------
--
-- Set the callback of event ExitTransitionDidStart.<br>
-- param callback A std::function<void()> callback.
-- @function [parent=#Node] setonExitTransitionDidStartCallback
-- @param self
-- @param #function callback
Expand Down Expand Up @@ -368,7 +379,8 @@
-- @return AffineTransform#AffineTransform ret (return value: cc.AffineTransform)

--------------------------------
--
-- Whether cascadeOpacity is enabled or not.<br>
-- return A boolean value.
-- @function [parent=#Node] isCascadeOpacityEnabled
-- @param self
-- @return bool#bool ret (return value: bool)
Expand Down Expand Up @@ -431,7 +443,8 @@
-- @return vec2_table#vec2_table ret (return value: vec2_table)

--------------------------------
--
-- If node opacity will modify the RGB color value, then you should override this method and return true.<br>
-- return A boolean value, true indicates that opacity will modify color; false otherwise.
-- @function [parent=#Node] isOpacityModifyRGB
-- @param self
-- @return bool#bool ret (return value: bool)
Expand Down Expand Up @@ -684,7 +697,8 @@
-- @return float#float ret (return value: float)

--------------------------------
--
-- Query node's displayed color.<br>
-- return A Color3B color value.
-- @function [parent=#Node] getDisplayedColor
-- @param self
-- @return color3b_table#color3b_table ret (return value: color3b_table)
Expand All @@ -708,7 +722,10 @@
-- @return Node#Node self (return value: cc.Node)

--------------------------------
--
-- Return the node's display opacity.<br>
-- The difference between opacity and displayedOpacity is:<br>
-- The displayedOpacity is what's the final rendering opacity of node.<br>
-- return A GLubyte value.
-- @function [parent=#Node] getDisplayedOpacity
-- @param self
-- @return unsigned char#unsigned char ret (return value: unsigned char)
Expand Down Expand Up @@ -752,7 +769,8 @@
-- @return Node#Node self (return value: cc.Node)

--------------------------------
--
-- Change the color of node.<br>
-- param color A Color3B color value.
-- @function [parent=#Node] setColor
-- @param self
-- @param #color3b_table color
Expand Down Expand Up @@ -822,7 +840,8 @@
-- @return AffineTransform#AffineTransform ret (return value: cc.AffineTransform)

--------------------------------
--
-- Update node's displayed color with its parent color.<br>
-- param parentColor A Color3B color value.
-- @function [parent=#Node] updateDisplayedColor
-- @param self
-- @param #color3b_table parentColor
Expand Down Expand Up @@ -950,14 +969,17 @@
-- @return AffineTransform#AffineTransform ret (return value: cc.AffineTransform)

--------------------------------
--
-- If you want node's color affect the children node's color, then set it to true.<br>
-- Otherwise, set it to false.<br>
-- param cascadeColorEnabled A boolean value.
-- @function [parent=#Node] setCascadeColorEnabled
-- @param self
-- @param #bool cascadeColorEnabled
-- @return Node#Node self (return value: cc.Node)

--------------------------------
--
-- Change node opacity.<br>
-- param opacity A GLubyte opacity value.
-- @function [parent=#Node] setOpacity
-- @param self
-- @param #unsigned char opacity
Expand Down Expand Up @@ -996,7 +1018,8 @@
-- @return Node#Node self (return value: cc.Node)

--------------------------------
--
-- Query node's color value.<br>
-- return A Color3B color value.
-- @function [parent=#Node] getColor
-- @param self
-- @return color3b_table#color3b_table ret (return value: color3b_table)
Expand Down Expand Up @@ -1144,7 +1167,8 @@
-- @return Node#Node self (return value: cc.Node)

--------------------------------
--
-- Query whether cascadeColor is enabled or not.<br>
-- return Whether cascadeColor is enabled or not.
-- @function [parent=#Node] isCascadeColorEnabled
-- @param self
-- @return bool#bool ret (return value: bool)
Expand Down

0 comments on commit 699b76c

Please sign in to comment.