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.PointLight.lua | 31 +++++++++++++++++++++++++++++++ 1 file changed, 31 insertions(+) create mode 100644 meta/3rd/Cocos4.0/cc.PointLight.lua (limited to 'meta/3rd/Cocos4.0/cc.PointLight.lua') 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.
+---* param position The light's position
+---* param color The light's color.
+---* param range The light's range.
+---* 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 -- cgit v1.2.3