axmol/cocos/scripting/lua-bindings/auto/api/AmbientLight.lua

23 lines
574 B
Lua
Raw Normal View History

--------------------------------
-- @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