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

大约有 487 项符合查询结果, 库内数据总量为 30,897 项。 (搜索耗时: 0.0045 秒)

371. laya.d3.physicscannon.CannonPhysicsComponent_API3.0 [ 54%]

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

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

372. laya.physics.joint.PulleyJoint_API3.0 [ 53%]

...s/Component.ts:30 是否单例,即同一个节点只能添加此类型的脚本一次 collideConnected collideConnected: boolean = false Defined in laya/physics/joint/PulleyJoint.ts:29 [首次设置有效]两个刚体是否可以发生碰撞,默认为false otherAnchor otherAnchor: any[] = [0, 0]...

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

373. 射线检测-碰撞器混合 [ 53%]

...ox); this.layaMonkeyMeshSprite3D.camera = this.camera; //添加碰撞事件脚本 this.layaMonkeyMeshSprite3D.addComponent(ColliderScript); //添加刚体组件 this.layaMonkeyMeshSprite3D.addComponent(Laya.Rigidbody); //添加键盘事件 Laya.stage.on(Laya.Event.KEY_DOWN, this, onKeyDown); this.co...

来源: Laya_示例 发布时间: 20250219

374. Java层调用ts ,可以把Java层的参数传过去吗?怎么传? [ 53%]

...,再次加载同一份资源时候,会导致gpu内存不断增加! 脚本组件继承于 Laya.Script。 其中的_update方法,多长时间会调用一次? 可以设置调用时间吗? TS 如何调用第三方JS库 调用 Laya.MiniAdpter.downLoadFile缓存文件之后。再调用Laya.loa...

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

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

...形状的光源。 三、通过代码使用 在LayaAir3-IDE中新建一个脚本,添加到Scene2D节点后,加入下述代码,实现一个2D精灵光的效果: const { regClass, property } = Laya; @regClass() export class SpriteLight extends Laya.Script { @property({type: Laya.Sprite}) priva...

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

376. laya.physics.joint.WeldJoint_API3.0 [ 53%]

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

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

377. laya.d3.component.hlod.HLOD_API3.0 [ 53%]

...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

378. laya.physics.joint.MouseJoint_API3.0 [ 53%]

...s/Component.ts:30 是否单例,即同一个节点只能添加此类型的脚本一次 anchor anchor: any[] Defined in laya/physics/joint/MouseJoint.ts:18 [首次设置有效]关节的链接点,是相对于自身刚体的左上角位置偏移,如果不设置,则根据鼠标点击点作为连...

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

379. laya.physics.ColliderBase_API3.0 [ 53%]

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

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

380. Laya.PlatformClass.createClass undefined [ 53%]

...---------- 我忘记是不是这个原因了 好久了,在通信的那个脚本下面  window["NativeManager"] = NativeManager; 写类似这样的代码。 附件 : --> 2019-09-04 添加评论 免费帖 --> 分享 微博 QZONE 微信 没有找到相关结果 已邀请: 与内容相关的链接 ...

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