From 52097b6ee7cc8f5a770eb851902560b5b8592218 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=E6=9C=80=E8=90=8C=E5=B0=8F=E6=B1=90?= Date: Mon, 22 Feb 2021 21:05:36 +0800 Subject: add meta/3rd with acknowledgement --- meta/3rd/Cocos4.0/cc.BaseLight.lua | 33 +++++++++++++++++++++++++++++++++ 1 file changed, 33 insertions(+) create mode 100644 meta/3rd/Cocos4.0/cc.BaseLight.lua (limited to 'meta/3rd/Cocos4.0/cc.BaseLight.lua') diff --git a/meta/3rd/Cocos4.0/cc.BaseLight.lua b/meta/3rd/Cocos4.0/cc.BaseLight.lua new file mode 100644 index 00000000..3fc6f7a7 --- /dev/null +++ b/meta/3rd/Cocos4.0/cc.BaseLight.lua @@ -0,0 +1,33 @@ + +---@class cc.BaseLight :cc.Node +local BaseLight={ } +cc.BaseLight=BaseLight + + + + +---* light enabled getter and setter. +---@param enabled boolean +---@return self +function BaseLight:setEnabled (enabled) end +---* intensity getter and setter +---@return float +function BaseLight:getIntensity () end +---* +---@return boolean +function BaseLight:isEnabled () end +---* Get the light type,light type MUST be one of LightType::DIRECTIONAL ,
+---* LightType::POINT, LightType::SPOT, LightType::AMBIENT. +---@return int +function BaseLight:getLightType () end +---* +---@param flag int +---@return self +function BaseLight:setLightFlag (flag) end +---* +---@param intensity float +---@return self +function BaseLight:setIntensity (intensity) end +---* light flag getter and setter +---@return int +function BaseLight:getLightFlag () end \ No newline at end of file -- cgit v1.2.3