大约有 602 项符合查询结果, 库内数据总量为 30,724 项。 (搜索耗时: 0.0070 秒)
... Inherited from Component.owner Defined in laya/components/Component.ts:24 获取所属Node节点。 Optional runInEditor runInEditor: boolean Inherited from Component.runInEditor Defined in laya/components/Component.ts:34 是否可以在IDE环境中运行 Optional scriptPath scriptPath: string Inhe...
来源: Laya3.0_api 发布时间: 20231115
... Inherited from Component.owner Defined in laya/components/Component.ts:24 获取所属Node节点。 repeat repeat: number = 0 Inherited from EffectBase.repeat Defined in laya/effect/EffectBase.ts:15 重复次数,默认为播放一次 Optional runInEditor runInEditor: boolean Inherited from Compon...
来源: Laya3.0_api 发布时间: 20231115
... Inherited from Component.owner Defined in laya/components/Component.ts:24 获取所属Node节点。 repeat repeat: number = 0 Inherited from EffectBase.repeat Defined in laya/effect/EffectBase.ts:15 重复次数,默认为播放一次 Optional runInEditor runInEditor: boolean Inherited from Compon...
来源: Laya3.0_api 发布时间: 20231115
...clickHandler():void{ var url:string = this.qrcode._oDrawing._elImage.src;//获取,注意这里是异步的,开发者可以加个延时在获取。 this.qrcodeSp.loadImage(url,0,0,100,100); } } new Main; ``` 编译运行上面的代码,然后点击舞台可以看到,二维码已经显示到...
来源: Laya2.0_文档 发布时间: 20210715
...ind console.log("c:",c.id);//c:2 } 是不是发现b只处理了set后无法获取id的值。 5.pomelo 说实话,框架真心不错,客户端也简单,具体介绍看github上的介绍吧,https://github.com/NetEase/pomelo,谈到这个就顺便讲讲如何使用第三方库吧,以pomeloClien...
来源: Laya_社区 发布时间: 20161109
...这个是怎么回事? 模型资源释放问题 分享:LayaAir下如何获取图集下的小图资源? 为什么ani动画执行的不是按中心点执行的 u3d 资源怎么做才能导入到layabox 里面用 多application打包laya获取资源失败导致闪退 资源打包类型是如何...
来源: Laya_社区 发布时间: 20200417
... Inherited from Component.owner Defined in laya/components/Component.ts:24 获取所属Node节点。 Optional runInEditor runInEditor: boolean Inherited from Component.runInEditor Defined in laya/components/Component.ts:34 是否可以在IDE环境中运行 Optional scriptPath scriptPath: string Inhe...
来源: Laya3.0_api 发布时间: 20231115
...); function clickHandler(){ var url = this.qrcode._oDrawing._elImage.src;//获取,注意这里是异步的,开发者可以加个延时在获取。 this.qrcodeSp.loadImage(url,0,0,100,100); } ``` 编译运行上面的代码,然后点击舞台可以看到,二维码已经显示到了舞台上...
来源: Laya2.0_文档 发布时间: 20210714
... Inherited from Component.owner Defined in laya/components/Component.ts:24 获取所属Node节点。 Optional runInEditor runInEditor: boolean Inherited from Component.runInEditor Defined in laya/components/Component.ts:34 是否可以在IDE环境中运行 Optional scriptPath scriptPath: string Inhe...
来源: Laya3.0_api 发布时间: 20231115
...中返回的完整场景scene添加到舞台 Laya.stage.addChild(scene); //获取摄像机 var camera = scene.getChildByName("Main Camera"); /** ** 省略其它代码若干,可前往Layabox官网示例或相关文档中查看 */ })); ``` ##### 5.2.2 预设的加载与使用(.lh) 有一些模型或...
来源: Laya2.0_文档 发布时间: 20210714