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

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

1641. [LayaAirIDE3]【插件开发】配置方式可以生成非常复杂的界面的部分疑惑 [ 47%]

...使用ComboBox显示,没办法直接展示出来 todo 待研究 items: ["Array", "Atlas", "Json"], visibleItemCount: 3, } } }, { name: "buttons", inspector: "Buttons", options: { buttons: [ { caption: "取消", event: "click_cancel_gen" }, { caption: "生成", event: "click_start_gen" } ] } } ] } ...

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

1642. 使用es6里面的MAP 然后加断点后IDE 报错 [ 47%]

...de_modules\vscode-chrome-debug-core\out\src\chrome\variables.js:120:43) at Array.map (native) at Object.getObjectPreview (d:\Tools\LayaAirIDE_beta\resources\app\extensions\laya-debug\node_modules\vscode-chrome-debug-core\out\src\chrome\variables.js:120:14) at ChromeDebugAdapter.createObjectVariable ...

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

1643. laya.resource.PrefabImpl_API3.0 [ 47%]

...ce/Resource.ts:124 内存大小。 Returns number deps get deps(): ReadonlyArray<Resource> Inherited from PrefabImpl.deps Defined in laya/resource/HierarchyResource.ts:31 Returns ReadonlyArray<Resource> destroyed get destroyed(): boolean Inherited from Resource.destroyed Defined in laya/...

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

1644. laya.gltf.glTFResource_API3.0 [ 47%]

...ce/Resource.ts:116 内存大小。 Returns number deps get deps(): ReadonlyArray<Resource> Inherited from PrefabImpl.deps Defined in laya/resource/HierarchyResource.ts:31 Returns ReadonlyArray<Resource> destroyed get destroyed(): boolean Inherited from Resource.destroyed Defined in laya/...

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

1645. putimagedata 不起作用 [ 47%]

...ort (imageData) { console.log(imageData) var data = imageData.data, copy = Array.prototype.slice.apply(data, [0]), w = imageData.width, h = imageData.height, i = 0, l = data.length, x, y, d for (i; i < l; i += 4) { if (data[i]!== 0) { console.log(data[i]) } x = i / 4 % w y = Math.ceil(i / 4 / w) ...

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

1646. laya.d3.core.pixelLine.PixelLineMaterial [ 47%]

...BaseMaterial _parse(data:*, propertyParams:Object = null, constructParams:Array = null):BaseMaterial[static] BaseMaterial _removeReference(count:int = 1):void[override] BaseMaterial clone():* 克隆。 BaseMaterial cloneTo(destObject:*):void 克隆。 BaseMaterial load(url:String, complete:Hand...

来源: Laya2.0_api 发布时间: 20190513

1647. 请问LayaAirUnityPlugin 1.1.0.unitypackage导出的.lsani文件怎么使用? [ 46%]

... : {[name:string]:AnimationTemplet} = {};         private meshes : Array<MeshSprite3D> = [];         private OnHierarchyLoaded() {             for (let v of this._childs[0]._childs) {                 let mesh = v as MeshSprite3D;             ...

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

1648. 数据、图片路径已加载到数组里面,要如何将图片路径赋值给skin?然后显示到list? [ 46%]

...mage}, m_label:allEquipArr[i].amount.toString()}); } } this.otherItem_list.array = data; //单元格鼠标事件处理函数 this.otherItem_list.mouseHandler = new Handler(this,otherItem_listRender); 是这样子的.我从服务端拿到数据,然后将数据直接传到UI拼接好的otherItem_list...

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

1649. 【求助】关于Cannot read property 'visible' of undefined问题 [ 46%]

...Sprite(); Laya.stage.addChild(foodSprite); this.index = 0; foodsList = new Array(); foodsList.push(new Food("菜品1", "1", 0)); foodsList.push(new Food("菜品2", "2", 1)); foodsList.push(new Food("菜品3", "3", 2)); foodsList.push(new Food("菜品4", "4", 3)); foodsList.push(new Food("菜品5", "...

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

1650. Sprite3D添加组件或脚本(ActionScript-3D基础(AS3)-LayaAir3D之精灵) [ 46%]

...stage.screenMode = Stage.SCREEN_NONE; //预加载所有资源 var resource:Array = ["res/threeDimen/skinModel/LayaMonkey/LayaMonkey.lh"]; Laya.loader.create(resource, Handler.create(this, onComplete)); } private function onComplete():void { //记载场景 var scene:Scene3D = Laya.stage.addChild(new ...

来源: Laya2.0_文档 发布时间: 20210714