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

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

1. graphics怎么画透明色 [ 100%]

graphics怎么画透明色 graphics怎么画透明色 2018-12-18 添加评论 免费帖 --> 分享 微博 QZONE 微信 没有找到相关结果 已邀请: 与内容相关的链接 提交 1 个回复 aicode 赞同来自: let graphics=new Laya.Graphics(); graphics.clear(); graphics.save(); graphics.a...

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

2. 自定义的九宫格graphic组件不能放在系统graphic组件底层。 [ 99%]

自定义的九宫格graphic组件不能放在系统graphic组件底层。 为了减少sprite数,写了一个自定义的九宫格graphic组件,但是和系统的graphic组件叠加时,总是在系统graphic组件上方,请问有什么方法可以使自定义的graphic组件也能和系统...

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

3. graphics 问题 [ 99%]

graphics 问题 安装论坛里面的alpha的设置,下面代码不起作用 img.graphics.save() img.graphics.transform(m) img.graphics.restore() 如果只留下第二行,那么transform效果将影响其他对象 2017-06-09 添加评论 免费帖 --> 分享 微博 QZONE 微信 没有找到相关...

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

4. sprite里面绘图对象为什么有两个呢 _graphicsgraphics,这有什么区别吗 [ 98%]

sprite里面绘图对象为什么有两个呢 _graphicsgraphics,这有什么区别吗 如题?没太看明白 2017-01-14 添加评论 免费帖 --> 分享 微博 QZONE 微信 没有找到相关结果 已邀请: 与内容相关的链接 提交 2 个回复 cuixueying 赞同来自: 建议用grap...

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

5. LayaAir graphics透明度无效? [ 98%]

LayaAir graphics透明度无效? Sprite对象使用graphics画圆,然后获取Sprite的width,height属性,居然还是0,晕,这正常??? 还有啊,graphics.alpha(0.5)设置图形透明度无效哦。怎么回事? 查看了api是这样的啊。。 2016-10-26 添加评论 免费...

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

6. 关于graphics镂空的问题https://ask.layabox.com/question/139 [ 98%]

关于graphics镂空的问题https://ask.layabox.com/question/139 https://ask.layabox.com/question/139 贴上说镂空问题已经解决,但我还是遇到同样的问题,我使用的是layaair1.7.5,求教。 2017-07-10 添加评论 免费帖 --> 分享 微博 QZONE 微信 没有找到相关...

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

7. 分享:使用 graphics.clipRect 的注意事项 [ 98%]

分享:使用 graphics.clipRect 的注意事项 1、使用graphics.clipRect之后报错?   比较简单的项目使用clipRect的时候可能不会报错,一旦报错,那么就是使用的方式不对。    使用clipRect需要注意的是:必须要先调用save(),用完之后也必...

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

8. Graphics实现透明度显示 [ 97%]

Graphics实现透明度显示 2016-11-30 添加评论 免费帖 --> 分享 微博 QZONE 微信 没有找到相关结果 已邀请: 与内容相关的链接 提交 2 个回复 cuixueying 赞同来自: var sp:Sprite=new Sprite(); var graphics:Graphics=new Graphics(); graphics.save(); graphics.alpha(0...

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

9. graphics透明度设置详细步骤 [ 97%]

graphics透明度设置详细步骤 调整一个graphics的透明度需要4个步骤 save;alpha;draw;restore;  比如://画一个半透明屎黄色区域 this.graphics.save(); this.graphics.alpha(0.5); this.graphics.drawRect(-40, -110, 80, 110, "#ffcc00"); this.graphics.restore(); //再画一...

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

10. laya.d3.graphics.VertexBuffer3D_API3.0 [ 97%]

...blic/Protected All Inherited Externals Only exported Menu Globals "laya/d3/graphics/VertexBuffer3D" VertexBuffer3D Class VertexBuffer3D 请使用LayaGL.RenderOBJCreate.createIndexBuffer3D来创建 VertexBuffer3D 类用于创建顶点缓冲。 Hierarchy VertexBuffer VertexBuffer3D NativeVertexBuffer3...

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