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

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

341. laya.d3.component.volume.batchvolume.BatchRender_API3.0 [ 46%]

...s/Component.ts:30 是否单例,即同一个节点只能添加此类型的脚本一次 owner owner: Node Inherited from Component.owner Defined in laya/components/Component.ts:24 获取所属Node节点。 Optional runInEditor runInEditor: boolean Inherited from Component.runInEditor Defined in laya...

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

342. laya.d3.core.trail.TrailRenderer_API3.0 [ 46%]

...s/Component.ts:30 是否单例,即同一个节点只能添加此类型的脚本一次 owner owner: Node Inherited from Component.owner Defined in laya/components/Component.ts:24 获取所属Node节点。 Optional runInEditor runInEditor: boolean Inherited from Component.runInEditor Defined in laya...

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

343. laya.d3.component.volume.batchvolume.StatiVertexMergeBatchRender_API3.0 [ 45%]

...s/Component.ts:30 是否单例,即同一个节点只能添加此类型的脚本一次 owner owner: Node Inherited from Component.owner Defined in laya/components/Component.ts:24 获取所属Node节点。 Optional runInEditor runInEditor: boolean Inherited from Component.runInEditor Defined in laya...

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

344. laya.d3.physics.constraints.ConfigurableConstraint_API3.0 [ 45%]

...s/Component.ts:30 是否单例,即同一个节点只能添加此类型的脚本一次 disableCollisionsBetweenLinkedBodies disableCollisionsBetweenLinkedBodies: boolean = true Inherited from ConstraintComponent.disableCollisionsBetweenLinkedBodies Defined in laya/d3/physics/constraints/ConstraintC...

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

345. 获取位置信息 · LayaAir3.3 · 引擎文档 · LAYABOX [ 45%]

...ximumAge }); } 在LayaAir IDE中,给Scene2D添加一个自定义的组件脚本,添加如下代码,实现鼠标点击后,获取地理位置。 const { regClass, property } = Laya; @regClass() export class NewScript extends Laya.Script { constructor() { super(); } onMouseClick(evt: Laya.Event...

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

346. 如何通过命令行工具构建和发布项目 [ 45%]

...来自: 告诉你个简单的方法。其实ide里操作。也是执行js脚本的。  layaair-cmd这个东西就是从ide里剥离出来的 你去ide路径里找到对应的方法就行了 2018-08-14 0 1 分享 微博 QZONE 微信 Аη 赞同来自: 熊猫大侠 、babykylin 我觉得你是要的...

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

347. laya.d3.core.ui3d.UI3D_API3.0 [ 44%]

...s/Component.ts:30 是否单例,即同一个节点只能添加此类型的脚本一次 owner owner: Node Inherited from Component.owner Defined in laya/components/Component.ts:24 获取所属Node节点。 Optional runInEditor runInEditor: boolean Inherited from Component.runInEditor Defined in laya...

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

348. laya.d3.physics.Rigidbody3D_API3.0 [ 43%]

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

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

349. 2D寻路 · LayaAir3.3 · 引擎文档 · LAYABOX [ 38%]

... (图3-2) 在图2-21的surface节点上创建一个自定义的组件脚本: import Sprite = Laya.Sprite; import Component = Laya.Component; import Nav2DAgent = Laya.Nav2DAgent; const { regClass, property } = Laya; @regClass() export class TestSprite extends Laya.Script { // 用于显示鼠标...

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

350. 2D光遮挡器与阴影 · LayaAir3.3 · 引擎文档 · LAYABOX [ 37%]

...。 (动图2-7) 三、通过代码使用 在LayaAir-IDE中新建一个脚本,添加到Scene2D节点后,加入下述代码,实现一个光遮挡器的效果: const { regClass, property } = Laya; @regClass() export class LightOccluder extends Laya.Script { private spotLight: Laya.Sprite = ...

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