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

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

51. laya.ani.bone.Skeleton [ 75%]

...但是可以通过调用 reCache 方法手动刷新。 注意: 1.Sprite texture : Texture设置一个Texture实例,并显示此图片(如果之前有其他绘制,则会被清除掉)。等同于graphics.clear();graphics.drawTexture()Sprite timer : Timer时间控制器,默认为Laya.time...

来源: laya_api 发布时间: 20170929

52. 分享:截屏! [ 75%]

...Event;     import laya.resource.HTMLCanvas;     import laya.resource.Texture;     import laya.utils.Browser;     import laya.webgl.WebGL;          public class LayaAirDemo {         private var sp:Sprite ;         public function LayaAirDemo() {             //...

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

53. laya.particle.Particle2D [ 75%]

...但是可以通过调用 reCache 方法手动刷新。 注意: 1.Sprite texture : Texture设置一个Texture实例,并显示此图片(如果之前有其他绘制,则会被清除掉)。等同于graphics.clear();graphics.drawTexture()Sprite timer : Timer时间控制器,默认为Laya.time...

来源: laya_api 发布时间: 20170929

54. 3D场景环境设置 · LayaAir3.3 · 引擎文档 · LAYABOX [ 75%]

...数据要更少,所以这种天空的性能要更好一些。 Panoramic Texture:天空盒的纹理贴图(一张球形模型对应的贴图) 2.1.1 立方体天空 立方体天空盒用到的6张可以无缝相接的贴图参考,图2-5所示 (图2-5) 2.1.2 球形天空 是一个球形模...

来源: Laya3.0_文档 发布时间: 20251010

55. CPU优化方式(TypeScript-2D进阶篇(TS)-性能优化) [ 74%]

...ader.load("res/apes/monkey2.png",Laya.Handler.create(this,function() { var texture=Laya.loader.getRes("res/apes/monkey2.png"); var sp=new Laya.Sprite(); sp.graphics.drawTexture(texture,0,0); sp.size(texture.width,texture.height); Laya.stage.addChild(sp); })); ``` 使用Graphics.drawTexture并不会...

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

56. getPixels中的bug [ 74%]

getPixels中的bug 引擎版本 2.1.0beta, 错误文件:laya.core.js Texture中的 getTexturePixels方法有问题,uv是null 附件 : --> 2019-06-25 添加评论 免费帖 --> 分享 微博 QZONE 微信 没有找到相关结果 已邀请: 与内容相关的链接 提交 2 个回复 qwe822095...

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

57. 2D拖尾渲染器 · LayaAir3.3 · 引擎文档 · LAYABOX [ 73%]

...变色,会与拖尾的颜色混合叠加形成最终颜色 纹理模式(textureMode) 控制纹理应如何应用于拖尾。有平铺(Stretch)和拉伸(Tile)两种模式 纹理(texture) 应用于拖尾的纹理,具体效果受纹理模式(textureMode)的影响。 1.3属性讲解 下面我们对T...

来源: Laya3.0_文档 发布时间: 20251010

58. 分享一个Shader版的CoolDown实现 [ 73%]

...家有兴趣的看看 正常渲染效果   alpha遮罩   用法: var texture: Laya.Texture = Laya.Loader.getRes("progress.png"); this.spe = new coolDownSprite(); this.spe.init(texture); //this.spe.initWithoutTexture(128, 128); this.spe.pos(300, 350); this.spe.setProgress(this.progress); Laya.sta...

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

59. laya.d3.core.MeshTerrainSprite3D [ 73%]

...图属性。 MeshTerrainSprite3D  createFromMeshAndHeightMap(mesh:Mesh, texture:Texture2D, minHeight:Number, maxHeight:Number, name:String = null):MeshTerrainSprite3D[static] 从网格创建一个TerrainMeshSprite3D实例、图片读取高度图属性。 MeshTerrainSprite3D destroy(destroyChild:B...

来源: laya_api 发布时间: 20170929

60. 为什么mc取得的时候有时候mc.getBounds().width;有值有时候是0 [ 73%]

...f null的错误 IDE打开某个场景时弹处弹框报错:对[Dialog]的texture属性赋值时遇错误:cannot read property 'width' of null 问题状态 最新活动: 2016-12-27 22:23 浏览: 1478 关注: 2 人 c416288806 • 2017-03-14 21:06 有遇到类似的,加载过事件了,有时候...

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