2015-03-31 12:01:57 +08:00
|
|
|
|
|
|
|
--------------------------------
|
|
|
|
-- @module Skybox
|
|
|
|
-- @extend Node
|
|
|
|
-- @parent_module cc
|
|
|
|
|
|
|
|
--------------------------------
|
|
|
|
-- reload sky box after GLESContext reconstructed.
|
|
|
|
-- @function [parent=#Skybox] reload
|
|
|
|
-- @param self
|
|
|
|
-- @return Skybox#Skybox self (return value: cc.Skybox)
|
|
|
|
|
2015-05-05 11:31:53 +08:00
|
|
|
--------------------------------
|
2015-07-07 08:44:47 +08:00
|
|
|
-- initialize with texture path
|
|
|
|
-- @function [parent=#Skybox] init
|
2015-05-05 11:31:53 +08:00
|
|
|
-- @param self
|
|
|
|
-- @param #string positive_x
|
|
|
|
-- @param #string negative_x
|
|
|
|
-- @param #string positive_y
|
|
|
|
-- @param #string negative_y
|
|
|
|
-- @param #string positive_z
|
|
|
|
-- @param #string negative_z
|
|
|
|
-- @return bool#bool ret (return value: bool)
|
2015-07-07 08:44:47 +08:00
|
|
|
|
2015-03-31 12:01:57 +08:00
|
|
|
--------------------------------
|
|
|
|
-- texture getter and setter
|
|
|
|
-- @function [parent=#Skybox] setTexture
|
|
|
|
-- @param self
|
|
|
|
-- @param #cc.TextureCube
|
|
|
|
-- @return Skybox#Skybox self (return value: cc.Skybox)
|
|
|
|
|
|
|
|
--------------------------------
|
2015-04-02 09:51:14 +08:00
|
|
|
-- @overload self, string, string, string, string, string, string
|
|
|
|
-- @overload self
|
|
|
|
-- @function [parent=#Skybox] create
|
2015-03-31 12:01:57 +08:00
|
|
|
-- @param self
|
2015-04-02 09:51:14 +08:00
|
|
|
-- @param #string positive_x
|
|
|
|
-- @param #string negative_x
|
|
|
|
-- @param #string positive_y
|
|
|
|
-- @param #string negative_y
|
|
|
|
-- @param #string positive_z
|
|
|
|
-- @param #string negative_z
|
2015-03-31 12:01:57 +08:00
|
|
|
-- @return Skybox#Skybox ret (return value: cc.Skybox)
|
2015-04-02 09:51:14 +08:00
|
|
|
|
2015-03-31 12:01:57 +08:00
|
|
|
--------------------------------
|
|
|
|
-- draw Skybox object
|
|
|
|
-- @function [parent=#Skybox] draw
|
|
|
|
-- @param self
|
|
|
|
-- @param #cc.Renderer renderer
|
|
|
|
-- @param #mat4_table transform
|
|
|
|
-- @param #unsigned int flags
|
|
|
|
-- @return Skybox#Skybox self (return value: cc.Skybox)
|
|
|
|
|
2015-07-07 08:44:47 +08:00
|
|
|
--------------------------------
|
|
|
|
-- init Skybox.
|
|
|
|
-- @function [parent=#Skybox] init
|
|
|
|
-- @param self
|
|
|
|
-- @return bool#bool ret (return value: bool)
|
|
|
|
|
2015-05-05 11:31:53 +08:00
|
|
|
--------------------------------
|
|
|
|
-- Constructor.
|
|
|
|
-- @function [parent=#Skybox] Skybox
|
|
|
|
-- @param self
|
|
|
|
-- @return Skybox#Skybox self (return value: cc.Skybox)
|
|
|
|
|
2015-03-31 12:01:57 +08:00
|
|
|
return nil
|