summaryrefslogtreecommitdiff
path: root/meta/3rd/Cocos4.0/cc.BaseLight.lua
diff options
context:
space:
mode:
Diffstat (limited to 'meta/3rd/Cocos4.0/cc.BaseLight.lua')
-rw-r--r--meta/3rd/Cocos4.0/cc.BaseLight.lua33
1 files changed, 33 insertions, 0 deletions
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 ,<br>
+---* 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