-------------------------------- -- @module BaseLight -- @extend Node -- @parent_module cc -------------------------------- -- light enabled getter and setter. -- @function [parent=#BaseLight] setEnabled -- @param self -- @param #bool enabled -- @return BaseLight#BaseLight self (return value: cc.BaseLight) -------------------------------- -- 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) -------------------------------- -- Get the light type,light type MUST be one of LightType::DIRECTIONAL ,
-- LightType::POINT, LightType::SPOT, LightType::AMBIENT. -- @function [parent=#BaseLight] getLightType -- @param self -- @return int#int ret (return value: int) -------------------------------- -- -- @function [parent=#BaseLight] setLightFlag -- @param self -- @param #int flag -- @return BaseLight#BaseLight self (return value: cc.BaseLight) -------------------------------- -- -- @function [parent=#BaseLight] setIntensity -- @param self -- @param #float intensity -- @return BaseLight#BaseLight self (return value: cc.BaseLight) -------------------------------- -- light flag getter and setter -- @function [parent=#BaseLight] getLightFlag -- @param self -- @return int#int ret (return value: int) return nil