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

95 lines
3.3 KiB
Lua
Raw Normal View History

2014-03-10 14:04:58 +08:00
--------------------------------
-- @module Lens3D
-- @extend Grid3DAction
-- @parent_module cc
2014-03-10 14:04:58 +08:00
--------------------------------
-- brief Set whether lens is concave.<br>
-- param concave Whether lens is concave.
2014-03-10 14:04:58 +08:00
-- @function [parent=#Lens3D] setConcave
-- @param self
-- @param #bool concave
-- @return Lens3D#Lens3D self (return value: cc.Lens3D)
2014-03-10 14:04:58 +08:00
--------------------------------
-- brief Initializes the action with center position, radius, grid size and duration.<br>
-- param duration Specify the duration of the Lens3D action. It's a value in seconds.<br>
-- param gridSize Specify the size of the grid.<br>
-- param position Specify the center position of the lens effect.<br>
-- param radius Specify the radius of the lens effect.<br>
-- return If the initialization success, return true; otherwise, return false.
-- @function [parent=#Lens3D] initWithDuration
-- @param self
-- @param #float duration
-- @param #size_table gridSize
-- @param #vec2_table position
-- @param #float radius
-- @return bool#bool ret (return value: bool)
2014-03-10 14:04:58 +08:00
--------------------------------
-- brief Set the value of lens effect.<br>
-- param lensEffect The value of lens effect will be set.
2014-03-10 14:04:58 +08:00
-- @function [parent=#Lens3D] setLensEffect
-- @param self
-- @param #float lensEffect
-- @return Lens3D#Lens3D self (return value: cc.Lens3D)
2014-03-10 14:04:58 +08:00
--------------------------------
-- brief Get the value of lens effect. Default value is 0.7.<br>
-- return The value of lens effect.
2014-03-10 14:04:58 +08:00
-- @function [parent=#Lens3D] getLensEffect
-- @param self
-- @return float#float ret (return value: float)
--------------------------------
-- brief Set the center position of lens effect.<br>
-- param position The center position will be set.
-- @function [parent=#Lens3D] setPosition
-- @param self
-- @param #vec2_table position
-- @return Lens3D#Lens3D self (return value: cc.Lens3D)
--------------------------------
-- brief Get the center position of lens effect.<br>
-- return The center position of lens effect.
-- @function [parent=#Lens3D] getPosition
-- @param self
-- @return vec2_table#vec2_table ret (return value: vec2_table)
2014-03-10 14:04:58 +08:00
--------------------------------
-- brief Create the action with center position, radius, a grid size and duration.<br>
-- param duration Specify the duration of the Lens3D action. It's a value in seconds.<br>
-- param gridSize Specify the size of the grid.<br>
-- param position Specify the center position of the lens.<br>
-- param radius Specify the radius of the lens.<br>
-- return If the creation sucess, return a pointer of Lens3D action; otherwise, return nil.
2014-03-10 14:04:58 +08:00
-- @function [parent=#Lens3D] create
-- @param self
-- @param #float duration
-- @param #size_table gridSize
-- @param #vec2_table position
-- @param #float radius
2014-03-10 14:04:58 +08:00
-- @return Lens3D#Lens3D ret (return value: cc.Lens3D)
--------------------------------
--
-- @function [parent=#Lens3D] clone
-- @param self
-- @return Lens3D#Lens3D ret (return value: cc.Lens3D)
--------------------------------
--
-- @function [parent=#Lens3D] update
-- @param self
-- @param #float time
-- @return Lens3D#Lens3D self (return value: cc.Lens3D)
--------------------------------
--
-- @function [parent=#Lens3D] Lens3D
-- @param self
-- @return Lens3D#Lens3D self (return value: cc.Lens3D)
2014-03-10 14:04:58 +08:00
return nil