2015-09-29 15:45:48 +08:00
|
|
|
|
|
|
|
--------------------------------
|
|
|
|
-- @module SkeletonAnimation
|
|
|
|
-- @extend SkeletonRenderer
|
|
|
|
-- @parent_module sp
|
|
|
|
|
|
|
|
--------------------------------
|
|
|
|
--
|
2017-02-09 17:07:42 +08:00
|
|
|
-- @function [parent=#SkeletonAnimation] setTrackCompleteListener
|
2015-09-29 15:45:48 +08:00
|
|
|
-- @param self
|
2017-02-09 17:07:42 +08:00
|
|
|
-- @param #spTrackEntry entry
|
2015-09-29 15:45:48 +08:00
|
|
|
-- @param #function listener
|
|
|
|
-- @return SkeletonAnimation#SkeletonAnimation self (return value: sp.SkeletonAnimation)
|
|
|
|
|
2017-02-09 17:07:42 +08:00
|
|
|
--------------------------------
|
|
|
|
--
|
|
|
|
-- @function [parent=#SkeletonAnimation] findAnimation
|
|
|
|
-- @param self
|
|
|
|
-- @param #string name
|
|
|
|
-- @return spAnimation#spAnimation ret (return value: spAnimation)
|
|
|
|
|
2015-09-29 15:45:48 +08:00
|
|
|
--------------------------------
|
|
|
|
--
|
2017-11-02 11:17:04 +08:00
|
|
|
-- @function [parent=#SkeletonAnimation] setCompleteListener
|
2015-09-29 15:45:48 +08:00
|
|
|
-- @param self
|
|
|
|
-- @param #function listener
|
|
|
|
-- @return SkeletonAnimation#SkeletonAnimation self (return value: sp.SkeletonAnimation)
|
|
|
|
|
|
|
|
--------------------------------
|
|
|
|
--
|
2017-02-09 17:07:42 +08:00
|
|
|
-- @function [parent=#SkeletonAnimation] setMix
|
2015-09-29 15:45:48 +08:00
|
|
|
-- @param self
|
2017-02-09 17:07:42 +08:00
|
|
|
-- @param #string fromAnimation
|
|
|
|
-- @param #string toAnimation
|
|
|
|
-- @param #float duration
|
2015-09-29 15:45:48 +08:00
|
|
|
-- @return SkeletonAnimation#SkeletonAnimation self (return value: sp.SkeletonAnimation)
|
|
|
|
|
|
|
|
--------------------------------
|
|
|
|
--
|
|
|
|
-- @function [parent=#SkeletonAnimation] setTrackStartListener
|
|
|
|
-- @param self
|
|
|
|
-- @param #spTrackEntry entry
|
|
|
|
-- @param #function listener
|
|
|
|
-- @return SkeletonAnimation#SkeletonAnimation self (return value: sp.SkeletonAnimation)
|
|
|
|
|
2017-11-02 11:17:04 +08:00
|
|
|
--------------------------------
|
|
|
|
--
|
|
|
|
-- @function [parent=#SkeletonAnimation] addEmptyAnimation
|
|
|
|
-- @param self
|
|
|
|
-- @param #int trackIndex
|
|
|
|
-- @param #float mixDuration
|
|
|
|
-- @param #float delay
|
|
|
|
-- @return spTrackEntry#spTrackEntry ret (return value: spTrackEntry)
|
|
|
|
|
2016-07-29 09:43:11 +08:00
|
|
|
--------------------------------
|
|
|
|
--
|
2017-02-09 17:07:42 +08:00
|
|
|
-- @function [parent=#SkeletonAnimation] setDisposeListener
|
2016-07-29 09:43:11 +08:00
|
|
|
-- @param self
|
2017-02-09 17:07:42 +08:00
|
|
|
-- @param #function listener
|
|
|
|
-- @return SkeletonAnimation#SkeletonAnimation self (return value: sp.SkeletonAnimation)
|
2016-07-29 09:43:11 +08:00
|
|
|
|
2015-09-29 15:45:48 +08:00
|
|
|
--------------------------------
|
|
|
|
--
|
2017-02-09 17:07:42 +08:00
|
|
|
-- @function [parent=#SkeletonAnimation] setTrackInterruptListener
|
2015-09-29 15:45:48 +08:00
|
|
|
-- @param self
|
2017-02-09 17:07:42 +08:00
|
|
|
-- @param #spTrackEntry entry
|
2015-09-29 15:45:48 +08:00
|
|
|
-- @param #function listener
|
|
|
|
-- @return SkeletonAnimation#SkeletonAnimation self (return value: sp.SkeletonAnimation)
|
|
|
|
|
|
|
|
--------------------------------
|
|
|
|
--
|
2017-02-09 17:07:42 +08:00
|
|
|
-- @function [parent=#SkeletonAnimation] setEndListener
|
|
|
|
-- @param self
|
|
|
|
-- @param #function listener
|
|
|
|
-- @return SkeletonAnimation#SkeletonAnimation self (return value: sp.SkeletonAnimation)
|
|
|
|
|
|
|
|
--------------------------------
|
|
|
|
--
|
|
|
|
-- @function [parent=#SkeletonAnimation] setTrackDisposeListener
|
2015-09-29 15:45:48 +08:00
|
|
|
-- @param self
|
|
|
|
-- @param #spTrackEntry entry
|
|
|
|
-- @param #function listener
|
|
|
|
-- @return SkeletonAnimation#SkeletonAnimation self (return value: sp.SkeletonAnimation)
|
|
|
|
|
|
|
|
--------------------------------
|
|
|
|
--
|
|
|
|
-- @function [parent=#SkeletonAnimation] setEventListener
|
|
|
|
-- @param self
|
|
|
|
-- @param #function listener
|
|
|
|
-- @return SkeletonAnimation#SkeletonAnimation self (return value: sp.SkeletonAnimation)
|
|
|
|
|
|
|
|
--------------------------------
|
|
|
|
--
|
2017-11-02 11:17:04 +08:00
|
|
|
-- @function [parent=#SkeletonAnimation] setEmptyAnimation
|
2015-09-29 15:45:48 +08:00
|
|
|
-- @param self
|
2017-11-02 11:17:04 +08:00
|
|
|
-- @param #int trackIndex
|
|
|
|
-- @param #float mixDuration
|
|
|
|
-- @return spTrackEntry#spTrackEntry ret (return value: spTrackEntry)
|
|
|
|
|
|
|
|
--------------------------------
|
|
|
|
--
|
|
|
|
-- @function [parent=#SkeletonAnimation] setTrackEventListener
|
|
|
|
-- @param self
|
|
|
|
-- @param #spTrackEntry entry
|
2017-02-09 17:07:42 +08:00
|
|
|
-- @param #function listener
|
2015-09-29 15:45:48 +08:00
|
|
|
-- @return SkeletonAnimation#SkeletonAnimation self (return value: sp.SkeletonAnimation)
|
|
|
|
|
|
|
|
--------------------------------
|
|
|
|
--
|
2017-02-09 17:07:42 +08:00
|
|
|
-- @function [parent=#SkeletonAnimation] clearTrack
|
|
|
|
-- @param self
|
|
|
|
-- @return SkeletonAnimation#SkeletonAnimation self (return value: sp.SkeletonAnimation)
|
|
|
|
|
|
|
|
--------------------------------
|
|
|
|
--
|
|
|
|
-- @function [parent=#SkeletonAnimation] setInterruptListener
|
2015-09-29 15:45:48 +08:00
|
|
|
-- @param self
|
|
|
|
-- @param #function listener
|
|
|
|
-- @return SkeletonAnimation#SkeletonAnimation self (return value: sp.SkeletonAnimation)
|
|
|
|
|
2017-11-02 11:17:04 +08:00
|
|
|
--------------------------------
|
|
|
|
--
|
|
|
|
-- @function [parent=#SkeletonAnimation] setEmptyAnimations
|
|
|
|
-- @param self
|
|
|
|
-- @param #float mixDuration
|
|
|
|
-- @return SkeletonAnimation#SkeletonAnimation self (return value: sp.SkeletonAnimation)
|
|
|
|
|
2015-09-29 15:45:48 +08:00
|
|
|
--------------------------------
|
|
|
|
--
|
|
|
|
-- @function [parent=#SkeletonAnimation] clearTracks
|
|
|
|
-- @param self
|
|
|
|
-- @return SkeletonAnimation#SkeletonAnimation self (return value: sp.SkeletonAnimation)
|
|
|
|
|
|
|
|
--------------------------------
|
|
|
|
--
|
2017-02-09 17:07:42 +08:00
|
|
|
-- @function [parent=#SkeletonAnimation] setTrackEndListener
|
|
|
|
-- @param self
|
|
|
|
-- @param #spTrackEntry entry
|
|
|
|
-- @param #function listener
|
|
|
|
-- @return SkeletonAnimation#SkeletonAnimation self (return value: sp.SkeletonAnimation)
|
|
|
|
|
|
|
|
--------------------------------
|
|
|
|
--
|
|
|
|
-- @function [parent=#SkeletonAnimation] setStartListener
|
2015-09-29 15:45:48 +08:00
|
|
|
-- @param self
|
2017-02-09 17:07:42 +08:00
|
|
|
-- @param #function listener
|
2015-09-29 15:45:48 +08:00
|
|
|
-- @return SkeletonAnimation#SkeletonAnimation self (return value: sp.SkeletonAnimation)
|
|
|
|
|
2016-10-12 02:40:11 +08:00
|
|
|
--------------------------------
|
|
|
|
-- @overload self, string, string, float
|
|
|
|
-- @overload self, string, spAtlas, float
|
|
|
|
-- @function [parent=#SkeletonAnimation] createWithBinaryFile
|
|
|
|
-- @param self
|
|
|
|
-- @param #string skeletonBinaryFile
|
|
|
|
-- @param #spAtlas atlas
|
|
|
|
-- @param #float scale
|
|
|
|
-- @return SkeletonAnimation#SkeletonAnimation ret (return value: sp.SkeletonAnimation)
|
|
|
|
|
2016-07-29 09:43:11 +08:00
|
|
|
--------------------------------
|
|
|
|
--
|
|
|
|
-- @function [parent=#SkeletonAnimation] create
|
|
|
|
-- @param self
|
|
|
|
-- @return SkeletonAnimation#SkeletonAnimation ret (return value: sp.SkeletonAnimation)
|
|
|
|
|
2016-10-12 02:40:11 +08:00
|
|
|
--------------------------------
|
|
|
|
-- @overload self, string, string, float
|
|
|
|
-- @overload self, string, spAtlas, float
|
|
|
|
-- @function [parent=#SkeletonAnimation] createWithJsonFile
|
|
|
|
-- @param self
|
|
|
|
-- @param #string skeletonJsonFile
|
|
|
|
-- @param #spAtlas atlas
|
|
|
|
-- @param #float scale
|
|
|
|
-- @return SkeletonAnimation#SkeletonAnimation ret (return value: sp.SkeletonAnimation)
|
|
|
|
|
|
|
|
--------------------------------
|
|
|
|
--
|
|
|
|
-- @function [parent=#SkeletonAnimation] initialize
|
|
|
|
-- @param self
|
|
|
|
-- @return SkeletonAnimation#SkeletonAnimation self (return value: sp.SkeletonAnimation)
|
|
|
|
|
2015-09-29 15:45:48 +08:00
|
|
|
return nil
|