• 首页
  • 动态
  • 案例
  • 引擎社区
  • API
  • 文档
  • 示例
  • 引擎下载

大约有 2,543 项符合查询结果, 库内数据总量为 31,580 项。 (搜索耗时: 0.0062 秒)

411. laya.ani.bone.BoneSlot_API3.0 [ 80%]

... BoneSlot Index Properties attachmentName currDisplayData currSlotData currTexture displayIndex name parent srcDisplayIndex templet type Methods copy draw drawBonePoint getMatrix replaceDisplayByIndex replaceDisplayByName replaceSkin setParentMatrix showDisplayByIndex showDisplayByName showSlotData ...

来源: Laya3.0_api 发布时间: 20231115

412. laya.spine.SpineTexture_API3.0 [ 80%]

...tected All Inherited Externals Only exported Menu Globals "laya/spine/SpineTexture" SpineTexture Class SpineTexture Hierarchy SpineTexture Index Constructors constructor Properties realTexture Methods convertWrapMode getImage setFilters setWraps Constructors constructor new SpineTexture(tex: Texture...

来源: Laya3.0_api 发布时间: 20231115

413. 官网二进制图片做法苹果系统失败 [ 80%]

...e 这里要用HTMLImage.create; htmlImg.onload = function():void { var t:Texture =new Texture(htmlImg); } 官网二进制图片的做法,苹果系统不会执行onload,会onerror,安卓就正常有人遇到过吗? 2017-06-08 添加评论 免费帖 --> 分享 微博 QZONE 微信 没有找...

来源: Laya_社区 发布时间: 20170608

414. 关于微信小游戏关系链的问题 [ 80%]

...s,function(){ console.log(Browser.window.sharedCanvas)       var rankTexture=new Texture(Browser.window.sharedCanvas);       rankTexture.bitmap.alwaysChange=true; console.log(rankTexture)       LayaUISample.scoreview.graphics.drawTexture(rankTexture,5,78,rankTexture.width,rankTextu...

来源: Laya_社区 发布时间: 20180310

415. 闪屏,报错信息如下 [ 80%]

...,报错信息如下 02-05 16:53:06.997 24700-24824/? E/chromium: [ERROR:texture_manager.cc(2971)] [.Offscreen-For-WebGL-0x7c8dec00]GL ERROR :0x0505 : glTexImage2D: <- error from previous GL command 02-05 16:53:07.013 24700-24700/? I/chromium: [INFO:CONSOLE(0)] "[.Offscreen-For-WebGL-0x7c8dec00]...

来源: Laya_社区 发布时间: 20180205

416. 如何使用rendertexture获取相机渲染的动态图片? [ 80%]

如何使用rendertexture获取相机渲染的动态图片? 具体的需求是camera获取到的rendertexture属性,然后想赋值给一个图片,可以动态的反应相机渲染到的图片的动态改变。最好能给出教程或者代码实现,因为Laya的资料实在是太少了... 20...

来源: Laya_社区 发布时间: 20180113

417. 清理资源相关问题! [ 79%]

...然后设置enableMerageInAtlas = false即可。 代码如下所示:var texture:Texture = Laya.loader.getRes(url); texture.bitmap.enableMerageInAtlas = false;     2017-08-21 1 条评论 免费帖 --> 分享 微博 QZONE 微信 没有找到相关结果 已邀请: 与内容相关的链接 提交 ...

来源: Laya_社区 发布时间: 20170821

418. 代码里能控制图片的锚点吗? [ 79%]

...r = "role/herohead"+Hero.getHeadID()+".png"; m_herohead = new Image(); var texture = Laya.loader.getRes(heroidstr); m_herohead.graphics.drawTexture(texture); m_herohead.anchorX = 0.5; m_herohead.anchorY = 1; m_herohead.pos(m_heroPosX,m_heroPosY); m_mapbg.addChild(m_herohead);     我在代码里...

来源: Laya_社区 发布时间: 20171109

419. 2.0 添加场景雾之后 粒子特效离原点越远 效果越淡 [ 79%]

...n#endif\n\nvarying float v_Discard;\nvarying vec4 v_Color;\nvarying vec2 v_TextureCoordinate;\nuniform sampler2D u_texture;\nuniform vec4 u_Tintcolor;\n\n#ifdef RENDERMODE_MESH\n  varying vec4 v_MeshColor;\n#endif\n\n#ifdef FOG\n   varying vec3 v_PositionWorld;\n uniform vec3 u_CameraPosition;...

来源: Laya_社区 发布时间: 20190412

420. LayaNative2.0 beta3 单像素图片平铺绘制失败 [ 79%]

LayaNative2.0 beta3 单像素图片平铺绘制失败 var tex:Texture = Laya.loader.getRes("res/repeattest.png");// 此图宽度只有1像素,横着平铺绘制无法显示 p.graphics.fillTexture(tex, 0, 0, 100, tex.height);// 无法显示 p.graphics.drawTexture(tex, 0, 0, 100, tex.height);// 正...

来源: Laya_社区 发布时间: 20181025