大约有 15 项符合查询结果, 库内数据总量为 30,786 项。 (搜索耗时: 0.0026 秒)
...e3D.load("../../res/threeDimen/staticModel/LayaPlane/LayaPlane.lh")); Laya.loader.create([ "../../res/threeDimen/scene/Arena/Arena.ls", "../../res/threeDimen/staticModel/LayaPlane/LayaPlane.lh" ], Laya.Handler.create(this, onComplete)); function onComplete() { setMaterials(scene.getChildByName("scen...
来源: Laya_示例 发布时间: 20241124
...AStarMap.png", clas: Laya.Texture2D, priority: 1, params: [true] } ]; Laya.loader.create(resource, Laya.Handler.create(this, onLoadFinish)); function onLoadFinish() { //初始化3D场景 this.scene = Laya.stage.addChild(Laya.Scene.load("../../res/threeDimen/scene/TerrainScene/XunLongShi.ls")); //删...
来源: Laya_示例 发布时间: 20241124
...attack","left_fall","right_fall","back_fall"]; var curStateIndex = 0; Laya.loader.load(["../../res/threeDimen/ui/button.png"], Laya.Handler.create(null, function () { changeActionButton = Laya.stage.addChild(new Laya.Button("../../res/threeDimen/ui/button.png", "切换动作")); changeActionButton.s...
来源: Laya_示例 发布时间: 20241124
...糊等级,越大越高,更耗性能 directionLight.shadowPCFType = 3; Laya.loader.create([ "../../res/threeDimen/staticModel/grid/plane.lh", "../../res/threeDimen/skinModel/LayaMonkey/LayaMonkey.lh" ], Laya.Handler.create(this, onComplete)); var _quaternion = new Laya.Quaternion(); Laya.timer.frameL...
来源: Laya_示例 发布时间: 20241124
...'; var envinfo = '../../res/threeDimen/env/' + env + '/envinfo.json'; Laya.loader.load(envinfo, Laya.Handler.create(this, onEnvDescLoaded, [envinfo, '../../res/threeDimen/env/' + env + '/'])); function onEnvDescLoaded(envinfo, envpath) { var envinfoobj = Laya.loader.getRes(envinfo); var camera = new...
来源: Laya_示例 发布时间: 20241124
..., 1, 1); var completeHandler = Laya.Handler.create(this, onComplete); Laya.loader.create("../../res/threeDimen/skinModel/dude/dude.lh", completeHandler); function onComplete() { var dude1 = this.scene.addChild(Laya.Sprite3D.load("../../res/threeDimen/skinModel/dude/dude.lh")); dude1.transform.positi...
来源: Laya_示例 发布时间: 20241124
...ctor3(0, -0.8, -1); directionLight.color = new Laya.Vector3(1, 1, 1); Laya.loader.create("../../res/threeDimen/staticModel/lizardCal/lizardCaclute.lh", Laya.Handler.create(this, onComplete)); function onComplete() { var monster1 = this.scene.addChild(Laya.Sprite3D.load("../../res/threeDimen/staticMo...
来源: Laya_示例 发布时间: 20241124
...); camera.transform.rotate(new Laya.Vector3(-15, 0, 0), true, false); Laya.loader.create("../../res/threeDimen/skinModel/LayaMonkey/LayaMonkey.lh", Laya.Handler.create(this, onComplete)); function onComplete() { var layaMonkey = scene.addChild(Laya.Sprite3D.load("../../res/threeDimen/skinModel/LayaM...
来源: Laya_示例 发布时间: 20241124
...lse); var directionLight = scene.addChild(new Laya.DirectionLight()); Laya.loader.create("../../res/threeDimen/skinModel/LayaMonkey/LayaMonkey.lh", Laya.Handler.create(this, onComplete)); function onComplete() { layaMonkey3D = scene.addChild(Laya.Sprite3D.load("../../res/threeDimen/skinModel/LayaMon...
来源: Laya_示例 发布时间: 20241124
...SkinAnimation(spirit3D._childs[i], index); } private loadUI(): void { Laya.loader.load(["../../res/threeDimen/ui/button.png"], Laya.Handler.create(this, function (): void { this.changeActionButton = Laya.stage.addChild(new Laya.Button("../../res/threeDimen/ui/button.png", "切换动作")) as Laya.Bu...
来源: Laya_示例 发布时间: 20241124