大约有 306 项符合查询结果, 库内数据总量为 31,560 项。 (搜索耗时: 0.0035 秒)
Laya_社区(117) Laya3.0_api(61) Laya2.0_api(57) laya_api(53) Laya2.0_文档(7) Laya_示例(6) Laya2.0_示例(3) Laya3.0_文档(2)
...Def); var debugDraw = new PDynamic.b2DebugDraw(); debugDraw.SetSprite(Laya.Render.canvas.getContext("2d")); debugDraw.SetDrawScale(this.worldScale); debugDraw.SetFillAlpha(0.5); debugDraw.SetFlags(PDynamic.b2DebugDraw.e_shapeBit | PDynamic.b2DebugDraw.e_jointBit); this.world.SetDebugDraw(debugDraw);...
来源: Laya_社区 发布时间: 20190401
...ment); // 设置Video元素地样式和属性 videoElement.style.zInddex = Render.canvas.style.zIndex + 1; videoElement.src = "http://127.0.0.1/upload/aa.mp4"; videoElement.controls = true; } 视频播放只有声音。没有视频,全屏按钮后。视频正常出现 2017-11-08 添加评论...
来源: Laya_社区 发布时间: 20171108
... //Browser.document.body.style.direction = "rtl"; Render._mainCanvas.source.style.direction = "rtl"; Text.RightToLeft = true; Browser.document.body.appendChild(Browser.canvas.source); } 2018-03-13 0 0 分享 ...
来源: Laya_社区 发布时间: 20180313
...暴露静态属性了,例如node下的_children MeshSprite3D类下的_render 附件 : --> 2020-01-16 添加评论 免费帖 --> 分享 微博 QZONE 微信 没有找到相关结果 已邀请: 与内容相关的链接 提交 1 个回复 Laya_Aaron 赞同来自: 把HDR相机关了再开抗锯齿 20...
来源: Laya_社区 发布时间: 20200116
...个问题请继续详细说明一下 ide\resources\app\out\vs\layaEditor\renders\laya.editorUI.xml 2018-08-13 0 0 分享 微博 QZONE 微信 为什么被折叠? 0 个回复被折叠 要回复问题请先登录 发起人 jacksing888 相关问题 关于微信小游戏关系链的问题 【屏幕...
来源: Laya_社区 发布时间: 20180810
...ment); // 设置Video元素地样式和属性 videoElement.style.zInddex = Render.canvas.style.zIndex - 1; videoElement.src = "mp4/ship.mp4"; //videoElement.autoplay="autoplay" videoElement.preload = "preload"; videoElement.setAttribute("x5-video-player-type", "h5"); videoElement.setAttribute("x5-vi...
来源: Laya_社区 发布时间: 20171222
...>>evalhttp://stand.alone.version/libs/laya.ui.js I/ViewRootImpl: CPU Rendering VSync enable = true I/LayaBox: alert=undefined:5155: SyntaxError: Block-scoped declarations (let, const, function, class) not yet supported outside strict mode let runtime = json.props.runtime; ^^^ SyntaxError: Bloc...
来源: Laya_社区 发布时间: 20180724
...i/clip_tree_arrow.png", "clipY": "2"}}], "type": "Box", "props": {"name": "render", "right": "0", "left": "0"}}; function Item() { Item.__super.call(this); this.right = 0; this.left = 0; var selectBox = new Clip("../../res/ui/tree/clip_selectBox.png", 1, 2); selectBox.name = "selectBox"; //设置 se...
来源: Laya_示例 发布时间: 20251130
...let tree = new Tree(); tree.scrollBarSkin = "res/ui/vscroll.png"; tree.itemRender = Item; tree.xml = xml; tree.size(300, 300); tree.x = (Laya.stage.width - tree.width) / 2; tree.y = (Laya.stage.height - tree.height) / 2; Laya.stage.addChild(tree); } } const Box = Laya.Box, Clip = Laya.Clip, Label = ...
来源: Laya2.0_示例 发布时间: 20251130
...ds[i]))._style && (ele=(childs [i]))._style.visible && ele.render(context,x,y); 这样就没有问题 附件 : --> 2018-04-15 添加评论 免费帖 --> 分享 微博 QZONE 微信 没有找到相关结果 已邀请: 与内容相关的链接 提交 2 个回复 w1114367261 赞同来自...
来源: Laya_社区 发布时间: 20180415