-------------------------------- -- @module Lens3D -- @extend Grid3DAction -- @parent_module cc -------------------------------- -- brief Set the center position of lens effect.
-- param 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 Set whether lens is concave.
-- param concave Whether lens is concave. -- @function [parent=#Lens3D] setConcave -- @param self -- @param #bool concave -- @return Lens3D#Lens3D self (return value: cc.Lens3D) -------------------------------- -- brief Set the value of lens effect.
-- param lensEffect The value of lens effect will be set. -- @function [parent=#Lens3D] setLensEffect -- @param self -- @param #float lensEffect -- @return Lens3D#Lens3D self (return value: cc.Lens3D) -------------------------------- -- brief Get the center position of lens effect.
-- return The center position of lens effect. -- @function [parent=#Lens3D] getPosition -- @param self -- @return vec2_table#vec2_table ret (return value: vec2_table) -------------------------------- -- brief Get the value of lens effect. Default value is 0.7.
-- return The value of lens effect. -- @function [parent=#Lens3D] getLensEffect -- @param self -- @return float#float ret (return value: float) -------------------------------- -- brief Create the action with center position, radius, a grid size and duration.
-- param duration Specify the duration of the Lens3D action. It's a value in seconds.
-- param gridSize Specify the size of the grid.
-- param position Specify the center position of the lens.
-- param radius Specify the radius of the lens.
-- return If the creation sucess, return a pointer of Lens3D action; otherwise, return nil. -- @function [parent=#Lens3D] create -- @param self -- @param #float duration -- @param #size_table gridSize -- @param #vec2_table position -- @param #float radius -- @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) return nil