summaryrefslogtreecommitdiff
path: root/meta/3rd/Cocos4.0/cc.Bundle3D.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.Bundle3D.lua
parent6839cd530c53387df4d5db61f0cb2e5ed1a87298 (diff)
downloadlua-language-server-52097b6ee7cc8f5a770eb851902560b5b8592218.zip
add meta/3rd with acknowledgement
Diffstat (limited to 'meta/3rd/Cocos4.0/cc.Bundle3D.lua')
-rw-r--r--meta/3rd/Cocos4.0/cc.Bundle3D.lua58
1 files changed, 58 insertions, 0 deletions
diff --git a/meta/3rd/Cocos4.0/cc.Bundle3D.lua b/meta/3rd/Cocos4.0/cc.Bundle3D.lua
new file mode 100644
index 00000000..faa71b3c
--- /dev/null
+++ b/meta/3rd/Cocos4.0/cc.Bundle3D.lua
@@ -0,0 +1,58 @@
+
+---@class cc.Bundle3D
+local Bundle3D={ }
+cc.Bundle3D=Bundle3D
+
+
+
+
+---* load a file. You must load a file first, then call loadMeshData, loadSkinData, and so on<br>
+---* param path File to be loaded<br>
+---* return result of load
+---@param path string
+---@return boolean
+function Bundle3D:load (path) end
+---* load skin data from bundle<br>
+---* param id The ID of the skin, load the first Skin in the bundle if it is empty
+---@param id string
+---@param skindata cc.SkinData
+---@return boolean
+function Bundle3D:loadSkinData (id,skindata) end
+---*
+---@return self
+function Bundle3D:clear () end
+---*
+---@param materialdatas cc.MaterialDatas
+---@return boolean
+function Bundle3D:loadMaterials (materialdatas) end
+---*
+---@param nodedatas cc.NodeDatas
+---@return boolean
+function Bundle3D:loadNodes (nodedatas) end
+---* load material data from bundle<br>
+---* param id The ID of the animation, load the first animation in the bundle if it is empty
+---@param id string
+---@param animationdata cc.Animation3DData
+---@return boolean
+function Bundle3D:loadAnimationData (id,animationdata) end
+---* get define data type<br>
+---* param str The type in string
+---@param str string
+---@return int
+function Bundle3D:parseSamplerAddressMode (str) end
+---*
+---@param bundle cc.Bundle3D
+---@return self
+function Bundle3D:destroyBundle (bundle) end
+---* create a new bundle, destroy it when finish using it
+---@return self
+function Bundle3D:createBundle () end
+---* get define data type<br>
+---* param str The type in string
+---@param str string
+---@param size int
+---@return int
+function Bundle3D:parseGLDataType (str,size) end
+---*
+---@return self
+function Bundle3D:Bundle3D () end \ No newline at end of file