大约有 799 项符合查询结果, 库内数据总量为 31,722 项。 (搜索耗时: 0.0063 秒)
Laya_社区(467) Laya3.0_api(111) Laya3.0_文档(62) Laya_示例(45) Laya2.0_api(42) laya_api(39) Laya2.0_文档(24) Laya2.0_示例(9)
...夹中的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
... 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
...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
...选择spine资源(.skel或者.json格式)。 存储路径:选择在resources目录下的自定义目录即可。 (图2-1) 点击烘焙动作按钮后,会有弹窗提示烘焙完成。 (图2-2) 如果选择的spine和IDE设置的spine版本不符,或者spine文件损坏会提示错...
来源: Laya3.0_文档 发布时间: 20251010
...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_示例 发布时间: 20260303
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
...ckage { import laya.display.Sprite; import laya.display.Stage; import laya.resource.HTMLCanvas; import laya.resource.Texture; import laya.ui.Image; import laya.utils.Handler; import laya.webgl.WebGL; public class LayaAirDemo { private var img:Image; public function LayaAirDemo() { Laya.init(800, 600...
来源: Laya_社区 发布时间: 20170704
...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
...(new Laya.MeshSprite3D(Laya.Mesh.load("3d/LayaScene_/Library/unity default resources-Cube.lm"))); var skinMesh1 = rootSkinMesh.addChild(new Laya.MeshSprite3D(Laya.Mesh.load("3d/LayaScene_/Library/unity default resources-Sphere.lm"))); LayaScene_.zip 2017-02-23 0 0 分享 微博 QZONE 微信 183*****...
来源: Laya_社区 发布时间: 20170223
... import laya.d3.math.Vector4; import laya.d3.math.Viewport; import laya.d3.resource.TextureCube; import laya.d3.resource.models.Mesh; import laya.d3.resource.models.SkyBox; import laya.display.Stage; import laya.utils.Stat; import common.CameraMoveScript; public class MultiCamera { public function M...
来源: Laya_示例 发布时间: 20260303