summaryrefslogtreecommitdiff
path: root/meta/3rd/Cocos4.0/cc.PointLight.lua
diff options
context:
space:
mode:
Diffstat (limited to 'meta/3rd/Cocos4.0/cc.PointLight.lua')
-rw-r--r--meta/3rd/Cocos4.0/cc.PointLight.lua31
1 files changed, 31 insertions, 0 deletions
diff --git a/meta/3rd/Cocos4.0/cc.PointLight.lua b/meta/3rd/Cocos4.0/cc.PointLight.lua
new file mode 100644
index 00000000..447fba09
--- /dev/null
+++ b/meta/3rd/Cocos4.0/cc.PointLight.lua
@@ -0,0 +1,31 @@
+
+---@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