大约有 2,261 项符合查询结果, 库内数据总量为 30,724 项。 (搜索耗时: 0.0084 秒)
Laya_社区(1668) Laya3.0_api(144) Laya2.0_文档(127) Laya2.0_api(103) laya_api(77) Laya3.0_文档(52) Laya_示例(48) Laya2.0_示例(42)
...标转2D坐标,过程如下: this.point.elements[0] = Laya.stage.mouseX; this.point.elements[1] = Laya.stage.mouseY; this.camera.viewportPointToRay(this.point, this.ray); Laya.Physics.rayCast(this.ray, this._outHitInfo) 然后: this.camera.viewport.project(this._outHitInfo.position, this.camer...
来源: Laya_社区 发布时间: 20180613
...了之后 变成了pivot了 2017-03-29 0 0 分享 微博 QZONE 微信 cuixueying 赞同来自: 1、设置sprite的pivot后,sp的子对象的坐标值变成了sprite的pivot坐标值,这个没有测试出来,看下是不是最新版本,可以用最新版本测试下 2、canvas和webGL下的...
来源: Laya_社区 发布时间: 20170329
Search Preparing search index... The search index is not available layaair Options All Public Public/Protected All Inherited Externals Only exported Menu Globals "laya/d3/core/particleShuriKen/module/GradientVelocity" GradientVelocity Class GradientVelocity GradientVelocity 类用于创建渐变速...
来源: Laya3.0_api 发布时间: 20231115
...情况下搞出来了,但又发现无法在Native下使用。。。真是X了 既然无法使用,就分享出来,大家有兴趣的看看 正常渲染效果 alpha遮罩 用法: var texture: Laya.Texture = Laya.Loader.getRes("progress.png"); this.spe = new coolDownSprite(); this.spe.i...
来源: Laya_社区 发布时间: 20170606
...Tree 组件的脚本接口请参考 [Tree API](https://layaair2.ldc2.layabox.com/api2/Chinese/index.html?version=2.9.0beta&type=2D&category=UI&class=laya.ui.Tree)。 ### 1.1 Tree 组件主要由两个部分组成: - 项单元格(可以是 Box 、页面 View、自定义页面); - 纵向滚动...
来源: Laya2.0_文档 发布时间: 20210714
Search Preparing search index... The search index is not available layaair Options All Public Public/Protected All Inherited Externals Only exported Menu Globals "laya/display/Animation" Animation Class Animation Animation 是Graphics动画类。实现了基于Graphics的动画创建、播放、控...
来源: Laya3.0_api 发布时间: 20231115
...有没有方法能够获取“鼠标是否处于按下状态”? LayaBox IDE 支持多开吗 【带附件】 使用Laya2.0.0beta5.1 发布官方示例 真机报错 window is not defined 从unity导出的场景透贴和模型烘焙的灯光不显示,请问有知道是什么原因的吗?~~~~~~~~...
来源: Laya_社区 发布时间: 20191023
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/Clip" Clip Class Clip Clip 类是位图切片动画。 Clip 可将一张图片,按横向分割数量 clipX 、竖向分割数...
来源: Laya3.0_api 发布时间: 20231115
...不知道为什么无法实现点击。 (function() { var guideSteps = [ { x: 151, y: 575, radius: 150, tip: "../../res/guide/help6.png", tipx: 200, tipy: 250 }, { x: 883, y: 620, radius: 100, tip: "../../res/guide/help4.png", tipx: 730, tipy: 380 }, { x: 1128, y: 583, radius: 110, tip: "../../res/g...
来源: Laya_社区 发布时间: 20171031
Search Preparing search index... The search index is not available layaair Options All Public Public/Protected All Inherited Externals Only exported Menu Globals "laya/map/MapLayer" MapLayer Class MapLayer 地图支持多层渲染(例如,地表层,植被层,建筑层等) 本类就是层...
来源: Laya3.0_api 发布时间: 20231115