大约有 3,209 项符合查询结果, 库内数据总量为 31,722 项。 (搜索耗时: 0.0099 秒)
Laya_社区(2484) Laya3.0_api(201) Laya2.0_文档(169) Laya2.0_api(98) laya_api(84) Laya3.0_文档(73) Laya_示例(69) Laya2.0_示例(31)
...提高程序的运行速度和稳定性。 接下来,我们来看看在LayaAir中是如何使用对象池(Pool)的。 二、对象池 Pool Pool 是对象池类,用于对象的存贮、重复使用。合理使用对象池,可以有效减少对象创建的开销,避免频繁的垃圾回收...
来源: Laya3.0_文档 发布时间: 20251010
... 关于如何加载,这里我们先从原生开始,然后在过渡到Layaair引擎,这样开发者可以理解其中的含义。以二进制流的方式加载,这里我们采用XMLHttpRequest二进制流的方式来加载。关于XMLHttpRequest的操作我们这里不再陈述,会放到单...
来源: 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/d3/core/particleShuriKen/ShurikenParticleSystem" ShurikenParticleSystem Class ShurikenParticleSystem ShurikenParticleSystem 类用...
来源: Laya3.0_api 发布时间: 20231115
laya的ide如何import js并调用里面的类和方法?VS Code正常。 // import {$root} from "../libs/protobuf/area.js"; // import ProtoArea = com.bee.protobuf.ProtoArea; import com from "area"; 这几种办法都不行。根本找不到里面的定义。按照官方文档的说法,.d.ts放...
来源: Laya_社区 发布时间: 20171116
... 关于如何加载,这里我们先从原生开始,然后在过渡到Layaair引擎,这样开发者可以理解其中的含义。以二进制流的方式加载,这里我们采用XMLHttpRequest二进制流的方式来加载。关于XMLHttpRequest的操作我们这里不再陈述,会放到单...
来源: 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/physics/joint/DistanceJoint" DistanceJoint Class DistanceJoint 距离关节:两个物体上面各自有一点,两点之间的...
来源: 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/physics/joint/MotorJoint" MotorJoint Class MotorJoint 马达关节:用来限制两个刚体,使其相对位置和角度保持...
来源: 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/physics/joint/RevoluteJoint" RevoluteJoint Class RevoluteJoint 旋转关节强制两个物体共享一个锚点,两个物体相...
来源: 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/physics/CircleCollider" CircleCollider Class CircleCollider 2D圆形碰撞体 Hierarchy ColliderBase CircleCollider Index Construct...
来源: 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/physics/EdgeCollider" EdgeCollider Class EdgeCollider 2D边框碰撞体 Hierarchy ColliderBase EdgeCollider Index Constructors cons...
来源: Laya3.0_api 发布时间: 20231115