大约有 6,677 项符合查询结果, 库内数据总量为 30,724 项。 (搜索耗时: 0.0153 秒)
Laya_社区(6030) Laya2.0_文档(147) Laya3.0_api(118) laya_api(102) Laya2.0_api(90) Laya_示例(86) Laya2.0_示例(57) Laya3.0_文档(47)
圆环不跟随 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
...: 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
...设置filter,无法更新到每个子节点,web是ok的 对一个包含sprite和text的sprite节点,设置filter,比如加一个gray。 在web上,该节点本身及其子节点的sprite和text都可以被正常灰化。 在native上,只有该节点可以被正常灰化,sprite和text都...
来源: Laya_社区 发布时间: 20170717
怎么绘制sprite的内容到texture上 2018-11-26 添加评论 免费帖 --> 分享 微博 QZONE 微信 没有找到相关结果 已邀请: 与内容相关的链接 提交 1 个回复 柒汐夜 赞同来自: new Laya.Texture(sprite.drawToCanvas(w,h,x,y)) 2018-11-28 0 0 分享 微博 QZONE 微信 ...
来源: Laya_社区 发布时间: 20181126
...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
tiledmap 可以在图块层的指定格子上添加Sprite吗 如题 我的tiledmap 有Bottom和Top两个图块层 Top层在Bottom层上方 现在想在Bottom层的某个格子上添加一个Sprite 请问 有什么方案呢 2017-06-27 添加评论 免费帖 --> 分享 微博 QZONE 微信 没...
来源: Laya_社区 发布时间: 20170627
Animal作为Sprite的子节点,为什么坐标不一致? 在一个Sprite子类的构造函数中,创建了一个Animal作为Sprite的子节点。可运行发现Animal一直是在屏幕的左上角,也就是(0,0)的位置吧。而Sprite是在构造完成后,设置在了屏幕中间...
来源: Laya_社区 发布时间: 20180710
...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
...: 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
...: 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