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

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

421. 摄像机不在原点的时候3D空间转2D空间会失效? [ 83%]

...标转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

422. scrollrect的bug? [ 83%]

...了之后 变成了pivot了 2017-03-29 0 0 分享 微博 QZONE 微信 cuixueying 赞同来自: 1、设置sprite的pivot后,sp的子对象的坐标值变成了sprite的pivot坐标值,这个没有测试出来,看下是不是最新版本,可以用最新版本测试下 2、canvas和webGL下的...

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

423. laya.d3.core.particleshuriken.module.GradientVelocity_API3.0 [ 83%]

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

424. 分享一个Shader版的CoolDown实现 [ 83%]

...情况下搞出来了,但又发现无法在Native下使用。。。真是X了  既然无法使用,就分享出来,大家有兴趣的看看 正常渲染效果   alpha遮罩   用法: var texture: Laya.Texture = Laya.Loader.getRes("progress.png"); this.spe = new coolDownSprite(); this.spe.i...

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

425. Tree属性详解(TypeScript-IDE篇(TS)-IDE组件属性详解) [ 83%]

...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

426. laya.display.Animation_API3.0 [ 83%]

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

427. 请问LayaAirIDE最新版本支持命令行发布小游戏了吗? [ 83%]

...有没有方法能够获取“鼠标是否处于按下状态”? LayaBox IDE 支持多开吗 【带附件】 使用Laya2.0.0beta5.1 发布官方示例 真机报错 window is not defined 从unity导出的场景透贴和模型烘焙的灯光不显示,请问有知道是什么原因的吗?~~~~~~~~...

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

428. laya.ui.Clip_API3.0 [ 83%]

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

429. 引擎示例中的新手引导自己写了一次,不知道为什么无法实现点击。 [ 83%]

...不知道为什么无法实现点击。 (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

430. laya.map.MapLayer_API3.0 [ 83%]

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