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

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

91. layabox 支持渲染到纹理吗 [ 73%]

...raphics的drawtocanvas,然后得到一个htmlcanvas,通过htmlcanvas的source方法,可以过得原生的canvas,再通过原生保存的接口就可以做你说的事情了! 2017-02-18 0 0 分享 微博 QZONE 微信 为什么被折叠? 0 个回复被折叠 要回复问题请先登录 发...

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

92. [LayaAir3]使用videoNode播放视频没有控制器 [ 73%]

... video.options.controls = true; video.options.objectFit = "contain"; video.source = "resources/你的视频.mp4"; video.play();需要注意的是, 第一,视频模式要是播放器模式才会有控件按钮。 第二,mode和options这些要放到source之前设置。   另外,我们的B...

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

93. [2.0beta5]引入场景报错 [ 73%]

...经验的朋友们,帮忙看下什么原因,十分感谢。RangeError: Source is too large     at Uint8Array.set (native)     at Pv (file:///D:/UserSoft/layaAir2.5/workSpace/LayaTest2_5/LayaTest2_5/bin/libs/laya.physics3D.js:304:397)     at Object.window.Physics3D (file:///D:/UserSoft/laya...

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

94. [LayaNative 2.0]请问android单机包怎么热更新的 [ 73%]

...aya jar 包中 index.js 中  updateDcc里面 var curassets = cache.getResourceID('netassetsid'); var assetsidStr = (yield asyncs.downloadSync(urlpath + 'update/assetsid.txt?rand=' + Math.random() * Date.now(), false, null)); console.log("assetsid old:" + curassets + " new:" + assetsidStr);第一...

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

95. 关于如何嵌入到网页 以及在网页中定位 [ 72%]

...画布的位置,不要去直接改变节点属性,Render._mainCanvas.source.style.left = "300px"; 2017-05-16 0 4 分享 微博 QZONE 微信 为什么被折叠? 0 个回复被折叠 要回复问题请先登录 发起人 chensa222 相关问题 救命!canvas定位后 点击区域偏移,求大...

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

96. laya.d3.core.render.command.BlitFrameBufferCMD_API3.0 [ 72%]

...subShader: number shaderData: ShaderData Returns void Static create create(source: BaseTexture, dest: RenderTexture, viewport: Viewport, offsetScale?: Vector4, shader?: Shader3D, shaderData?: ShaderData, subShader?: number): BlitFrameBufferCMD Defined in laya/d3/core/render/command/BlitFrameBufferCM...

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

97. video rmtp ERR_UNKNOWN_URL_SCHEME [ 72%]

...ement.style.zInddex = Laya.Render.canvas.style.zIndex + 1; var html = '<source src="rtmp://rtmp.open.ys7.com/openlive/2245d47a94b54c73bdbc628a10855c50" type="" /><source src="http://hls.open.ys7.com/openli ... ot%3B type="application/x-mpegURL" />'; videoElement.innerHTML = html; videoEl...

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

98. Clip组件Bug:Play方法无法结束循环 [ 71%]

...*/     _loop() {         if (this.visible && this._sources) {             if (this.toFrameIndex > -1 && this.frameIndex >= this.toFrameIndex) { this.stop(); }             else if (this.frameIndex >= this._sources.length)...

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

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

...r('#player'); if (Hls.isSupported()) { var hls:Object = new Hls(); hls.loadSource('http://content.jwplatform.com/manifests/vM7nH0Kl.m3u8');//加载m3u8源 hls.attachMedia(video); hls.on(Hls.Events.MANIFEST_PARSED,function():void{ video.play(); }); } plyr.setup(video); } } } ``` 编译运行代码,...

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

100. 修复图片加载跨域问题 [ 71%]

...下面这几行 line:11045  //image.crossOrigin=""; line:17497  //this._source.crossOrigin=""; line:17480  if (src.indexOf("data:image")!=0)this._source.crossOrigin=""; 仅供参考,没有详细研究,不知道会不会引发其他bug,希望对大家有帮助   2017-02-04 添加评论 免...

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