大约有 3,269 项符合查询结果, 库内数据总量为 31,625 项。 (搜索耗时: 0.0072 秒)
...id { // 鼠标点击触发播放 Laya.stage.on(Laya.Event.MOUSE_DOWN, () => { Laya.loader.load("resources/layaAir.mp4").then(() => { this.video.play(); //播放视频 }); }) } } 如果是在LayaAir IDE中运行,则VideoNode无需通过事件触发播放。但是在Chrome中,自动播放只...
来源: Laya3.0_文档 发布时间: 20251010
...s id="myCanvas" width="200" height="100" style="border:1px solid #c3c3c3;"> Your browser does not support the canvas element. </canvas> var c=document.getElementById("myCanvas"); var cxt=c.getContext("2d"); var img=new Image() img.src="http://pic.qqtn.com/up/2016-11 ... 3B%3B img.o...
来源: Laya_社区 发布时间: 20170602
...码中使用到的资源放到resources目录下,或者在构建发布->通用->始终包含的资源目录 进行设置 2024-09-14 0 0 分享 微博 QZONE 微信 为什么被折叠? 0 个回复被折叠 该问题目前已经被锁定, 无法添加新回复 发起人 小腊鸡 相关问...
来源: Laya_社区 发布时间: 20240304
...形),点击自动适配大小无效(节点锚点是中点) 刚体组件->碰撞形状(圆形)->自动适配大小无效 (节点锚点是中点) 附件 : --> demo.zip 2025-10-29 添加评论 免费帖 --> 分享 微博 QZONE 微信 没有找到相关结果 已邀请: 与内容相关的链接 ...
来源: Laya_社区 发布时间: 20251029
...html中已经加了 <script type="text/javascript" src="libs/laya.debugtool.js"></script> 在Laya.init()后面也加了 Laya.DebugPanel.init(); 运行报错, message: 'Property 'DebugPanel' does not exist on type 'typeof Laya'.' "Laya.DebugPanel.init is not a function" 2018-03-08 添...
来源: Laya_社区 发布时间: 20180308
...ullPassBase Accessors cullList get cullList(): SingletonList<BaseRender> Defined in laya/d3/RenderObjs/NativeOBJ/NativeCullPass.ts:18 Returns SingletonList<BaseRender> Methods cullByCameraCullInfo cullByCameraCullInfo(cameraCullInfo: ICameraCullInfo, renderManager: ISceneRenderManager): ...
来源: Laya3.0_api 发布时间: 20231115
...tml 里添加了<script type="text/javascript" src="libs/byteBuffer.js"></script>,但是还是用不了这个类 2017-06-28 添加评论 免费帖 --> 分享 微博 QZONE 微信 没有找到相关结果 已邀请: 与内容相关的链接 提交 4 个回复 kongbu0621 赞同来自: ...
来源: Laya_社区 发布时间: 20170628
...= 200; div.style.color = "#black"; for(let i=0; i<FaceView.faceArray.length; i++) { txt = txt.replace(FaceView.repl,'<img src="res/face/face'+i+'.png" style="width:36px;height:36px;position:relative;top:30px;"></img>'); } div.pos(30,5); div.innerHTML = txt; div.width = div.contextWidt...
来源: Laya_社区 发布时间: 20170911
...: 3 人 SNAKE • 2019-03-13 14:37 不支持的属性我只找到这些: >>> 材质动画/刚体动画:只支持对物理的旋转平移缩放属性,材质的基本属性,不支持组件跟节点的开启/失效。如果开发者对新的属性有要求,请跟帖反馈,并提供...
来源: Laya_社区 发布时间: 20190313
...="101545231" data-redirecturi="http://wuyelieren.top:81/user/qqLogin"> </script> 引入后要怎么运用呢?求大佬指导指导 附件 : --> 2019-01-27 添加评论 免费帖 --> 分享 微博 QZONE 微信 没有找到相关结果 已邀请: 与内容相关的链接 提交 1 ...
来源: Laya_社区 发布时间: 20190127