-------------------------------- -- @module Ripple3D -- @extend Grid3DAction -- @parent_module cc -------------------------------- -- brief Set the amplitude rate of ripple effect.
-- param fAmplitudeRate The amplitude rate of ripple effect. -- @function [parent=#Ripple3D] setAmplitudeRate -- @param self -- @param #float fAmplitudeRate -- @return Ripple3D#Ripple3D self (return value: cc.Ripple3D) -------------------------------- -- brief Get the amplitude rate of ripple effect.
-- return The amplitude rate of ripple effect. -- @function [parent=#Ripple3D] getAmplitudeRate -- @param self -- @return float#float ret (return value: float) -------------------------------- -- brief Set the amplitude of ripple effect.
-- param fAmplitude The amplitude of ripple effect. -- @function [parent=#Ripple3D] setAmplitude -- @param self -- @param #float fAmplitude -- @return Ripple3D#Ripple3D self (return value: cc.Ripple3D) -------------------------------- -- brief Get the amplitude of ripple effect.
-- return The amplitude of ripple effect. -- @function [parent=#Ripple3D] getAmplitude -- @param self -- @return float#float ret (return value: float) -------------------------------- -- brief Set the center position of ripple effect.
-- param position The center position of ripple effect will be set. -- @function [parent=#Ripple3D] setPosition -- @param self -- @param #vec2_table position -- @return Ripple3D#Ripple3D self (return value: cc.Ripple3D) -------------------------------- -- brief Get the center position of ripple effect.
-- return The center position of ripple effect. -- @function [parent=#Ripple3D] getPosition -- @param self -- @return vec2_table#vec2_table ret (return value: vec2_table) -------------------------------- -- brief Create the action with center position, radius, number of waves, amplitude, a grid size and duration.
-- param duration Specify the duration of the Ripple3D action. It's a value in seconds.
-- param gridSize Specify the size of the grid.
-- param position Specify the center position of the ripple effect.
-- param radius Specify the radius of the ripple effect.
-- param waves Specify the waves count of the ripple effect.
-- param amplitude Specify the amplitude of the ripple effect.
-- return If the creation sucess, return a pointer of Ripple3D action; otherwise, return nil. -- @function [parent=#Ripple3D] create -- @param self -- @param #float duration -- @param #size_table gridSize -- @param #vec2_table position -- @param #float radius -- @param #unsigned int waves -- @param #float amplitude -- @return Ripple3D#Ripple3D ret (return value: cc.Ripple3D) -------------------------------- -- -- @function [parent=#Ripple3D] clone -- @param self -- @return Ripple3D#Ripple3D ret (return value: cc.Ripple3D) -------------------------------- -- -- @function [parent=#Ripple3D] update -- @param self -- @param #float time -- @return Ripple3D#Ripple3D self (return value: cc.Ripple3D) return nil