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

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

1351. 关于as版的Animation.createFrames()不能工作? [ 51%]

...ya.utils.Handler; import laya.net.Loader; import laya.events.Event; public class LayaUISample { protected var text:Text; protected var aaa:AAA; public function LayaUISample() { Laya.init(1540, 990); Laya.Stat.show(); Laya.loader.load("res/atlas/war.json", Laya.Handler.create(this, this.onLoaded), nu...

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

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

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

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

1353. [LayaAir3]Laya3.x graphics.drawCurves 闪烁的问题 [ 51%]

...曲线,然后通过drawLines来画。给你 一个参考代码   export class CatmullRomSpline { private points: number[]; constructor(points: number[]) { if (points.length < 4 || points.length % 2 !== 0) { throw new Error("At least two points (four numbers) are required, and the total number ...

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

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

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

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

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

1356. laya.resource.AtlasResource_API3.0 [ 51%]

...als Only exported Menu Globals "laya/resource/AtlasResource" AtlasResource Class AtlasResource 大图合集资源 Hierarchy Resource AtlasResource Index Constructors constructor Properties _id destroyedImmediately dir frames lock name textures url uuid DEBUG Accessors cpuMemory destroyed gpuMemory i...

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

1357. laya.d3.physics.PhysicsComponent_API3.0 [ 51%]

... exported Menu Globals "laya/d3/physics/PhysicsComponent" PhysicsComponent Class PhysicsComponent PhysicsComponent 类用于创建物理组件的父类。 Hierarchy Component PhysicsComponent PhysicsTriggerComponent CharacterController Index Constructors constructor Properties _extra _singleton canS...

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

1358. laya.d3.component.animator.AnimatorController_API3.0 [ 51%]

...Globals "laya/d3/component/Animator/AnimatorController" AnimatorController Class AnimatorController Hierarchy Resource AnimatorController Index Constructors constructor Properties _id clipsID data destroyedImmediately lock name url uuid DEBUG Accessors cpuMemory destroyed gpuMemory id obsolute refer...

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

1359. 请问Laya如何使用第三方物理库 [ 51%]

...() { this.world.step(1 / 60); }   再把CANNON.Body包装成组件 export class CannonRigidbody extends Laya.Script3D { static map: { [key: number]: Laya.Sprite3D } = {}; body: CANNON.Body; t: Laya.Transform3D; public onCollisionCB: (s: Laya.Sprite3D) => void; public ignoreRotate: boolean = fals...

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

1360. laya.physics.ChainCollider_API3.0 [ 51%]

...nals Only exported Menu Globals "laya/physics/ChainCollider" ChainCollider Class ChainCollider 2D线形碰撞体 Hierarchy ColliderBase ChainCollider Index Constructors constructor Properties _extra _singleton fixture label owner rigidBody runInEditor scriptPath Accessors awaked density destroyed en...

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