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

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

41. LayaAir和原生DOM交互(ActionScript-2D进阶篇(AS3)-扩展模块) [ 28%]

...ion clickHandler():void { var url:String = qrcode._oDrawing._elImage.src;//获取,注意这里是异步的,开发者可以加个延时在获取。 qrcodeSp.loadImage(url,0,0,100,100); } } } ``` ​ 编译运行上面的代码,然后点击舞台可以看到,二维码已经显示到了舞台...

来源: Laya2.0_文档 发布时间: 20210715

42. 纹理资源 · LayaAir3.4 · 引擎文档 · LAYABOX [ 27%]

...一份可访问的纹理数据,以便在运行时执行以下操作: 获取像素颜色值(如拾取、取样分析); 动态修改像素(如绘制笔刷、纹理混合)。 开启后,纹理的内存占用将约增加一倍,并降低加载性能。 建议仅在需要脚本动态读...

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

43. laya.d3.physicscannon.CannonRigidbody3D_API3.0 [ 26%]

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

44. 和原生Dom交互 · LayaAir3.4 · 引擎文档 · LAYABOX [ 25%]

... //初始化引擎 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

45. laya.d3.physics.Rigidbody3D_API3.0 [ 24%]

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