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

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

1. drawcall性能优化,sprite绘制保存新纹理 [ 100%]

...机生成图片优化 场景切换造成的FPS下降的优化思路请教 Graphic.drawTextures,第二个参数 pos:Array — 绘制次数和坐标,怎么写啊, 问题状态 最新活动: 2018-05-08 19:30 浏览: 2695 关注: 6 人 waterworld007 • 2017-01-04 16:32 附件已上传

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

2. laya.ui.AutoBitmap [ 98%]

...| Methods Packagelaya.uiClasspublic class AutoBitmapInheritanceAutoBitmap Graphics Object AutoBitmap 类是用于表示位图图像或绘制图形的显示对象。 封装了位置,宽高及九宫格的处理,供UI组件使用。 Public Properties Hide Inherited Public Properties Show Inherited...

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

3. laya.ui.AutoBitmap [ 96%]

...| Methods Packagelaya.uiClasspublic class AutoBitmapInheritanceAutoBitmap Graphics Object AutoBitmap 类是用于表示位图图像或绘制图形的显示对象。 封装了位置,宽高及九宫格的处理,供UI组件使用。 Public Properties Hide Inherited Public Properties Show Inherited...

来源: laya_api 发布时间: 20170929

4. laya.display.Graphics [ 94%]

...I DocumentationAll Packages | All Classes | Index | Frames No Frames GraphicsProperties | Methods Packagelaya.displayClasspublic class GraphicsInheritanceGraphics Object Graphics 类用于创建绘图显示对象。Graphics可以同时绘制多个位图或者矢量图,还可以结合save...

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

5. laya.display.Graphics [ 93%]

...I DocumentationAll Packages | All Classes | Index | Frames No Frames GraphicsProperties | Methods Packagelaya.displayClasspublic class GraphicsInheritanceGraphics ObjectSubclasses AutoBitmap, GraphicsGL Graphics 类用于创建绘图显示对象。Graphics可以同时绘制多个位图或者...

来源: laya_api 发布时间: 20170929

6. laya.ui.AutoBitmap_API3.0 [ 91%]

...了位置,宽高及九宫格的处理,供UI组件使用。 Hierarchy Graphics AutoBitmap Index Constructors constructor Properties _color uv Accessors cmds color height sizeGrid source width Methods addCmd alpha clear clipRect destroy drawCircle drawCurves drawEllipse drawImage drawLine drawLine...

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

7. laya.display.Graphics_API3.0 [ 91%]

...Protected All Inherited Externals Only exported Menu Globals "laya/display/Graphics" Graphics Class Graphics Graphics 类用于创建绘图显示对象。Graphics可以同时绘制多个位图或者矢量图,还可以结合save,restore,transform,scale,rotate,translate,alpha等指令对...

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

8. laya.ani.GraphicsAni_API3.0 [ 90%]

...lic/Protected All Inherited Externals Only exported Menu Globals "laya/ani/GraphicsAni" GraphicsAni Class GraphicsAni Graphic动画 Hierarchy Graphics GraphicsAni Index Constructors constructor Accessors cmds Methods addCmd alpha clear clipRect destroy drawCircle drawCurves drawEllipse drawImage dra...

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

9. 请教下 Sprite 怎么渲染成纹理? [ 85%]

...质在精灵本身上显示吗,如果是的话,你可以调用sprite的graphics的drawtexture方法,把文理画到精灵本身,显示到舞台上,如果理解错了,你可以再提问! 2017-02-20 0 1 分享 微博 QZONE 微信 什么被折叠? 0 个回复被折叠 要回复问题...

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

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

...多种做法,而其间差异很有必要知道。 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