大约有 156 项符合查询结果, 库内数据总量为 30,786 项。 (搜索耗时: 0.0035 秒)
Laya_社区(95) Laya3.0_api(18) Laya2.0_api(16) laya_api(15) Laya2.0_文档(10) Laya3.0_文档(1) Laya_示例(1)
...r a given function, creates a bound function that has the same body as the original function. * The this object of the bound function is associated with the specified object, and has the specified initial parameters. * @param thisArg An object to which the this keyword can refer inside the new funct...
来源: Laya_社区 发布时间: 20180130
...好的,在谷歌下报错运行不了 报的是这个错 Image from origin 'file://' has been blocked from loading by Cross-Origin Resource Sharing policy: Invalid response. Origin 'null' is therefore not allowed access. 2016-08-31 0 2 分享 微博 QZONE 微信 xiaobear250 赞同来自: 写得...
来源: Laya_社区 发布时间: 20160722
...0px; width:100px; height:100px; background-color:yellow; -webkit-transform-origin: 0 0; /* Safari 和 Chrome */ -webkit-transform:skew(0,110deg); /* Safari 和 Chrome */ } </style> </head> <body> <div>Hello World</div> </body> </html> 2016-08-17 0 0 分享 ...
来源: Laya_社区 发布时间: 20160815
...:/Users/suteam/Documents/demoBojue_Laya/bin/h5/other/spine/kente.sk: Cross origin requests are only supported for protocol schemes: http, data, chrome, chrome-extension, https. 2018-01-11 添加评论 免费帖 --> 分享 微博 QZONE 微信 没有找到相关结果 已邀请: 与内容相关的链...
来源: Laya_社区 发布时间: 20180111
...中的跨域webaudio自动播放。参考Block Web Audio autoplay on cross origin iframes https://bugs.chromium.org/p/ch ... 14115 为了解决这个问题,我又参考了https://github.com/photonstorm/phaser/issues/2913 在引擎WebAudioSound源码中添加了几行,解决了问题。官方...
来源: Laya_社区 发布时间: 20171114
...ction: Upgrade Pragma: no-cache Cache-Control: no-cache Upgrade: websocket Origin: file:// Sec-WebSocket-Version: 13 User-Agent: Mozilla/5.0 (Windows NT 10.0; WOW64) AppleWebKit/537.36 (KHTML, like Gecko) LayaAirIDE/1.12.2 Chrome/56.0.2924.87 Electron/1.6.6 Safari/537.36 Accept-Encoding: gzip, defla...
来源: Laya_社区 发布时间: 20181120
...r: Failed to execute 'texSubImage2D' on 'WebGLRenderingContext': The cross-origin image at http://127.0.0.1/laya/studyLay ... y.png may not be loaded. 对应的js错误行代码: (xoffset-1 >=0)&& (gl.texSubImage2D(0x0DE1,0,xoffset-1,yoffset,0x1908,0x1401,bitmap)); 2016-06-01 添加...
来源: Laya_社区 发布时间: 20160601
...xt = Laya.WebGLContext; export class SceneScript extends Script { private _originPosition:Vector3 = new Vector3(0, -1, 1); private _phasorSpriter3D:PhasorSpriter3D; private _color:Vector4 = new Vector4(1, 0, 0, 1); private _point:Vector2 = new Vector2(); private _camera:Camera; private _ray:Ray = ne...
来源: Laya_社区 发布时间: 20180201
...uest.url, this.currentRequest.data, "post", "text", ["Access-Control-Allow-Origin","*", "Access-Control-Allow-Headers","X-Requested-With", "Access-Control-Allow-Methods","GET,POST"]); 2020-06-29 0 0 分享 微博 QZONE 微信 金风 赞同来自: 解决了 网址带参数的情况 post会自动变...
来源: Laya_社区 发布时间: 20200629
...sition: absolute; left: 0px; top: 0px; background: rgb(0, 0, 0); transform-origin: 0px 0px 0px; transform: matrix(1, 0, 0, 1, 0, 0);"></canvas> var canvas:any = document.getElementById("layaCanvas"); var ctx = canvas.getContext("2d"); ctx.fillStyle = "red"...
来源: Laya_社区 发布时间: 20170502