mirror of https://github.com/axmolengine/axmol.git
50 lines
1.2 KiB
Lua
50 lines
1.2 KiB
Lua
|
|
||
|
--------------------------------
|
||
|
-- @module BaseLight
|
||
|
-- @extend Node
|
||
|
-- @parent_module cc
|
||
|
|
||
|
--------------------------------
|
||
|
-- light enabled getter and setter.
|
||
|
-- @function [parent=#BaseLight] setEnabled
|
||
|
-- @param self
|
||
|
-- @param #bool enabled
|
||
|
|
||
|
--------------------------------
|
||
|
-- intensity getter and setter
|
||
|
-- @function [parent=#BaseLight] getIntensity
|
||
|
-- @param self
|
||
|
-- @return float#float ret (return value: float)
|
||
|
|
||
|
--------------------------------
|
||
|
--
|
||
|
-- @function [parent=#BaseLight] isEnabled
|
||
|
-- @param self
|
||
|
-- @return bool#bool ret (return value: bool)
|
||
|
|
||
|
--------------------------------
|
||
|
--
|
||
|
-- @function [parent=#BaseLight] getLightType
|
||
|
-- @param self
|
||
|
-- @return int#int ret (return value: int)
|
||
|
|
||
|
--------------------------------
|
||
|
--
|
||
|
-- @function [parent=#BaseLight] setLightFlag
|
||
|
-- @param self
|
||
|
-- @param #int flag
|
||
|
|
||
|
--------------------------------
|
||
|
--
|
||
|
-- @function [parent=#BaseLight] setIntensity
|
||
|
-- @param self
|
||
|
-- @param #float intensity
|
||
|
|
||
|
--------------------------------
|
||
|
-- light flag getter and setter
|
||
|
-- @function [parent=#BaseLight] getLightFlag
|
||
|
-- @param self
|
||
|
-- @return int#int ret (return value: int)
|
||
|
|
||
|
return nil
|