mirror of https://github.com/axmolengine/axmol.git
68 lines
2.0 KiB
Lua
68 lines
2.0 KiB
Lua
|
|
--------------------------------
|
|
-- @module OrbitCamera
|
|
-- @extend ActionCamera
|
|
-- @parent_module cc
|
|
|
|
--------------------------------
|
|
-- Initializes a OrbitCamera action with radius, delta-radius, z, deltaZ, x, deltaX.
|
|
-- @function [parent=#OrbitCamera] initWithDuration
|
|
-- @param self
|
|
-- @param #float t
|
|
-- @param #float radius
|
|
-- @param #float deltaRadius
|
|
-- @param #float angleZ
|
|
-- @param #float deltaAngleZ
|
|
-- @param #float angleX
|
|
-- @param #float deltaAngleX
|
|
-- @return bool#bool ret (return value: bool)
|
|
|
|
--------------------------------
|
|
-- Creates a OrbitCamera action with radius, delta-radius, z, deltaZ, x, deltaX. <br>
|
|
-- param t Duration in seconds.<br>
|
|
-- param radius The start radius.<br>
|
|
-- param deltaRadius The delta radius.<br>
|
|
-- param angleZ The start angle in Z.<br>
|
|
-- param deltaAngleZ The delta angle in Z.<br>
|
|
-- param angleX The start angle in X.<br>
|
|
-- param deltaAngleX The delta angle in X.<br>
|
|
-- return An OrbitCamera.
|
|
-- @function [parent=#OrbitCamera] create
|
|
-- @param self
|
|
-- @param #float t
|
|
-- @param #float radius
|
|
-- @param #float deltaRadius
|
|
-- @param #float angleZ
|
|
-- @param #float deltaAngleZ
|
|
-- @param #float angleX
|
|
-- @param #float deltaAngleX
|
|
-- @return OrbitCamera#OrbitCamera ret (return value: cc.OrbitCamera)
|
|
|
|
--------------------------------
|
|
--
|
|
-- @function [parent=#OrbitCamera] startWithTarget
|
|
-- @param self
|
|
-- @param #cc.Node target
|
|
-- @return OrbitCamera#OrbitCamera self (return value: cc.OrbitCamera)
|
|
|
|
--------------------------------
|
|
--
|
|
-- @function [parent=#OrbitCamera] clone
|
|
-- @param self
|
|
-- @return OrbitCamera#OrbitCamera ret (return value: cc.OrbitCamera)
|
|
|
|
--------------------------------
|
|
--
|
|
-- @function [parent=#OrbitCamera] update
|
|
-- @param self
|
|
-- @param #float time
|
|
-- @return OrbitCamera#OrbitCamera self (return value: cc.OrbitCamera)
|
|
|
|
--------------------------------
|
|
-- js ctor
|
|
-- @function [parent=#OrbitCamera] OrbitCamera
|
|
-- @param self
|
|
-- @return OrbitCamera#OrbitCamera self (return value: cc.OrbitCamera)
|
|
|
|
return nil
|