大约有 14 项符合查询结果, 库内数据总量为 30,786 项。 (搜索耗时: 0.0032 秒)
...GLContext.LINES, state); //绘出射线 this.phasorSpriter3D.line(this.ray.origin.x, this.ray.origin.y, this.ray.origin.z, 1.0, 0.0, 0.0, 1.0, 0, -1, 0, 1.0, 0.0, 0.0, 1.0); this.phasorSpriter3D.end(); } Laya3D.init(0, 0,true); Laya.stage.scaleMode = Laya.Stage.SCALE_FULL; Laya.stage.screenMode = La...
来源: Laya_社区 发布时间: 20170323
...ext.LINES, state); // //绘出射线 // this.phasorSpriter3D.line(this.ray.origin.x, this.ray.origin.y, this.ray.origin.z, 1.0, 0.0, 0.0, 1.0, 0, -1, 0, 1.0, 0.0, 0.0, 1.0); // this.phasorSpriter3D.end(); } var Stage = Laya.Stage; var Text = Laya.Text; var Geolocation = Laya.Geolocation; var Positio...
来源: Laya_社区 发布时间: 20170323
...么被折叠? 0 个回复被折叠 要回复问题请先登录 发起人 Originality 问题状态 最新活动: 2020-07-07 14:07 浏览: 275 关注: 1 人
来源: Laya_社区 发布时间: 20200707
...sition: absolute; left: 0px; top: 0px; background: rgb(0, 0, 0); transform-origin: 0px 0px 0px; transform: matrix(1, 0, 0, 1, 0, 0); width: 100%; height: 100%; display: block;"></canvas></div> 目前layaCanvas的大小是自适应屏幕的大小,建议改为自适应layaContainer更...
来源: Laya_社区 发布时间: 20180124
...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
...好的,在谷歌下报错运行不了 报的是这个错 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
...= new Laya.HTMLDivElement(); let imgUrl = 'images/kb-emoji-U+E056.png'; // origin width/height: 64/64px; //let imgStr = `<img src="${imgUrl}" width="30" height="30"></img>`; let imgStr = `<img src="${imgUrl}" style="width:30px;height:30px"></img>`; htmlDiv.style.color = '#fff...
来源: Laya_社区 发布时间: 20170511
...果 new function() { var className = 'Game'; window[className] = (function(original) { function Class() { this.arr = [ "res/atlas/lucky8.json", "res/atlas/lucky8/lewinlineicons.json", "res/atlas/lucky8/setting.json", "res/atlas/lucky8/setView.json", "res/atlas/lucky8/kj.json", "res/atlas/lucky8/mh.j...
来源: Laya_社区 发布时间: 20170803
...输出: Failed to load file:///E:/LayaEmptyRelease/version.json: Cross origin requests are only supported for protocol schemes: http, data, chrome, chrome-extension, https. [warn]Retry to load: version.json 资源版本清单文件不存在,不使用资源版本管理。忽略ERR_FILE_NOT_FOUND...
来源: Laya_社区 发布时间: 20180416
...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_社区 发布时间: 20180211