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

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

421. laya.physics.CircleCollider_API3.0 [ 51%]

...s/Component.ts:30 是否单例,即同一个节点只能添加此类型的脚本一次 fixture fixture: any Inherited from ColliderBase.fixture Defined in laya/physics/ColliderBase.ts:25 [只读]b2Fixture对象 label label: string Inherited from ColliderBase.label Defined in laya/physics/ColliderBa...

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

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

...s/Component.ts:30 是否单例,即同一个节点只能添加此类型的脚本一次 canScaleShape canScaleShape: boolean = true Defined in laya/d3/physics/PhysicsComponent.ts:206 是否可以缩放Shape。 owner owner: Node Inherited from Component.owner Defined in laya/components/Component.ts:2...

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

423. Windows扩展 · LayaAir3.3 · 引擎文档 · LAYABOX [ 51%]

...插件”,如图3-1所示。 (图3-1) 然后在IDE中,创建一个脚本文件,命名为TestLib.ts,添加如下代码: interface ITestLib { nativeAdd(a: number, b: number): number; } export const testLib: ITestLib = Laya.importNative("LayaExt.dll"); 接着在组件脚本Main.ts中添...

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

424. laya.physics.EdgeCollider_API3.0 [ 50%]

...s/Component.ts:30 是否单例,即同一个节点只能添加此类型的脚本一次 fixture fixture: any Inherited from ColliderBase.fixture Defined in laya/physics/ColliderBase.ts:25 [只读]b2Fixture对象 label label: string Inherited from ColliderBase.label Defined in laya/physics/ColliderBa...

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

425. laya.d3.core.light.Light_API3.0 [ 50%]

...s/Component.ts:30 是否单例,即同一个节点只能添加此类型的脚本一次 color color: Color Defined in laya/d3/core/light/Light.ts:61 灯光颜色。 owner owner: Node Inherited from Component.owner Defined in laya/components/Component.ts:24 获取所属Node节点。 Optional runInEdi...

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

426. 创建TS项目并详解目录结构(TypeScript-LayaAir基础篇(TS)-快速上手) [ 50%]

...#### `compile.js` 文件介绍 `compile.js` 是gulp自定义编译流程的脚本文件,如果开发者对gulp比较熟悉的可以修改,否则不要动这里。 #### `launch.json`文件介绍 `launch.json` 文件保存了项目调试的一些配置信息,分别是LayaAirIDE的调试配置和ch...

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

427. 调用JSMpeg会闪屏 [ 50%]

...用动画结束on方法,报错this.zombieAnimator.on is not a function 脚本组件继承于 Laya.Script。 其中的_update方法,多长时间会调用一次? 可以设置调用时间吗? AS环境下调用DebugTool.init会出现编译时报错 如何在PC端浏览器的调试面板调用滚...

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

428. laya.physics.joint.PrismaticJoint_API3.0 [ 50%]

...s/Component.ts:30 是否单例,即同一个节点只能添加此类型的脚本一次 anchor anchor: any[] = [0, 0] Defined in laya/physics/joint/PrismaticJoint.ts:18 [首次设置有效]关节的控制点,是相对于自身刚体的左上角位置偏移 axis axis: any[] = [1, 0] Defined in laya...

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

429. laya.physics.BoxCollider_API3.0 [ 50%]

...s/Component.ts:30 是否单例,即同一个节点只能添加此类型的脚本一次 fixture fixture: any Inherited from ColliderBase.fixture Defined in laya/physics/ColliderBase.ts:25 [只读]b2Fixture对象 label label: string Inherited from ColliderBase.label Defined in laya/physics/ColliderBa...

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

430. laya.physics.PolygonCollider_API3.0 [ 50%]

...s/Component.ts:30 是否单例,即同一个节点只能添加此类型的脚本一次 fixture fixture: any Inherited from ColliderBase.fixture Defined in laya/physics/ColliderBase.ts:25 [只读]b2Fixture对象 label label: string Inherited from ColliderBase.label Defined in laya/physics/ColliderBa...

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