summaryrefslogtreecommitdiff
path: root/meta/3rd/Cocos4.0/library/cc.PointLight.lua
diff options
context:
space:
mode:
author最萌小汐 <sumneko@hotmail.com>2021-07-05 20:51:43 +0800
committer最萌小汐 <sumneko@hotmail.com>2021-07-05 20:51:43 +0800
commit8fefb8f3e100976235dc83d6ae3785952d11c710 (patch)
tree459117e6cecc70824273c4d32285cb6eec468098 /meta/3rd/Cocos4.0/library/cc.PointLight.lua
parentb6c18d05410fd4ca209f9c34e0992caf40cf3701 (diff)
downloadlua-language-server-8fefb8f3e100976235dc83d6ae3785952d11c710.zip
cleanup
Diffstat (limited to 'meta/3rd/Cocos4.0/library/cc.PointLight.lua')
-rw-r--r--meta/3rd/Cocos4.0/library/cc.PointLight.lua32
1 files changed, 32 insertions, 0 deletions
diff --git a/meta/3rd/Cocos4.0/library/cc.PointLight.lua b/meta/3rd/Cocos4.0/library/cc.PointLight.lua
new file mode 100644
index 00000000..f041d240
--- /dev/null
+++ b/meta/3rd/Cocos4.0/library/cc.PointLight.lua
@@ -0,0 +1,32 @@
+---@meta
+
+---@class cc.PointLight :cc.BaseLight
+local PointLight={ }
+cc.PointLight=PointLight
+
+
+
+
+---* get or set range
+---@return float
+function PointLight:getRange () end
+---*
+---@param range float
+---@return point_table
+function PointLight:setRange (range) end
+---* Creates a point light.<br>
+---* param position The light's position<br>
+---* param color The light's color.<br>
+---* param range The light's range.<br>
+---* return The new point light.
+---@param position vec3_table
+---@param color color3b_table
+---@param range float
+---@return point_table
+function PointLight:create (position,color,range) end
+---*
+---@return int
+function PointLight:getLightType () end
+---*
+---@return point_table
+function PointLight:PointLight () end \ No newline at end of file