大约有 53 项符合查询结果, 库内数据总量为 31,722 项。 (搜索耗时: 0.0039 秒)
...QZONE 微信 nate(杨纯) 赞同来自: 因为你是闹闹啊 if (tmpDat instanceof Laya.SpineTemplet) { let obj: object = tmpDat["_textures"]; for (let key in obj) { if (obj.hasOwnProperty(key)) { let texture = obj[key] as Laya.SpineTe...
来源: Laya_社区 发布时间: 20240429
...--begin------------------------------ if (property instanceof Material) { switch (node.type) { case KeyFrameValueType.Float: property = property.getFloat(node.getProper...
来源: Laya_社区 发布时间: 20240517
...esponse}`, response.status, errorResponse ); } } catch (error) { if (error instanceof HttpException) { throw error; } else if (error instanceof Error) { throw new Error(`Network error: ${error.message}`); } else { throw new Error("Unknown network error occurred"); } } }); } 大概报错。联系方...
来源: Laya_社区 发布时间: 20251115
...dMeshes(meshSprite); }); function handleSharedMeshes( meshSP ){ if( meshSP instanceof Laya.MeshSprite3D ){ var mesh = meshSP.meshFilter.sharedMesh; mesh.once(Laya.Event.LOADED, null, function (mesh) { for (var i = 0; i < meshSP.meshRender.sharedMaterials.length; i++) { var material = meshSP.meshR...
来源: Laya_社区 发布时间: 20161021
...33 js中有is这个东西吗? 陆仁毅 • 2019-09-17 10:22 as3会编成instanceof
来源: Laya_社区 发布时间: 20190912
...用changeText后,_fast_filltext函数中,data会变成文字,不是 instanceof WordText, isWT会变成false,会导致每一帧都会计算this.charRender.getWidth(this.fontStr, str), 在微信小游戏的真机上,会影响性能。 2019-11-26 添加评论 免费帖 --> 分享 微博 Q...
来源: Laya_社区 发布时间: 20191126
... null; } if (typeof (param) === "function") complete = param; if (progress instanceof Handler) { let h = progress; progress = (value: number) => h.runWith(value); } // @ts-ignore return Scene._load(url, progress).then(scene => { scene.open(closeOther, param); if (complete instanceof Handler) c...
来源: Laya_社区 发布时间: 20250609
...ap; for (let k in idResourcesMap) { let res = idResourcesMap[k]; if (!(res instanceof RenderTexture) && !res.lock && res._referenceCount === 0) res.destroy(); } } 2019-10-13 0 0 分享 微博 QZONE 微信 为什么被折叠? 0 个回复被折叠 要回复问题请先登录 发起人 ...
来源: Laya_社区 发布时间: 20190621
....stage.on(Laya.Event.CLICK, this, function(res:Laya.Event){ if (res.target instanceof Laya.Button){ // click button } }) 2018-12-01 0 0 分享 微博 QZONE 微信 为什么被折叠? 0 个回复被折叠 要回复问题请先登录 发起人 183*****288 相关问题 两个对象new了一个相同的...
来源: Laya_社区 发布时间: 20180706
...void{ this.shaderValue.iTime += this.animeValue; let webgl2d = context.ctx instanceof Laya.WebGLContext2D if( webgl2d) (context.ctx as Laya.WebGLContext2D).setIBVB( x, y, this.iBuffer, this.vBuffer, this.iNum,null, WaterFlowShader.shader, this.shaderValue, 0, 0); } 2018-07-12 添加评论 免费帖 ...
来源: Laya_社区 发布时间: 20180712