大约有 487 项符合查询结果, 库内数据总量为 30,897 项。 (搜索耗时: 0.0045 秒)
Laya_社区(243) Laya2.0_文档(95) Laya3.0_文档(75) Laya3.0_api(66) Laya2.0_api(4) laya_api(3) Laya_示例(1)
...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
...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
...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
...,再次加载同一份资源时候,会导致gpu内存不断增加! 脚本组件继承于 Laya.Script。 其中的_update方法,多长时间会调用一次? 可以设置调用时间吗? TS 如何调用第三方JS库 调用 Laya.MiniAdpter.downLoadFile缓存文件之后。再调用Laya.loa...
来源: Laya_社区 发布时间: 20171201
...形状的光源。 三、通过代码使用 在LayaAir3-IDE中新建一个脚本,添加到Scene2D节点后,加入下述代码,实现一个2D精灵光的效果: const { regClass, property } = Laya; @regClass() export class SpriteLight extends Laya.Script { @property({type: Laya.Sprite}) priva...
来源: Laya3.0_文档 发布时间: 20250214
...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
...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
...s/Component.ts:30 是否单例,即同一个节点只能添加此类型的脚本一次 anchor anchor: any[] Defined in laya/physics/joint/MouseJoint.ts:18 [首次设置有效]关节的链接点,是相对于自身刚体的左上角位置偏移,如果不设置,则根据鼠标点击点作为连...
来源: Laya3.0_api 发布时间: 20231115
...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
...---------- 我忘记是不是这个原因了 好久了,在通信的那个脚本下面 window["NativeManager"] = NativeManager; 写类似这样的代码。 附件 : --> 2019-09-04 添加评论 免费帖 --> 分享 微博 QZONE 微信 没有找到相关结果 已邀请: 与内容相关的链接 ...
来源: Laya_社区 发布时间: 20190904