大约有 2,531 项符合查询结果, 库内数据总量为 30,778 项。 (搜索耗时: 0.0070 秒)
Laya_社区(1345) Laya3.0_api(638) Laya2.0_api(288) laya_api(192) Laya2.0_文档(42) Laya_示例(11) Laya3.0_文档(9) Laya2.0_示例(6)
...ar svg = new Blob([data], {type: 'image/svg+xml'}); var url = DOMURL.createObjectURL(svg); img.src = url; img.style.position ="absolute"; img.style.zIndex = 99999 document.body.appendChild(img); ``` 怎么运行呢?打开谷歌浏览器,随便打开你一个空白网页,F12,把上面的代...
来源: Laya2.0_文档 发布时间: 20210715
...ts的两段改一下写法兼容一下就好了 if (typeof exports === 'object' && typeof module === 'object') module.exports = XMLReader; else if (typeof define === 'function' && define['amd']) define([], function () { return XMLReader; }); else if (typeof exports...
来源: Laya_社区 发布时间: 20191011
...teRenderUseCacheCount Methods hide render show showToggle updateEngineData Object literals BlitDrawCall BufferMemory CMDDrawCall DepthCastDrawCall DrawCall FPSStatUIParams FrustumCulling GPUMemory InstanceDrawCall NodeStatUIParams OpaqueDrawCall ParticleRenderNode RenderNode RenderTextureMemory Skin...
来源: Laya3.0_api 发布时间: 20231115
...n LoadingDemo() { Laya.init(550,400); //预加载loading条资源 var pro1:Object={url:"loads/progressBar.png",type:Loader.IMAGE}; var pro2:Object={url:"loads/progressBar$bar.png",type:Loader.IMAGE}; var proArr:Array=; proArr.push(pro1,pro2); Laya.loader.load(proArr,Handler.create(this,onProLoaded))...
来源: Laya_社区 发布时间: 20160509
...race("测试1 = " + _bottomBtn.testNum + "-" + _bottomBtn);// 测试1 = 1-[object Object] this.removeChildren(); trace("测试2 = " + _bottomBtn.testNum + "-" + _bottomBtn);// 测试2 = 1-[object Object] this.destroyChildren(); ...
来源: Laya_社区 发布时间: 20170328
...on: Cannot cast from source type to destination type. r.a (UnityEngine.GameObject A_0, .i A_1, Boolean A_2) r.a (UnityEngine.GameObject A_0, .i A_1, System.Collections.Generic.List`1 A_2) r.a (UnityEngine.GameObject A_0, .i A_1, .i A_2, Vector3 A_3, Quaternion A_4, Vector3 A_5, System.String& A_...
来源: Laya_社区 发布时间: 20190429
...lic class LayaAir3D { private var box:MeshSprite3D; private var sphereBody:Object; private var world:Object; private var CANNON:Object; public function LayaAir3D() { //初始化引擎 Laya3D.init(0, 0, true); //适配模式 Laya.stage.scaleMode=Stage.SCALE_FULL; Laya.stage.screenMode=Stage.SCREEN_VE...
来源: Laya_社区 发布时间: 20170331
1.01unity转换工具,dds贴图转不了 Object[] parameters, System.Globalization.CultureInfo culture) (at /Users/builduser/buildslave/mono/build/mcs/class/corlib/System.Reflection/MonoMethod.cs:222) Rethrow as TargetInvocationException: Exception has been thrown by the target of an invocation. ...
来源: Laya_社区 发布时间: 20170514
...ic/Dictionary.cs:150) LayaExport.DataManager.saveLaniData (UnityEngine.GameObject gameObject, .JSONObject obj) LayaExport.DataManager.getAnimatorComponentData (UnityEngine.GameObject gameObject, .JSONObject component, System.Collections.Generic.List`1 linkSprite) LayaExport.DataManager.getComponents...
来源: Laya_社区 发布时间: 20171206
...Packagelaya.display.cmdClasspublic class DrawPathCmdInheritanceDrawPathCmd Object 根据路径绘制矢量图形 Public Properties PropertyDefined By brush : Object (可选)刷子定义,支持以下设置{fillStyle:"#FF0000"}。 DrawPathCmd paths : Array 路径集合,路径支持以...
来源: Laya2.0_api 发布时间: 20190513