mirror of https://github.com/axmolengine/axmol.git
23 lines
574 B
Lua
23 lines
574 B
Lua
|
|
--------------------------------
|
|
-- @module AmbientLight
|
|
-- @extend BaseLight
|
|
-- @parent_module cc
|
|
|
|
--------------------------------
|
|
-- Creates a ambient light.<br>
|
|
-- param color The light's color.<br>
|
|
-- return The new ambient light.
|
|
-- @function [parent=#AmbientLight] create
|
|
-- @param self
|
|
-- @param #color3b_table color
|
|
-- @return AmbientLight#AmbientLight ret (return value: cc.AmbientLight)
|
|
|
|
--------------------------------
|
|
--
|
|
-- @function [parent=#AmbientLight] getLightType
|
|
-- @param self
|
|
-- @return int#int ret (return value: int)
|
|
|
|
return nil
|