大约有 1,653 项符合查询结果, 库内数据总量为 31,580 项。 (搜索耗时: 0.0055 秒)
Laya_社区(1154) Laya3.0_api(151) Laya2.0_api(106) laya_api(97) Laya2.0_文档(85) Laya3.0_文档(42) Laya2.0_示例(9) Laya_示例(9)
...画面,画面需要手动设置渲染吗? //获取视频地址 let url = '---'; let videoPlayer: Video = new Video(); videoPlayer.load(url); videoPlayer.play(); let videoChecker = setInterval(function () { if (videoPlayer.ended) { //请求奖励 console.log('请求奖励'); clearInterval(video...
来源: Laya_社区 发布时间: 20170830
....1 无法连接wss 如题, Naitve无法连接wss 示例代码如下: const url = "wss://xxx.com:8888"; this.socket = new Laya.Socket(); this.socket.endian = Laya.Byte.BIG_ENDIAN; this.socket.on(Laya.Event.OPEN, this, this.onConnectSuccess); this.socket.on(Laya.Event.CLOSE, this, this.onDisonnect); t...
来源: Laya_社区 发布时间: 20180910
Not FoundLayaAirIDE_1.7.10_beta 無法下載 The requested URL /download/LayaAirIDE_1.7.10_beta.zip was not found on this server. The requested URL /download/LayaAirTS_1.7.10_beta.zip was not found on this server. 麻煩提供檔案到外網,好讓其他開發者下載。 2017-08-29 添加...
来源: Laya_社区 发布时间: 20170829
...信 hzzzo 赞同来自: 你可以看一下DEMO,在设置了基础路径URL.basePath之后,之前预加载的本地资源会失效。而预期的效果应该是加了基础路径之后不会影响到本地白名单中的资源 2019-10-24 0 1 分享 微博 QZONE 微信 Laya_Aaron 赞同来自: 这...
来源: Laya_社区 发布时间: 20191024
...助对象 ```typescript // gltf 模型文件 gltfFile: any = { skeleton: { url: "res/skeleton.gltf", type: Loader.JSON }, face: { url: "res/face.gltf", type: Loader.JSON }, eyes: { url: "res/eyes.gltf", type: Loader.JSON }, ... } // 装扮配置文件 makeupjson: any = { blusher: { cfg: "res/self/gl...
来源: Laya2.0_文档 发布时间: 20210715
...aded(){ for(let i in this.playerUnit){ Laya.Animation.createFrames(this.aniUrls("stand",4),"player"+i+"stand") //this.playerUnit[i].play(0,true,"player"+i+"stand"); this.playerUnit[i].play(); let bounds = this.playerUnit[i].getGraphicBounds(); this.p...
来源: Laya_社区 发布时间: 20200910
...Node transform : Transform3D[read-only] 获取精灵变换。 Sprite3D url : String 获取资源的URL地址。 Sprite3DPublic Methods Hide Inherited Public Methods Show Inherited Public Methods MethodDefined By Glitter() 创建一个 Glitter 实例。 Glitter _getSortID(renderElement:IRender...
来源: laya_api 发布时间: 20170929
... /** *@inheritDoc */ __proto.onAsynLoaded=function(url,data,params){ var json=data[0] if (json.type!=="Scene"){ if (url == "scene/Demo_Interiors.ls"){ console.log(data[0]); throw new Error("Scene: the .lh file root type must be Scene,please use other function t...
来源: Laya_社区 发布时间: 20180101
...总是显示longtime 。。在断点的情况下。 Laya.loader.load([{url: "res/atlas/longCard.json", type: Loader.ATLAS}], Handler.create(this, onLoaded)); 在onLoaded var textrue = Laya.loader.getRes(longcard/xxx.png)总是undedined。。。求解。。。 相关链接 : http://ask.layabox....
来源: Laya_社区 发布时间: 20170306
...Node transform : Transform3D[read-only] 获取精灵变换。 Sprite3D url : String 获取资源的URL地址。 Sprite3DPublic Methods Hide Inherited Public Methods Show Inherited Public Methods MethodDefined By Particle3D(setting:ParticleSetting) 创建一个 Particle3D 实例。 Particle3D ...
来源: laya_api 发布时间: 20170603