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

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

21. 3D性能优化问题 [ 76%]

3D性能优化问题 3D中sprite drawcall shader他们各代表什么,之间的关系是什么?从哪些方面可以优化? 2017-12-01 添加评论 免费帖 --> 分享 微博 QZONE 微信 没有找到相关结果 已邀请: 与内容相关的链接 提交 1 个回复 wudi199553 赞同来自:...

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

22. CPU优化方式(JavaScript-2D进阶篇(JS)-性能优化) [ 76%]

...。 1. 使用getBounds/ getGraphicBounds。 ```javascript var sp=new Laya.Sprite(); sp.graphics.drawRect(0,0,100,100,"#FF0000"); var bounds:Laya.Rectangle=sp.getGraphicBounds(); Laya.stage.addChild(sp); ``` getBounds可以满足多数多数需求,但由于其需要计算边界,适合频繁调...

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

23. 3D粒子特效初始化卡顿 [ 75%]

...出需求效果,官方可有解决方案,以下为示例代码: var sprite= Laya.loader.getRes(this._stlurl) as Laya.Sprite3D; this.skill = Laya.Sprite3D.instantiate(sprite); target.addChild(this.skill); this.Play();   这种卡顿在PC谷歌浏览器上明显,但手机上就很明显了...

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

24. laya.map.MapLayer [ 75%]

...ds | Events Packagelaya.mapClasspublic class MapLayerInheritanceMapLayer Sprite Node EventDispatcher Object 地图支持多层渲染(例如,地表层,植被层,建筑层等) 本类就是层级类 Public Properties Hide Inherited Public Properties Show Inherited Public Properties Propert...

来源: laya_api 发布时间: 20170929

25. laya.ui.Panel [ 75%]

...vents Packagelaya.uiClasspublic class PanelInheritancePanel Box Component Sprite Node EventDispatcher Object Panel 是一个面板容器类。 Public Properties Hide Inherited Public Properties Show Inherited Public Properties PropertyDefined By alpha : Number透明度,值为0-1,默认值为1...

来源: laya_api 发布时间: 20170929

26. IDE设置资源打包和打包的问题 [ 74%]

...E的帧属性面板见了 ide 2.4 layaair2-cmd 编译报错 如何设置Sprite的宽高和点击区域? Laya mac版的IDE 是没测试就上线了吗? Laya3D里的material可以设置flat shading么 龙骨skeleton鼠标点击区域的设置 关于apk打包动画卡的问题 mac 用layaair2.0 ...

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

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

...。 1. 使用getBounds/ getGraphicBounds。 ```typescript var sp=new Laya.Sprite(); sp.graphics.drawRect(0,0,100,100,"#FF0000"); var bounds:Laya.Rectangle=sp.getGraphicBounds(); Laya.stage.addChild(sp); ``` getBounds可以满足多数多数需求,但由于其需要计算边界,适合频繁调...

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

28. laya.ui.Panel [ 74%]

...nts Packagelaya.uiClasspublic class PanelInheritancePanel Box UIComponent Sprite Node EventDispatcher Object Panel 是一个面板容器类。 Public Properties Hide Inherited Public Properties Show Inherited Public Properties PropertyDefined By active : Boolean 获取自身是否激活。 Node ...

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

29. laya.display.Sprite [ 73%]

...I DocumentationAll Packages | All Classes | Index | Frames No Frames SpriteProperties | Methods | Events Packagelaya.displayClasspublic class SpriteInheritanceSprite Node EventDispatcher ObjectSubclasses AnimationBase, PerfHUD, Scene, Stage, Text Sprite 是基本的显示图形的显示列...

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

30. laya.display.Sprite [ 73%]

...I DocumentationAll Packages | All Classes | Index | Frames No Frames SpriteProperties | Methods | Events Packagelaya.displayClasspublic class SpriteInheritanceSprite Node EventDispatcher ObjectImplements laya.display.ILayoutSubclasses AnimationPlayerBase, Component, DialogManager, GridSprit...

来源: laya_api 发布时间: 20170929