大约有 4,373 项符合查询结果, 库内数据总量为 31,722 项。 (搜索耗时: 0.0159 秒)
Laya_社区(2475) Laya3.0_api(673) Laya2.0_api(357) laya_api(289) Laya2.0_文档(271) Laya_示例(157) Laya2.0_示例(116) Laya3.0_文档(35)
... uvs vertices x y ID getBoundPoints recover Legend Object literal Variable Function Type alias Class Class with type parameter Property Method Enumeration Interface Static property
来源: Laya3.0_api 发布时间: 20231115
...后,js里调用canvas.getContext("2d"); 报错canvas.getContext is not a function。 2018-04-11 添加评论 免费帖 --> 分享 微博 QZONE 微信 没有找到相关结果 已邀请: 与内容相关的链接 提交 2 个回复 Charles 赞同来自: 我需要把laya里的sprite转成canvas,好...
来源: Laya_社区 发布时间: 20180411
...ss with type parameter Constructor Method Accessor Object literal Variable Function Type alias Enumeration Interface Inherited accessor
来源: Laya3.0_api 发布时间: 20231115
...ngpf_ • 2016-11-24 15:01 @cuixueying:有个警告 1008: return value for function“onResize”没有类型声明。 Physics_Cloth.as /物理demo/src 第 81 行 Flex 问题 kongpf_ • 2016-11-24 18:30 可能是我的flashbuilder配置不正确,打开例子重新编译时会报错。 cuixueying ...
来源: Laya_社区 发布时间: 20161124
...回复 腊笔小新 赞同来自: 正确的写法: override protected function _onEnable():void { for (var i = 0, n = this._controllerLayers.length; i < n; i++) { if (this._controllerLayers[i].playOnWake) { var controllerLayer = this._controllerLayers[i]; var curPlayState = controllerLayer._...
来源: Laya_社区 发布时间: 20190513
...音乐了: document.addEventListener("WeixinJSBridgeReady",function(){ audio.play(); },false); 2017-06-23 1 2 分享 微博 QZONE 微信 cuixueying 赞同来自: 这个是浏览器自身的限制,有的浏览器必须有一个人为的触发行为...
来源: Laya_社区 发布时间: 20170621
...s/res/image/fireIcon.png",0,0,200,200,new Laya.Handler(this,onloadImage)); function onloadImage(){ console.log('图片加载结束'); Laya.stage.addChild(fireIcon); } 资源的结构为: |-.laya |-bin |-laya |-assets |-res |-image |-fireIcon.png |-libs |-src 2018-06-...
来源: Laya_社区 发布时间: 20180619
...实现了,但是2.0 最新版 接口变了, Texture 的drawto public function setTo(bitmap:Texture2D = null, uv:Array = null, sourceWidth:Number = 0, sourceHeight:Number = 0):void { 变成了Textrue2d了, 像以前1.x版本Textrue 还能用htmlcanvas,现在不能用了。而且直接强传...
来源: Laya_社区 发布时间: 20190624
...ader.load("res/atlas/ui/boos.atlas", Laya.Handler.create(this, onLoaded)); function onLoaded() { // //创建一个Animation实例 // var tl = new Laya.Animation(); // //加载动画文件 // tl.loadAnimation("test.ani"); // //添加到舞台 // Laya.stage.addChild(tl); // //播放Animation动画 // ...
来源: Laya_社区 发布时间: 20190708
...arser? 以下是laya.wxmini.js中的代码 MiniAdpter.parseXMLFromString=function(value){ var rst; var Parser; value=value.replace(/>\s+</g,'><'); try { /*__JS__ */rst=(new window.Parser.DOMParser()).parseFromString(value,'text/xml'); }catch (error){ throw "需要引入xml解析库文...
来源: Laya_社区 发布时间: 20180516