大约有 45 项符合查询结果, 库内数据总量为 31,722 项。 (搜索耗时: 0.0049 秒)
...ion clickHandler():void { var url:String = qrcode._oDrawing._elImage.src;//获取,注意这里是异步的,开发者可以加个延时在获取。 qrcodeSp.loadImage(url,0,0,100,100); } } } ``` 编译运行上面的代码,然后点击舞台可以看到,二维码已经显示到了舞台...
来源: Laya2.0_文档 发布时间: 20210715
...一份可访问的纹理数据,以便在运行时执行以下操作: 获取像素颜色值(如拾取、取样分析); 动态修改像素(如绘制笔刷、纹理混合)。 开启后,纹理的内存占用将约增加一倍,并降低加载性能。 建议仅在需要脚本动态读...
来源: Laya3.0_文档 发布时间: 20251128
... 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 发布时间: 20231102
... //初始化引擎 Laya.init(0,0); var Hls:any = Laya.Browser.window.Hls;//获取对Hls的引用。 var plyr:any = Laya.Browser.window.plyr;//获取对plyr的引用 //获取video对象,就是页面上命名为“player”的标签 var video:any = Laya.Browser.document.querySelector('#player'); if(...
来源: Laya3.0_文档 发布时间: 20251010
... 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