大约有 842 项符合查询结果, 库内数据总量为 31,580 项。 (搜索耗时: 0.0043 秒)
Laya_社区(496) Laya3.0_api(111) Laya3.0_文档(70) Laya_示例(45) Laya2.0_api(42) laya_api(39) Laya2.0_文档(30) Laya2.0_示例(9)
...相关的链接 提交 2 个回复 zfree 赞同来自: 附件是LayaAirIDE\resources\app\out\vs\layaEditor\renders\custom custom.zip 2016-10-10 0 0 分享 微博 QZONE 微信 cuixueying 赞同来自: 请问你是什么语言的项目(你上面的路径是对的) 目前我们提供了as自定...
来源: Laya_社区 发布时间: 20161010
...: void { //使用Prefab,需要转换根节点为Dialog Laya.loader.load("resources/Prefab2D.lh").then(res => { let dlg: Laya.Dialog = res.create(); dlg.open(); }); } } 运行效果如下: (动图) 二、通过代码创建Dialog 在进行书写代码的时候,免不了通过代码控制U...
来源: Laya3.0_文档 发布时间: 20251024
...夹中的ScaleButton.js和ScaleButton.xml文件放到IDE所在文件夹的resources\app\out\vs\layaEditor\renders\custom目录下。然后准备一张命名为sbtn的图片放到IDE所在文件夹的resources\app\out\vs\layaEditor\laya\icons\components目录下。重启IDE到编辑模式下打开现...
来源: Laya_社区 发布时间: 20170321
...f";//设置画布的背景颜色。 Laya.loader.load("resource/ui/color.png", Handler.create(this,onLoadComplete));//加载资源。 } private function onLoadComplete():void { trace("资源加载完成!"); ...
来源: Laya_社区 发布时间: 20171120
...到IDE的目录下:C:\Users\Administrator\Desktop\LayaAirIDE_1.7.10_beta\resources\app 打开命令行工具cmd,输入npm install jsonc-parser下载一个文件,然后重启IDE试下! 命令行显示大概是: C:\Users\Administrator\Desktop\LayaAirIDE_1.7.10_beta\resources\app>npm in...
来源: Laya_社区 发布时间: 20170908
...omplete方法中通过getRes方法获取不到。部分代码如下: var resources = [ { url: "res/atlas/images/guide.atlas", type: Laya.Loader.ATLAS }, { url: "config/data.txt", type: Laya.Loader.BUFFER }]; Laya.loader.load(resources, Handler.create(this, this.onComplete), Handler.create(this, th...
来源: Laya_社区 发布时间: 20180816
... 3 个回复 kylin 赞同来自: 替换下IDE目录中的这两个文件: resources\app\out\vs\layaEditor\h5\layabuilder.max.js resources\app\out\vs\layaEditor\renders\laya.editorUI.xml 因为这个版本已经封板了,修复版本可能会在9月份或者10月份了 Desktop.zip 2020-08-05 ...
来源: Laya_社区 发布时间: 20200804
...mport laya.d3.math.Quaternion; import laya.d3.math.Vector3; import laya.d3.resource.Texture2D; import laya.d3.resource.models.CapsuleMesh; import laya.d3.resource.models.Mesh; import laya.d3.resource.models.SphereMesh; import laya.d3.shader.Shader3D; import laya.d3.shader.ShaderCompile3D; import lay...
来源: Laya_示例 发布时间: 20251209
Laya.loader.create 不会反馈失败状态跟描述不符合 var resource:Array<string> = ["scene/Conventional/scene2.ls"] Laya.loader.create(resource, Laya.Handler.create(this, (success:boolean) => { console.log("3d加载完毕:" + success); }),Laya.Handler.create(this, (progress: number...
来源: Laya_社区 发布时间: 20190626
...ckagelaya.d3.terrainClasspublic class TerrainResInheritanceTerrainRes laya.resource.Resource TerrainRes 类用于描述地形信息。 Public Properties PropertyDefined By _alphaMaps : Vector.<String>TerrainRes _cameraCoordinateInverse : BooleanTerrainRes _chunkInfos : Vector.<Chu...
来源: Laya2.0_api 发布时间: 20190513