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

大约有 208 项符合查询结果, 库内数据总量为 30,584 项。 (搜索耗时: 0.0042 秒)

21. 疑是convertScreenCoordToOrthographicCoord坐标转换有误差 [ 55%]

... 相对于这个元素的坐标 加载一个txt文件 getRes出来类型为string 能转换成数组吗 请问在2.0版本的js中,如何获取mouse_move的鼠标坐标 我在转换的时候,项目报错了,报错指向了laya引擎的类代码,我能对laya的引擎进行修改吗? 按钮...

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

22. 请教下 如何把图片 手指划到的地方去除 生成一个png? [ 52%]

...= "destination-out";         可是按照API说法:   blendMode : String 指定要使用的混合模式。目前只支持"lighter"。    另外:destination-out在canvas下样式正常,在webgl下是错误的。   canvas下:   webgl下:       2017-12-14 0 0 分享 微博 QZONE...

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

23. This image has just been released and needs to be restored now [ 52%]

...题,显示conchShader找不到和Status bar could not find cached time string image. 然后直接黑屏!!!!!! 转换swf使用图集模式,在运行swf的时候报res/swf/image/2.png:未加载到该图片资源 怎么给list中数据源box,box里面还有子元素image,我怎么...

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

24. 二进制图片(TypeScript-2D进阶篇(TS)-游戏加载策略) [ 51%]

...te(this,this.showImg,[url]),null,Laya.Loader.IMAGE); } private showImg(url:string):void{ var t:Laya.Texture = Laya.loader.getRes(url); var ape:Laya.Sprite = new Laya.Sprite(); ape.graphics.drawTexture(t,0,0); Laya.stage.addChild(ape); ape.pos(200,0); } ``` 第三种我们直接创建一个纹理来 ...

来源: Laya2.0_文档 发布时间: 20210714

25. Sprite.drawToCanvas方法有bug,同一个sprite对象子节点发生变化重新画的时候生成的数据出错 [ 50%]

...width, bg.height,0,0); var canvas:* = htmlCanvas1.getCanvas(); var imgData:String = canvas.toDataURL("image/jpeg"); 代码是这样的,情况是我这个bg内的子节点发生变化后重新生成图片的base64数据的时候发现数据都是黑屏的数据 2017-09-21 添加评论 免费帖 -->...

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

26. laya.display.AnimationBase [ 45%]

...获取。设置为true,对性能有一定影响。 Sprite blendMode : String指定要使用的混合模式。目前只支持"lighter"。Sprite cacheAs : String 指定显示对象是否缓存为静态图像,cacheAs时,子对象发生变化,会自动重新缓存,同时也可以手动调用...

来源: Laya2.0_api 发布时间: 20190513

27. laya.d3.utils.Utils3D_API3.0 [ 45%]

...阵数组的偏移。 Returns void Static getURLVerion getURLVerion(url: string): string Defined in laya/d3/utils/Utils3D.ts:482 获取URL版本字符。 Parameters url: string Returns string Static mulMatrixByArray mulMatrixByArray(leftArray: Float32Array, leftOffset: number, rightArray: Float32Arr...

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

28. ENOENT: no such file or directory, open 'D:\layaidehello eleasewxgameLayaSample.js.map [ 44%]

..._easy_perform failed和JCFileRes::onDownloadError file error fatal error: 'string' file not found Unity3d导出模型时 报错:LayaAir3D UnityPlugin prefab can't export You should check the texture file format add shader include file err, has add:Lighting.glsl,这个问题是什么,我就一...

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

29. laya.utils.PerfHUD [ 43%]

...获取。设置为true,对性能有一定影响。 Sprite blendMode : String指定要使用的混合模式。目前只支持"lighter"。Sprite cacheAs : String 指定显示对象是否缓存为静态图像,cacheAs时,子对象发生变化,会自动重新缓存,同时也可以手动调用...

来源: Laya2.0_api 发布时间: 20190513

30. laya.map.TileAniSprite [ 43%]

...获取。设置为true,对性能有一定影响。 Sprite blendMode : String指定要使用的混合模式。目前只支持"lighter"。Sprite cacheAs : String 指定显示对象是否缓存为静态图像,cacheAs时,子对象发生变化,会自动重新缓存,同时也可以手动调用...

来源: Laya2.0_api 发布时间: 20190513