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

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

381. WebSocket通信 · LayaAir3.3 · 引擎文档 · LAYABOX [ 43%]

...(): void { console.log("Connection Error"); } } 将脚本添加到场景中运行,我们看到控制台中的打印如图2-1所示。 (图2-1) 3.2.4 二进制图像传输示例 有的候,可能需要从服务端读取二进制图像并显示,这里我们给出一个模拟二进制图像...

来源: Laya3.0_文档 发布时间: 20251010

382. laya.physics.joint.GearJoint_API3.0 [ 42%]

...itor Defined in laya/components/Component.ts:34 是否可以在IDE环境中运行 Optional scriptPath scriptPath: string Inherited from Component.scriptPath Defined in laya/components/Component.ts:35 Accessors awaked get awaked(): boolean Inherited from Component.awaked Defined in laya/components/Co...

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

383. 缓动 · LayaAir3.3 · 引擎文档 · LAYABOX [ 42%]

...to("x", 500).to("y", 300); 将这段代码添加在节点上的脚本中,运行查看效果,如图3-1-1所示: (图3-1-1) 下面我们来讲解一下这段代码: 1. 使用create()方法创建一个缓动,此方法可以传入缓动的目标对象作为参数: /** * @zh 创建一个...

来源: Laya3.0_文档 发布时间: 20251010

384. laya.physics.joint.MouseJoint_API3.0 [ 42%]

...itor Defined in laya/components/Component.ts:34 是否可以在IDE环境中运行 Optional scriptPath scriptPath: string Inherited from Component.scriptPath Defined in laya/components/Component.ts:35 selfBody selfBody: RigidBody Defined in laya/physics/joint/MouseJoint.ts:16 [首次设置有效]关...

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

385. 分享:Laya开发TS项目使用pomelo客户端SDK(pomelo-jsclient-websocket) [ 41%]

...要配置一个component.json文件,里面配置相应的依赖,然后运行 我们应该只需要引用编译后的build.js就可以使用pomelo的调用了,结果实际引用build.js之后发现还是调用不了、报错。(本人是直接转到TS的,是个js的小白,卡在这里也是...

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

386. laya.physics.joint.PulleyJoint_API3.0 [ 41%]

...itor Defined in laya/components/Component.ts:34 是否可以在IDE环境中运行 Optional scriptPath scriptPath: string Inherited from Component.scriptPath Defined in laya/components/Component.ts:35 selfAnchor selfAnchor: any[] = [0, 0] Defined in laya/physics/joint/PulleyJoint.ts:18 [首次设置...

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

387. laya.physics.joint.MotorJoint_API3.0 [ 41%]

...itor Defined in laya/components/Component.ts:34 是否可以在IDE环境中运行 Optional scriptPath scriptPath: string Inherited from Component.scriptPath Defined in laya/components/Component.ts:35 selfBody selfBody: RigidBody Defined in laya/physics/joint/MotorJoint.ts:12 [首次设置有效]关...

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

388. laya.physics.joint.WeldJoint_API3.0 [ 40%]

...itor Defined in laya/components/Component.ts:34 是否可以在IDE环境中运行 Optional scriptPath scriptPath: string Inherited from Component.scriptPath Defined in laya/components/Component.ts:35 selfBody selfBody: RigidBody Defined in laya/physics/joint/WeldJoint.ts:14 [首次设置有效]关...

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

389. LayaAirIDE的可视化2D物理编辑入门(TypeScript-IDE篇(TS)-使用2d物理系统) [ 40%]

...点之间最大的距离长度。无论在IDE如何摆放关节位置,运行都会强行调整为`maxLength`属性设置的距离。正如下面动图14-2所示,图左是默认值1,图右是200的固定值。 ![14-2](img/14-2.gif) (动图14-2) ##### 其它说明: 其它属性与距...

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

390. laya.physics.ColliderBase_API3.0 [ 40%]

...itor Defined in laya/components/Component.ts:34 是否可以在IDE环境中运行 Optional scriptPath scriptPath: string Inherited from Component.scriptPath Defined in laya/components/Component.ts:35 Accessors awaked get awaked(): boolean Inherited from Component.awaked Defined in laya/components/Co...

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