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

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

1. 使用graphsics.drawTexture画出来的图片与使用button创建同样宽高图形竟然不重合?? [ 100%]

使用graphsics.drawTexture画出来的图片与使用button创建同样宽高图形竟然不重合?? 我使用一个Button创建的按钮,和使用 this.sprite_show = new Laya.Sprite(); this.sprite_show.graphics.drawTexture(Laya.loader.getRes(this.resStr), 0, 0, this.width, this.height); 画...

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

2. 动画能类似图片纹理切换一样切换吗? [ 94%]

...aphics.clear(); var texture = Laya.loader.getRes(textureUrl); ape.graphics.drawTexture(texture, 0, 0);   Laya.Animation()这样的动画有类似纹理切换这样的方法吗? 2017-12-05 添加评论 免费帖 --> 分享 微博 QZONE 微信 没有找到相关结果 已邀请: 与内容相关的...

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

3. 支不支持多个Texture 拼接成一张图片! [ 91%]

...自: a13121527420 支持,你可以获取多个texture,让sp.graphics.drawTexture(aa),sp.graphics.drawTexture(bb)这样连续去写即可! 2017-03-21 1 1 分享 微博 QZONE 微信 为什么被折叠? 0 个回复被折叠 要回复问题请先登录 发起人 a13121527420 哇啦哇啦哇啦! ...

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

4. 如果更换Sprite图片 [ 82%]

...Image的skin值来动态更换图片。 sprite可以通过sprite.graphcis.drawTexture来实现动态更换图片,当更换新的图片Texture的时候,clear掉之前的显示,将最新的texture赋值就可以了。 2017-01-12 1 1 分享 微博 QZONE 微信 为什么被折叠? 0 个回复被...

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

5. LayaAir3D UnityPlug 1.7.13 导出刚体动画无效 [ 78%]

...效(版本2.6) unity中的模型导出后在laya中显示不正常 2.0 drawTexture color参数无效 一个时间轴动画里创建的多个动画,怎么分别调用?如图 unity导出的场景不显示实时阴影 lh文件内meshSprite添加阴影属性无效 用Mac下Unity5.6.2f1导出的...

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

6. Laya.Scene.open 在弹窗情况下,参数滞后了 [ 77%]

...已经被锁定, 无法添加新回复 发起人 格七 相关问题 2.0 drawTexture color参数无效 dialog 自定义关闭效果,效果执行完,弹窗无法关闭 怎样获取浏览器地址传过来的GET参数 http 请求 once 的 回调参数,如何传递和接收? laya 发布成微...

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

7. 在父sprite中添加子sprite ,移动父Sprite 子sprite为什么不动? [ 73%]

...l].y, data.angel[angelLel].w , data.angel[angelLel].h); this.ball.graphics.drawTexture(tBall, 0,0,548,305); this.tower.graphics.drawTexture(tTower, 0, 0, data.tower[towerLel].w , data.tower[towerLel].h); this.aeroboat.graphics.drawTexture(tAeroboat,0,0, data.aeroboat.w, data.aeroboat.h); this.mounta...

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