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

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

101. 如何使用及维护Github的LayaAir引擎源码(TypeScript-简介篇(TS)-LayaAir引擎简介) [ 51%]

...远程分支。效果如下图所示。 ![图](img/10-1.png) ##### 5.1.2 获取layaAir官方分支的最新版本 layaAir远程分支添加成功后,可以使用 `git fetch layaAir` 命令获取layaAir官方的分支到本地。 ![图](img/10-2.png) ##### 5.1.3 合并分支 当本地已存在layaA...

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

102. Clip属性详解(ActionScript-IDE篇(AS3)-IDE组件属性详解) [ 50%]

...也可以通过代码来设置,上述示例演示了如何通过计获取每一秒更新clip.clipX切片,通过每秒更新数字实现计器的功能,有兴趣的读者可以自己通过代码设置Clip,创建出符合自己项目中需要的Clip。 **示例代码:** ```javascrip...

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

103. WebSocket通信 · LayaAir3.3 · 引擎文档 · LAYABOX [ 50%]

...长轮询技术。 轮询是指客户端定期向服务器发送请求来获取最新数据,这种方式会造成大量不必要的请求,浪费带宽和服务器资源; 长轮询虽然有所改进,但仍不是真正意义上的实通信。为了解决这些问题,HTML5 规范引入了 ...

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

104. 2D自由形态光 · LayaAir3.3 · 引擎文档 · LAYABOX [ 48%]

...rivate intensity: number = 1.8; // 定义灯光强度 onAwake(): void { // 获取 FreeformLight2D 组件 this.lightComp = this.owner.getComponent(Laya.FreeformLight2D); //灯光的顶点通常建议是在IDE中可视化配置,这里是为了演示如何通过代码动态设置顶点数据,方便...

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

105. laya.physics.joint.JointBase_API3.0 [ 48%]

... Inherited from Component.owner Defined in laya/components/Component.ts:24 获取所属Node节点。 Optional runInEditor runInEditor: boolean Inherited from Component.runInEditor Defined in laya/components/Component.ts:34 是否可以在IDE环境中运行 Optional scriptPath scriptPath: string Inhe...

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

106. laya.d3.core.MeshFilter_API3.0 [ 47%]

... Inherited from Component.owner Defined in laya/components/Component.ts:24 获取所属Node节点。 Optional runInEditor runInEditor: boolean Inherited from Component.runInEditor Defined in laya/components/Component.ts:34 是否可以在IDE环境中运行 Optional scriptPath scriptPath: string Inhe...

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

107. laya.d3.component.LODGroup_API3.0 [ 46%]

... Inherited from Component.owner Defined in laya/components/Component.ts:24 获取所属Node节点。 Optional runInEditor runInEditor: boolean Inherited from Component.runInEditor Defined in laya/components/Component.ts:34 是否可以在IDE环境中运行 Optional scriptPath scriptPath: string Inhe...

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

108. laya.d3.physics.PhysicsComponent_API3.0 [ 46%]

... Inherited from Component.owner Defined in laya/components/Component.ts:24 获取所属Node节点。 Optional runInEditor runInEditor: boolean Inherited from Component.runInEditor Defined in laya/components/Component.ts:34 是否可以在IDE环境中运行 Optional scriptPath scriptPath: string Inhe...

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

109. 缓动 · LayaAir3.3 · 引擎文档 · LAYABOX [ 46%]

...tTween()或是Laya.Tween.getTweens()方法查询对象关联的缓动。 //获取对象上的第一个缓动 let tween = Tween.getTween(aSprite); if (tween != null) tween.kill(); //获取对象上的全部缓动 let tweens = Tween.getTweens(sSprite); tweens.forEach(tween => tween.kill()); kill()...

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

110. laya.d3.physics.constraints.ConstraintComponent_API3.0 [ 45%]

... Inherited from Component.owner Defined in laya/components/Component.ts:24 获取所属Node节点。 Optional runInEditor runInEditor: boolean Inherited from Component.runInEditor Defined in laya/components/Component.ts:34 是否可以在IDE环境中运行 Optional scriptPath scriptPath: string Inhe...

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