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

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

281. 圆环不跟随 sprite 一起缩放? [ 94%]

圆环不跟随 sprite 一起缩放? 直线可跟随滚轮缩放, 圆环不缩放,具体见代码     import WebGL = Laya.WebGL; import Browser = Laya.Browser; import Point = Geometry.Point;  // 程序入口 class GameMain{ constructor() { Laya.init(Browser.width, Browser.height, WebGL); t...

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

282. laya.display.Animation_API3.0 [ 94%]

...: boolean = false Inherited from Text._ownGraphics Defined in laya/display/Sprite.ts:252 _scene _scene: Node Inherited from Node._scene Defined in laya/display/Node.ts:641 _skinBaseUrl _skinBaseUrl: string Inherited from Text._skinBaseUrl Defined in laya/display/Sprite.ts:276 如果节点需要加...

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

283. 【Native BUG】Native下对根结点设置filter,无法更新到每个子节点,web是ok的 [ 94%]

...设置filter,无法更新到每个子节点,web是ok的 对一个包含sprite和text的sprite节点,设置filter,比如加一个gray。 在web上,该节点本身及其子节点的sprite和text都可以被正常灰化。 在native上,只有该节点可以被正常灰化,sprite和text都...

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

284. 怎么绘制sprite的内容到texture上 [ 94%]

怎么绘制sprite的内容到texture上 2018-11-26 添加评论 免费帖 --> 分享 微博 QZONE 微信 没有找到相关结果 已邀请: 与内容相关的链接 提交 1 个回复 柒汐夜 赞同来自: new Laya.Texture(sprite.drawToCanvas(w,h,x,y)) 2018-11-28 0 0 分享 微博 QZONE 微信 ...

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

285. laya.ui.Clip_API3.0 [ 94%]

...fined in laya/display/Node.ts:56 _graphics _graphics: AutoBitmap Overrides Sprite._graphics Defined in laya/ui/Clip.ts:151 _ownGraphics _ownGraphics: boolean = false Inherited from Text._ownGraphics Defined in laya/display/Sprite.ts:252 _scene _scene: Node Inherited from Node._scene Defined in laya/...

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

286. tiledmap 可以在图块层的指定格子上添加Sprite[ 94%]

tiledmap 可以在图块层的指定格子上添加Sprite吗 如题  我的tiledmap 有Bottom和Top两个图块层  Top层在Bottom层上方 现在想在Bottom层的某个格子上添加一个Sprite 请问 有什么方案呢   2017-06-27 添加评论 免费帖 --> 分享 微博 QZONE 微信 没...

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

287. Animal作为Sprite的子节点,为什么坐标不一致? [ 94%]

Animal作为Sprite的子节点,为什么坐标不一致? 在一个Sprite子类的构造函数中,创建了一个Animal作为Sprite的子节点。可运行发现Animal一直是在屏幕的左上角,也就是(0,0)的位置吧。而Sprite是在构造完成后,设置在了屏幕中间...

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

288. laya.ui.FontClip_API3.0 [ 94%]

...56 _graphics _graphics: AutoBitmap Inherited from Clip._graphics Overrides Sprite._graphics Defined in laya/ui/Clip.ts:151 _ownGraphics _ownGraphics: boolean = false Inherited from Text._ownGraphics Defined in laya/display/Sprite.ts:252 _scene _scene: Node Inherited from Node._scene Defined in laya/...

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

289. laya.ui.VSlider_API3.0 [ 94%]

...: boolean = false Inherited from Text._ownGraphics Defined in laya/display/Sprite.ts:252 _scene _scene: Node Inherited from Node._scene Defined in laya/display/Node.ts:641 _skinBaseUrl _skinBaseUrl: string Inherited from Text._skinBaseUrl Defined in laya/display/Sprite.ts:276 如果节点需要加...

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

290. laya.ui.HSlider_API3.0 [ 94%]

...: boolean = false Inherited from Text._ownGraphics Defined in laya/display/Sprite.ts:252 _scene _scene: Node Inherited from Node._scene Defined in laya/display/Node.ts:641 _skinBaseUrl _skinBaseUrl: string Inherited from Text._skinBaseUrl Defined in laya/display/Sprite.ts:276 如果节点需要加...

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