大约有 4,373 项符合查询结果, 库内数据总量为 31,722 项。 (搜索耗时: 0.0082 秒)
Laya_社区(2475) Laya3.0_api(673) Laya2.0_api(357) laya_api(289) Laya2.0_文档(271) Laya_示例(157) Laya2.0_示例(116) Laya3.0_文档(35)
...e.load("res/layaScene.ls")); scene.once(Laya.Event.HIERARCHY_LOADED, this, function (sceneTemp) { var camera = sceneTemp.getChildByName("Main Camera"); camera.transform.translate(new Laya.Vector3(0, 0, 200)); //移动camera });2.问题2:加载完看官方的demo要加相机和灯光,这个怎么...
来源: Laya_社区 发布时间: 20170828
...ss with type parameter Constructor Method Accessor Object literal Variable Function Type alias Enumeration Interface
来源: Laya3.0_api 发布时间: 20231115
... Laya.Texture2D.load("res/grass.png", Laya.Handler.create(this, function (tex: Laya.Texture2D): void { planeMat.albedoTexture = tex; })); //设置纹理平铺和偏移 var tilingOffset = planeMat.tilingOffset...
来源: Laya_社区 发布时间: 20201120
...ype parameter Constructor Property Method Accessor Object literal Variable Function Type alias Inherited property Inherited method Enumeration Interface
来源: Laya3.0_api 发布时间: 20231115
...a/compile.js 及 .laya/publish.js 将以上两个脚本中的如下代码function useOtherNode(){ return useIDENode||useCMDNode; }修改为:function useOtherNode(){ return true; } 至此,自动化编译、发布脚本已全部完成。 由于目前 layaair2-cmd 的 ui 命令,只能在 win...
来源: Laya_社区 发布时间: 20201223
... if (this._children) this._children.forEach(function (o, index, array) { var _style = o._style; if(_style) { _style._enableLayout && _style...
来源: Laya_社区 发布时间: 20200724
...s/comp.json", type: Loader.ATLAS }], Handler.create(this, this.onLoaded)); function onLoaded(): void { //实例UI界面 var testUI: TestUI = new TestUI(); Laya.stage.addChild(testUI); console.log("myref-onloaded", testUI.myref.getBounds()); console.log("mypan-onloaded", testUI.mypan.getBounds()); La...
来源: Laya_社区 发布时间: 20170720
...ByUniformBufferData unbind create getBuffer Legend Object literal Variable Function Type alias Class Class with type parameter Constructor Property Inherited property Inherited method Enumeration Interface
来源: Laya3.0_api 发布时间: 20231115
...ss with type parameter Constructor Method Accessor Object literal Variable Function Type alias Enumeration Interface Static method
来源: Laya3.0_api 发布时间: 20231115
...的。 /** *指定显示对象 *@param index */ __proto.showDisplayByIndex=function(index){ if (this._replaceDic[index]) index=this._replaceDic[index]; if (this.currSlotData && index >-1 && index < this.currSlotData.displayArr.length){ this.displayIndex=index; this.currDisplayD...
来源: Laya_社区 发布时间: 20180106