diff options
author | 最萌小汐 <sumneko@hotmail.com> | 2021-07-05 20:51:43 +0800 |
---|---|---|
committer | 最萌小汐 <sumneko@hotmail.com> | 2021-07-05 20:51:43 +0800 |
commit | 8fefb8f3e100976235dc83d6ae3785952d11c710 (patch) | |
tree | 459117e6cecc70824273c4d32285cb6eec468098 /meta/3rd/Cocos4.0/library/cc.Bundle3D.lua | |
parent | b6c18d05410fd4ca209f9c34e0992caf40cf3701 (diff) | |
download | lua-language-server-8fefb8f3e100976235dc83d6ae3785952d11c710.zip |
cleanup
Diffstat (limited to 'meta/3rd/Cocos4.0/library/cc.Bundle3D.lua')
-rw-r--r-- | meta/3rd/Cocos4.0/library/cc.Bundle3D.lua | 59 |
1 files changed, 59 insertions, 0 deletions
diff --git a/meta/3rd/Cocos4.0/library/cc.Bundle3D.lua b/meta/3rd/Cocos4.0/library/cc.Bundle3D.lua new file mode 100644 index 00000000..918a6770 --- /dev/null +++ b/meta/3rd/Cocos4.0/library/cc.Bundle3D.lua @@ -0,0 +1,59 @@ +---@meta + +---@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 |