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

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

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

...oint = polygon; // 增加灯光强度和设置灯光颜色 this.lightComp.falloffRange = 3; // 增大衰减范围 this.lightComp.color = new Laya.Color(1.0, 0.9, 0.6, 1); // 设置灯光颜色 this.lightComp.intensity = this.intensity; // 应用灯光强度 } onUpdate(): void { // 实现灯光旋转...

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

1272. 2D精灵光 · LayaAir3.3 · 引擎文档 · LAYABOX [ 44%]

... } 最终的效果如图3-1所示, (图3-1) Copyright ©Layabox 2025 all right reserved,powered by LayaAir Engine更新时间: 2025-10-10 16:27:56 img{cursor:pointer}

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

1273. 单选框组件 · LayaAir3.3 · 引擎文档 · LAYABOX [ 44%]

...; } } 效果如动图2-1所示: (动图2-1) Copyright ©Layabox 2025 all right reserved,powered by LayaAir Engine更新时间: 2025-10-10 16:27:59 img{cursor:pointer}

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

1274. 二次开发 · LayaAir3.3 · 引擎文档 · LAYABOX [ 44%]

...-ios") { //iOS注意函数签名,注意与Android的不同 alert(bridge.call("testString:","hello")); alert(bridge.call("testNumber:",256.0)); alert(bridge.call("testBool:",false)); obj.value = "Hello OC!"; bridge.callWithBack(function(value: any) { var obj = JSON.parse(value) alert(obj.value); },...

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

1275. 原生语言与JS通信 · LayaAir3.3 · 引擎文档 · LAYABOX [ 44%]

...事件 * @param eventName 事件名称 * @param data 数据 * @param cb callback */ static async handleAsyncMessage(eventName: string, data: string, cb: Function): Promise<void> { if (eventName == "asyncMessage") { cb("async message from platform"); } } 2. Android 在app/src/main/java/demo/Han...

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

1276. laya.d3.component.animator.Animator_API3.0 [ 44%]

...reparing search index... The search index is not available layaair Options All Public Public/Protected All Inherited Externals Only exported Menu Globals "laya/d3/component/Animator/Animator" Animator Class Animator Animator 类用于创建动画组件。 Hierarchy Component Animator Index Construct...

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

1277. laya.d3.core.particleShuriKen.ShurikenParticleRender [ 44%]

API DocumentationAll Packages | All Classes | Index | Frames No Frames ShurikenParticleRenderProperties | Methods Packagelaya.d3.core.particleShuriKenClasspublic class ShurikenParticleRenderInheritanceShurikenParticleRender BaseRender EventDispatcher Object ShurikenParticleRender 类用于...

来源: laya_api 发布时间: 20170929

1278. laya.d3.core.render.BaseRender_API3.0 [ 43%]

...reparing search index... The search index is not available layaair Options All Public Public/Protected All Inherited Externals Only exported Menu Globals "laya/d3/core/render/BaseRender" BaseRender Class BaseRender Render 类用于渲染器的父类,抽象类不允许实例。 Hierarchy Component ...

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

1279. laya.utils.Timer [ 43%]

API DocumentationAll Packages | All Classes | Index | Frames No Frames TimerProperties | Methods Packagelaya.utilsClasspublic class TimerInheritanceTimer Object Timer 是时钟管理类。它是一个单例,不要手动实例化此类,应该通过 Laya.timer 访问。 Public Properties...

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

1280. laya.ani.AnimationTemplet_API3.0 [ 43%]

...reparing search index... The search index is not available layaair Options All Public Public/Protected All Inherited Externals Only exported Menu Globals "laya/ani/AnimationTemplet" AnimationTemplet Class AnimationTemplet AnimationTemplet 类用于动画模板资源。 Hierarchy Resource AnimationTe...

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