summaryrefslogtreecommitdiff
path: root/meta/3rd/Cocos4.0/cc.DirectionLight.lua
diff options
context:
space:
mode:
author最萌小汐 <sumneko@hotmail.com>2021-02-22 21:05:36 +0800
committer最萌小汐 <sumneko@hotmail.com>2021-02-22 21:05:36 +0800
commit52097b6ee7cc8f5a770eb851902560b5b8592218 (patch)
tree6dcbb53ac0104912e950747a37aac6b25039e862 /meta/3rd/Cocos4.0/cc.DirectionLight.lua
parent6839cd530c53387df4d5db61f0cb2e5ed1a87298 (diff)
downloadlua-language-server-52097b6ee7cc8f5a770eb851902560b5b8592218.zip
add meta/3rd with acknowledgement
Diffstat (limited to 'meta/3rd/Cocos4.0/cc.DirectionLight.lua')
-rw-r--r--meta/3rd/Cocos4.0/cc.DirectionLight.lua33
1 files changed, 33 insertions, 0 deletions
diff --git a/meta/3rd/Cocos4.0/cc.DirectionLight.lua b/meta/3rd/Cocos4.0/cc.DirectionLight.lua
new file mode 100644
index 00000000..887dc206
--- /dev/null
+++ b/meta/3rd/Cocos4.0/cc.DirectionLight.lua
@@ -0,0 +1,33 @@
+
+---@class cc.DirectionLight :cc.BaseLight
+local DirectionLight={ }
+cc.DirectionLight=DirectionLight
+
+
+
+
+---* Returns the Direction in parent.
+---@return vec3_table
+function DirectionLight:getDirection () end
+---* Returns direction in world.
+---@return vec3_table
+function DirectionLight:getDirectionInWorld () end
+---* Sets the Direction in parent.<br>
+---* param dir The Direction in parent.
+---@param dir vec3_table
+---@return self
+function DirectionLight:setDirection (dir) end
+---* Creates a direction light.<br>
+---* param direction The light's direction<br>
+---* param color The light's color.<br>
+---* return The new direction light.
+---@param direction vec3_table
+---@param color color3b_table
+---@return self
+function DirectionLight:create (direction,color) end
+---*
+---@return int
+function DirectionLight:getLightType () end
+---*
+---@return self
+function DirectionLight:DirectionLight () end \ No newline at end of file