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

大约有 3,041 项符合查询结果, 库内数据总量为 31,722 项。 (搜索耗时: 0.0077 秒)

2331. 为什么laya.pathfinding.js里面的Grid,通过Laya.Grid竟然获取不到?有laya.pathfinding.js的使用教程吗?API中没有找到。 [ 49%]

...athFinding.core.Grid()而不是Laya.Grid().这个问题在于忽略了Laya.class()的使用。   -------- 希望官方能完善一下相关 API 的使用 2017-06-29 1 0 分享 微博 QZONE 微信 cuixueying 赞同来自: pathfinding是第三方开源库,你可以参考:https://github.com/qiao/P...

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

2332. Laya3.0 工程内的bundle.js文件存在某个类 导出微信工程后bundle.js又将该类裁剪了 [ 49%]

...了,这种情况要怎么避免   @FGUIComponent("ui://login") export class TFrmLogin extends TGenFrmLogin {      onConstruct(): void {         super.onConstruct();     }  } 附件 : --> 2023-05-26 添加评论 免费帖 --> 分享 微博 QZONE 微信 没有找到相关结果 已邀请:...

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

2333. 2D物理-碰撞过滤器 [ 49%]

...。window.Laya=window.Laya||{}; (function (exports, Laya) { 'use strict'; class Physics_Physics_CollisionFiltering { constructor() { this.preMovementX = 0; this.preMovementY = 0; Laya.Config.isAntialias = true; Laya.Laya.init(1200, 700, Laya.WebGL); Laya.Stat.show(); Laya.Physics.enable(); Laya.Phys...

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

2334. list 加载动画为什么实现的效果会错乱掉? [ 48%]

...; ani.scale(80/bounds.width ,80/bounds.height) this.addChild(ani) } } Laya.class(Item1, "Item1", Box); var List = Laya.List; function setup(effList) { var list = new List(); list.itemRender = Item1; list.repeatX = 3; list.repeatY = 4; list.x = (Laya.stage.width - WID * list.repeatY) / 2 - 100; list....

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

2335. 升级到3.0-beta6无法选择资源了 [ 48%]

...,点击选择弹出框显示None,也无法拖放! 代码如下: @regClass() export class NewScript extends Laya.Script {     //declare owner : Laya.Sprite3D;      @property(String)     public text: string = "";      @property(Laya.Image)     public image: Laya.Image = null;     ...

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

2336. laya.d3.math.Native.ConchVector4 [ 48%]

API DocumentationAll Packages | All Classes | Index | Frames No Frames ConchVector4Properties | Methods Packagelaya.d3.math.NativeClasspublic class ConchVector4InheritanceConchVector4 ObjectImplements laya.d3.core.IClone Vector4 类用于创建四维向量。 Public Properties PropertyDefi...

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

2337. Label属性详解(JavaScript-IDE篇(JS)-IDE组件属性详解) [ 48%]

....layabox.com/api2/Chinese/index.html?version=2.9.0beta&type=2D&category=UI&class=laya.ui.Label)。 ​ Label 组件的资源示例: ​ ![图片0.png](img/1.png) ​ (图1) ​ Label组件拖放到编辑区后,设置 text 属性的值为 LayaAir IDE 后的显示效果如下: ​ ![图片0....

来源: Laya2.0_文档 发布时间: 20210714

2338. Laya2.8.0 beta 创建一个新项目,然后添加laya.cannonPhysics.js库之类的就各种报错 [ 48%]

...Compile use time:4  size:167/407 laya.core.js:21110 Uncaught Can not find class laya.physics.BoxCollider   然后值引用下面这几个库,则报附件的图片错误:laya.d3.j;laya.html.js;laya.physics.js;laya.ui.js 附件 : --> 2020-08-25 添加评论 免费帖 --> 分享 微博 QZONE 微...

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

2339. laya.d3.math.Vector4 [ 48%]

API DocumentationAll Packages | All Classes | Index | Frames No Frames Vector4Properties | Methods Packagelaya.d3.mathClasspublic class Vector4InheritanceVector4 ObjectImplements laya.d3.core.IClone Vector4 类用于创建四维向量。 Public Properties PropertyDefined By  ONE : Vector...

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

2340. laya.particle.ParticleSetting [ 48%]

API DocumentationAll Packages | All Classes | Index | Frames No Frames ParticleSettingProperties | Methods Packagelaya.particleClasspublic class ParticleSettingInheritanceParticleSetting Object ParticleSettings 类是粒子配置数据类 Public Properties PropertyDefined By  ageAddScale...

来源: laya_api 发布时间: 20170929