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

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

311. laya.ui.Tree [ 83%]

...vents Packagelaya.uiClasspublic class TreeInheritanceTree Box UIComponent Sprite Node EventDispatcher ObjectImplements IRender Tree 控件使用户可以查看排列为可扩展树的层次结构数据。 Public Properties Hide Inherited Public Properties Show Inherited Public Properties PropertyD...

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

312. 滤镜-模糊滤镜 [ 83%]

...; } setup() { this.createApe(); this.applayFilter(); } createApe() { const Sprite = Laya.Sprite; this.ape = new Sprite(); Laya.stage.addChild(this.ape); let texture = Laya.loader.getRes(apePath); this.ape.graphics.drawTexture(texture); this.ape.x = (Laya.stage.width - texture.width) / 2; this.ape.y ...

来源: Laya2.0_示例 发布时间: 20251209

313. 怎么绘制sprite的内容到texture上 [ 83%]

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

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

314. laya.ui.TextArea_API3.0 [ 83%]

...raphics _graphics: AutoBitmap Inherited from TextInput._graphics Overrides Sprite._graphics Defined in laya/ui/TextInput.ts:118 _ownGraphics _ownGraphics: boolean = false Inherited from Text._ownGraphics Defined in laya/display/Sprite.ts:252 _scene _scene: Node Inherited from Node._scene Defined in ...

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

315. localToGlobal坐标值被写死了?!!! [ 83%]

localToGlobal坐标值被写死了?!!! 对一个sprite本身使用localToGlobal,无论sprite在什么位置,得到的数据都是x = 800,y = 600   DEMO截图见下图   工程为2.x;这个bug在1.x中也存在   附件 : --> testLab.rar 2018-11-20 添加评论 免费帖 --> 分...

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

316. [LayaAir3][3.x]shader蓝图的连线不能单独删除,或者我没找到删除办法? [ 83%]

...为啥不能显示超出部分,fixeheight 为啥不能居中? new Laya.Sprite();绘制图形以后,怎么删除释放资源? dialog可以点击到外部的元素,如何使其外边不能点击 在线急等,发现你们这个编译器一个bug,不能实现负负得正 web端打包发布...

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

317. laya.filters.GlowFilter_API3.0 [ 83%]

.../GlowFilter.ts:101 Returns Float32Array Static _filter _filter(this: RenderSprite, sprite: Sprite, context: Context, x: number, y: number): void Inherited from BlurFilter._filter Defined in laya/filters/Filter.ts:38 Parameters this: RenderSprite sprite: Sprite context: Context x: number y: number Re...

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

318. 关于LAYA TS重写X和Y坐标的问题 [ 83%]

...per.x super.y 打个比方 假设在LAYA TS 里这么写 class XXX extends Sprite { public set x(value:number) { this._x = value; } public get x():number { return this._x; } } 这样写在WEB环境下固然可行 但是却会导致打包坐标不生效 而在AS3就不一样了 可以直接super.x ...

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

319. TypeScript在LayaAir 1.X和2.X中对待module和namespace的异同,求2.x使用自定义namespace的方法(module已经找到方法) [ 83%]

...tyPlugin 使用须知-版本更新-问题解答(最新版本:1.7.16) sprite3d怎样使用Laya.Tween.to来做缓动呢?比如position或者scale LayaAir能做RPG吗?不要问我能不能,因为我已经在做 - 杀意来袭 使用3D时候,Property 'getComponentByType' does not exist on ...

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

320. laya.display.Graphics [ 83%]

...方式存储,可以通过cmds属性访问所有命令流。Graphics是比Sprite更轻量级的对象,合理使用能提高应用性能(比如把大量的节点绘图改为一个节点的Graphics命令集合,能减少大量节点创建消耗)。 See alsolaya.display.Sprite.graphicsPublic Proper...

来源: laya_api 发布时间: 20170929