大约有 2,372 项符合查询结果, 库内数据总量为 31,560 项。 (搜索耗时: 0.0082 秒)
Laya_社区(1657) Laya3.0_api(170) Laya2.0_api(133) Laya2.0_文档(116) laya_api(102) Laya_示例(72) Laya2.0_示例(66) Laya3.0_文档(56)
...数,但是之前的缓动画不会执行 this.bir.x = 0; this.bir.y = 0; Laya.Tween.to(this.bir, { x: 200, y: 200 }, 2000, () => { }, Laya.Handler.create(this, this.change)); 这里面会直接过两秒执行this.change,而前面x:0->200 y:0->200不会执行 是什么原因?...
来源: Laya_社区 发布时间: 20170809
drawToTexture 绘制函数不工作呢 let top_rect: Laya.Sprite = new Laya.Sprite(); top_rect.x = 0; top_rect.y = 0; top_rect.size(100, 100); top_rect.graphics.drawRect(0, 0, 100, 100, "#0000FF", "#000000", 1); ...
来源: Laya_社区 发布时间: 20190730
Laya.timer.frameLoop(1, this, this.aaa);对象移动会出现颤抖现象 this.loadHp(); Laya.timer.frameLoop(1, this, this.aaa); private bb:number = 6; private playerHB:logic.UI.role.PlayerHealthBar; private loadHp():void { this.playerHB = new logic.UI.role.PlayerHealthBar(); this.playerHB.pivotX ...
来源: Laya_社区 发布时间: 20180102
...制的图像位置偏移 let sprite: Sprite = new Sprite(); let texture: Laya.Texture = Laya.loader.getRes(this.skin_img1); sprite.graphics.drawTexture(texture, 0, 0, texture.width, texture.height); sprite.size(texture.width, texture.height); let x: number = 300; let y: number = 100; let scaleRatio:...
来源: Laya_社区 发布时间: 20170821
Layabox是免费开源的HTML5引擎解决方案,产品家族中包括LayaAir引擎、LayaFlash引擎、LayaOpen开放平台、LayaMarket SDK、LayaStore嵌入式游戏商店、LayaPlayer运行器。核心引擎LayaAir性能全球领先,支持2D、3D、VR开发,支持AS3、JavaScript、TypeScr...
来源: Laya_示例 发布时间: 20251130
Search Preparing search index... The search index is not available layaair Options All Public Public/Protected All Inherited Externals Only exported Menu Globals "laya/filters/ColorFilter" ColorFilter Class ColorFilter ColorFilter 是颜色滤镜。使用 ColorFilter 类可以将 4 x 5 矩阵转换...
来源: Laya3.0_api 发布时间: 20231115
Layabox入门到精通视频教程 Laya从入门到精通+实战教学(上)大纲 01阶段 typescript程序设计基础 001课 认识layaAir IDE 002课 es5基础 闭包、原型链与面向对象 003课 es6基础 004课 typescript入门 005课 typescript面向对象与MVC框架 006课 typescrip...
来源: Laya_社区 发布时间: 20190227
Search Preparing search index... The search index is not available layaair Options All Public Public/Protected All Inherited Externals Only exported Menu Globals "laya/ui/ColorPicker" ColorPicker Class ColorPicker ColorPicker 组件将显示包含多个颜色样本的列表,用户可以从中选...
来源: Laya3.0_api 发布时间: 20231115
Search Preparing search index... The search index is not available layaair Options All Public Public/Protected All Inherited Externals Only exported Menu Globals "laya/ui/ProgressBar" ProgressBar Class ProgressBar ProgressBar 组件显示内容的加载进度。 example 以下示例代码,创建...
来源: Laya3.0_api 发布时间: 20231115
# Tree 组件参考 ## 一、通过LayaAirIDE创建Tree组件 Tree 组件用来显示树状结构。用户可以查看排列为可扩展树的层次结构数据。 Tree 组件的脚本接口请参考 [Tree API](https://layaair2.ldc2.layabox.com/api2/Chinese/index.html?version=2.9.0beta&type=...
来源: Laya2.0_文档 发布时间: 20210715