mirror of https://github.com/axmolengine/axmol.git
140 lines
4.3 KiB
Lua
140 lines
4.3 KiB
Lua
|
|
--------------------------------
|
|
-- @module Animate3D
|
|
-- @extend ActionInterval
|
|
-- @parent_module cc
|
|
|
|
--------------------------------
|
|
-- get & set speed, negative speed means playing reverse
|
|
-- @function [parent=#Animate3D] getSpeed
|
|
-- @param self
|
|
-- @return float#float ret (return value: float)
|
|
|
|
--------------------------------
|
|
-- set high quality<br>
|
|
-- The default value is based on Configuration::isHighAnimate3DQuality(). You can configure it in the config.plist. However, you can modify it using the following function<br>
|
|
-- param true: is high quality, false: is low quality.
|
|
-- @function [parent=#Animate3D] setHighQuality
|
|
-- @param self
|
|
-- @param #bool isHighQuality
|
|
-- @return Animate3D#Animate3D self (return value: cc.Animate3D)
|
|
|
|
--------------------------------
|
|
--
|
|
-- @function [parent=#Animate3D] setWeight
|
|
-- @param self
|
|
-- @param #float weight
|
|
-- @return Animate3D#Animate3D self (return value: cc.Animate3D)
|
|
|
|
--------------------------------
|
|
--
|
|
-- @function [parent=#Animate3D] getOriginInterval
|
|
-- @param self
|
|
-- @return float#float ret (return value: float)
|
|
|
|
--------------------------------
|
|
--
|
|
-- @function [parent=#Animate3D] setSpeed
|
|
-- @param self
|
|
-- @param #float speed
|
|
-- @return Animate3D#Animate3D self (return value: cc.Animate3D)
|
|
|
|
--------------------------------
|
|
-- get high quality<br>
|
|
-- is it high quality
|
|
-- @function [parent=#Animate3D] isHighQuality
|
|
-- @param self
|
|
-- @return bool#bool ret (return value: bool)
|
|
|
|
--------------------------------
|
|
-- get & set origin interval
|
|
-- @function [parent=#Animate3D] setOriginInterval
|
|
-- @param self
|
|
-- @param #float interval
|
|
-- @return Animate3D#Animate3D self (return value: cc.Animate3D)
|
|
|
|
--------------------------------
|
|
-- get & set blend weight, weight must positive
|
|
-- @function [parent=#Animate3D] getWeight
|
|
-- @param self
|
|
-- @return float#float ret (return value: float)
|
|
|
|
--------------------------------
|
|
-- @overload self, cc.Animation3D, float, float
|
|
-- @overload self, cc.Animation3D
|
|
-- @function [parent=#Animate3D] create
|
|
-- @param self
|
|
-- @param #cc.Animation3D animation
|
|
-- @param #float fromTime
|
|
-- @param #float duration
|
|
-- @return Animate3D#Animate3D ret (return value: cc.Animate3D)
|
|
|
|
--------------------------------
|
|
-- get animate transition time between 3d animations
|
|
-- @function [parent=#Animate3D] getTransitionTime
|
|
-- @param self
|
|
-- @return float#float ret (return value: float)
|
|
|
|
--------------------------------
|
|
-- create Animate3D by frame section, [startFrame, endFrame)<br>
|
|
-- param animation used to generate animate3D<br>
|
|
-- param startFrame<br>
|
|
-- param endFrame<br>
|
|
-- param frameRate default is 30 per second<br>
|
|
-- return Animate3D created using animate
|
|
-- @function [parent=#Animate3D] createWithFrames
|
|
-- @param self
|
|
-- @param #cc.Animation3D animation
|
|
-- @param #int startFrame
|
|
-- @param #int endFrame
|
|
-- @param #float frameRate
|
|
-- @return Animate3D#Animate3D ret (return value: cc.Animate3D)
|
|
|
|
--------------------------------
|
|
-- set animate transition time between 3d animations
|
|
-- @function [parent=#Animate3D] setTransitionTime
|
|
-- @param self
|
|
-- @param #float transTime
|
|
-- @return Animate3D#Animate3D self (return value: cc.Animate3D)
|
|
|
|
--------------------------------
|
|
--
|
|
-- @function [parent=#Animate3D] startWithTarget
|
|
-- @param self
|
|
-- @param #cc.Node target
|
|
-- @return Animate3D#Animate3D self (return value: cc.Animate3D)
|
|
|
|
--------------------------------
|
|
--
|
|
-- @function [parent=#Animate3D] reverse
|
|
-- @param self
|
|
-- @return Animate3D#Animate3D ret (return value: cc.Animate3D)
|
|
|
|
--------------------------------
|
|
--
|
|
-- @function [parent=#Animate3D] clone
|
|
-- @param self
|
|
-- @return Animate3D#Animate3D ret (return value: cc.Animate3D)
|
|
|
|
--------------------------------
|
|
--
|
|
-- @function [parent=#Animate3D] stop
|
|
-- @param self
|
|
-- @return Animate3D#Animate3D self (return value: cc.Animate3D)
|
|
|
|
--------------------------------
|
|
--
|
|
-- @function [parent=#Animate3D] update
|
|
-- @param self
|
|
-- @param #float t
|
|
-- @return Animate3D#Animate3D self (return value: cc.Animate3D)
|
|
|
|
--------------------------------
|
|
--
|
|
-- @function [parent=#Animate3D] step
|
|
-- @param self
|
|
-- @param #float dt
|
|
-- @return Animate3D#Animate3D self (return value: cc.Animate3D)
|
|
|
|
return nil
|