• 首页
  • 动态
  • 案例
  • 引擎社区
  • API
  • 文档
  • 示例
  • 引擎下载

大约有 292 项符合查询结果, 库内数据总量为 31,722 项。 (搜索耗时: 0.0092 秒)

281. 请问2.0中js怎么加天空盒子或穹顶,官网例子运行报错。 [ 50%]

...camera)中看sky属性如下 Camera clearFlag : 1 cullingMask : 2147483647 destroyed : false enableRender : true name : "New Sprite3D" sky : SkyDome _bufferState : BufferState _bindedIndexBuffer : IndexBuffer3D _nativeVertexArrayObject : WebGLVertexArrayObjectOES __proto__ : BufferStateBase _indexBu...

来源: Laya_社区 发布时间: 20181203

282. laya.html.dom.HTMLIframeElement_API3.0 [ 50%]

...blendMode cacheAs components contextHeight contextWidth customRenderEnable destroyed displayHeight displayWidth displayedInStage drawCallOptimize filters globalRotation globalScaleX globalScaleY graphics height hideFlags hitArea href innerHTML is3D mask mouseEnabled mouseX mouseY numChildren parent ...

来源: Laya3.0_api 发布时间: 20231102

283. laya.html.dom.HTMLDivElement_API3.0 [ 50%]

...blendMode cacheAs components contextHeight contextWidth customRenderEnable destroyed displayHeight displayWidth displayedInStage drawCallOptimize filters globalRotation globalScaleX globalScaleY graphics height hideFlags hitArea innerHTML is3D mask mouseEnabled mouseX mouseY numChildren parent pivot...

来源: Laya3.0_api 发布时间: 20231102

284. setSubPixels画布擦除不掉 [ 50%]

...argets.restore(); let dt = _targets.getData(0, 0, w, h);//像素数据 ctx.destroy(); if(!this.aImg){ let aImg:Laya.Image = new Laya.Image(this.aUrl); aImg.scaleX = aImg.scaleY = 2; Laya.stage.addChild(aImg); aImg.mouseEnabled = false; this.aImg = aImg; } //清除目标纹理的像素 let _sourceTex...

来源: Laya_社区 发布时间: 20230328

285. laya.ui.Dialog [ 48%]

...性,使用大括号可以指定组件的任意属性进行赋值。 Box destroyed : Boolean[只读]是否已经销毁。对象销毁后不能再使用。Node disabled : Boolean 是否禁用页面,设置为true后,会变灰并且禁用鼠标。Component displayedInStage : Boolean[read-only] ...

来源: laya_api 发布时间: 20170929

286. 安装layaair2-cmd一直失败 [ 43%]

...at TLSSocket.emit (events.js:210:5)     at emitErrorNT (internal/streams/destroy.js:92:8)     at emitErrorAndCloseNT (internal/streams/destroy.js:60:3)     at processTicksAndRejections (internal/process/task_queues.js:80:21) > gifsicle@4.0.1 postinstall C:\Users\Administrator\AppData\Roamin...

来源: Laya_社区 发布时间: 20200211

287. 分包后, 资源加载问题 [ 41%]

...ing100.prototype; console.log("kk7") __proto.cleanMe=function(){ this.load.destroy(true); } console.log("kk8") loading100.FINISH="FN"; console.log("kk9") return loading100; })(Sprite) //class ui.loadingjzaUI extends laya.ui.View var loadingjzaUI=(function(_super){ function loadingjzaUI(){ this.loadi...

来源: Laya_社区 发布时间: 20170725

288. LayaAir能做RPG吗?不要问我能不能,因为我已经在做 - 杀意来袭 [ 38%]

...lo.disconnect();         }         /** 销毁*/         public destroy(): void {             this.close();             this.pomelo = null;             if(this.mDecorate)this.mDecorate.destroy();             this.mDecorate = null;         }     }   /** socke...

来源: Laya_社区 发布时间: 20161109

289. 微信小游戏加载资源问题 [ 34%]

...his.readyUrl]; if (ad) { ad.src = ""; if (ad._sound) { ad._sound.destroy(); ad._sound = null; ad = null; } delete MiniSound._audioCache[this.readyUrl]; } if (this._sound) { this._sound.destroy(); this._sound = null; this.readyUrl = this.url = null; } } } MiniSound._id = 0; MiniSound._audio...

来源: Laya_社区 发布时间: 20200103

290. 3D场景环境设置 · LayaAir3.4 · 引擎文档 · LAYABOX [ 31%]

...景 Laya.Scene.close("scene/Login.ls") //销毁指定的场景 Laya.Scene.destroy("scene/Login.ls") 8.2 场景资源加载 示例代码如下: //用Laya.Scene3D的方式加载 Laya.Scene3D.load('scene/Game.ls', Laya.Handler.create(null, function (res:any){ Laya.stage.addChild(res); })); //用Laya....

来源: Laya3.0_文档 发布时间: 20251010