大约有 176 项符合查询结果, 库内数据总量为 31,560 项。 (搜索耗时: 0.0034 秒)
... Laya.SkyBox(); camera.sky = skyBox; skyBox.textureCube = Laya.TextureCube.load("../../res/threeDimen/skyBox/skyBox1/skyCube.ltc");class SkyBoxSample { constructor() { Laya3D.init(0, 0, true); Laya.stage.scaleMode = Laya.Stage.SCALE_FULL; Laya.stage.screenMode = Laya.Stage.SCREEN_NONE; Laya.Stat.sho...
来源: Laya_示例 发布时间: 20251130
...用了。 > 使用自定义材质 ```typescript //加载网格 Laya.Mesh.load("res/threeDimen/skinModel/LayaMonkey/Assets/LayaMonkey/LayaMonkey-LayaMonkey.lm", Laya.Handler.create(this, function(mesh) { //设置猴子 var layaMonkey = scene.addChild(new Laya.MeshSprite3D(mesh)); layaMonkey.transform...
来源: Laya2.0_文档 发布时间: 20210715
...么加载? var rigMesh = scene.addChild(new Laya.MeshSprite3D(Laya.Mesh.load("./Assets/bianfuyu-body.lm"))); var rigAni = rigMesh.addComponent(Laya.RigidAnimations); rigAni.templet = Laya.Animation.Animation("./Assets/bianfuyu-Take_001.lani"); rigAni.player.play(); 不知道lav 文件该...
来源: Laya_社区 发布时间: 20170717
...法 //载入并显示鱼模型 var fish = new Laya.MeshSprite3D(Laya.Mesh.load("fish/denglongyu/denglongyuANI-denglongyu.lm")); scene.addChild(fish); var fishmaterial = new Laya.StandardMaterial(); //漫反射贴图 fishmaterial.diffuseTexture = Laya.Texture2D.load("fish/denglongyu/denglongyu1.jpg")...
来源: Laya_社区 发布时间: 20170918
...加载并显示模型 roleMan = new MeshSprite3D(Mesh.load("3d/man/hero-mon_1129.lm")); roleMan.transform.localScale = new Vector3(0.01, 0.01, 0.01); roleMan.transform.localPosition = new Vector3(0, -0.5, -3); scene....
来源: Laya_社区 发布时间: 20170401
...:Boolean 检测指定事件类型是否是鼠标事件。 EventDispatcher load(url:String, complete:Handler):void[static] 加载网格模板。 Sprite3D off(type:String, caller:*, listener:Function, onceOnly:Boolean = false):EventDispatcher 从 EventDispatcher 对象中删除侦听器。 EventDisp...
来源: Laya2.0_api 发布时间: 20190513
...复 183*****755 赞同来自: qq1194265406 var staticMesh = Laya.Sprite3D.load("tlj/tlj.lh"); staticMesh.once(Laya.Event.HIERARCHY_LOADED, null, function (sprite) { sprite.transform.position = new Laya.Vector3(0,0,-100); }); 在游戏中 调整模型的位置需要在场景加载完后...
来源: Laya_社区 发布时间: 20170316
...放 加载的sprite3D如何正确的释放,有没有统一的方式。 Loader.create方法添加来的贴图资源,怎么释放销毁? 附件 : --> TestLaya.zip 2017-12-05 添加评论 免费帖 --> 分享 微博 QZONE 微信 没有找到相关结果 已邀请: 与内容相关的链...
来源: Laya_社区 发布时间: 20171205
...3( -15, 0, 0), true, false); var layaMonkey = scene.addChild(Laya.Sprite3D.load("../../res/threeDimen/skinModel/LayaMonkey/LayaMonkey.lh"));class Sprite3DLoad { constructor() { Laya3D.init(0, 0, true); Laya.stage.scaleMode = Laya.Stage.SCALE_FULL; Laya.stage.screenMode = Laya.Stage.SCREEN_NONE; var ...
来源: Laya_示例 发布时间: 20251130
...= new Laya.Vector3(0, -1.0, -1.0); var grid = scene.addChild(Laya.Sprite3D.load("../../res/threeDimen/staticModel/grid/plane.lh")); var layaMonkey = scene.addChild(Laya.Sprite3D.load("../../res/threeDimen/skinModel/LayaMonkey/LayaMonkey.lh")); layaMonkey.once(Laya.Event.HIERARCHY_LOADED, this, funct...
来源: Laya_示例 发布时间: 20251130