大约有 176 项符合查询结果, 库内数据总量为 31,560 项。 (搜索耗时: 0.0032 秒)
...3d更换模型和贴图的方法 meshSprite3D.meshFilter.sharedMesh = Mesh.load 2018-04-12 添加评论 免费帖 --> 分享 微博 QZONE 微信 没有找到相关结果 已邀请: 与内容相关的链接 提交 1 个回复 w1114367261 赞同来自: https://ldc.layabox.com/doc/?nav=zh-as-4-0-6 2018...
来源: Laya_社区 发布时间: 20180412
...回复问题请先登录 发起人 shiyang 相关问题 分享:LayaAir下Loading进度条的制作(ActionScript 3.0) 两个对象new了一个相同的对象,调用第一个的一个方法,走进了第二方法里 分享:自定义事件派发与侦听(A页面派发 B页面侦听) 分...
来源: Laya_社区 发布时间: 20190923
Sprite的loadImage和Image的skin的区别 手上做的项目涉及的资源会很多, 所以打算一些资源只有用到的时候在加载并且不缓存,但发现如果用Sprite的loadImage加载过的资源通过 通过Laya.loader.getRes可以获取到 说明被缓存了,但用Image的sk...
来源: Laya_社区 发布时间: 20191120
关于材质问题 mesh.once(Laya.Event.LOADED, null, function () { var material = meshSprite.meshRender.sharedMaterials[0]; material.albedo = new Laya.Vector4(0.0,0.0,0.0,0.0); material.renderMode = Laya.BaseMaterial.RENDERMODE_OPAQUEDOUBLEFACE; material.reflectTexture = textureCube; }); 为什么...
来源: Laya_社区 发布时间: 20161215
...sprite 跟graphics.drawTexture 有什么区别 var downScoreTexture = Laya.loader.getRes("img/game/kc/score.png"); var _downScore = new Sprite(); _downScore.pos(150,130); _downScore.graphics.drawTexture(downScoreTexture); touPane.addChild(_downScore); 这个东西,跟 直接new sprite 然后loadim...
来源: Laya_社区 发布时间: 20170811
...noramicMaterial = new SkyPanoramicMaterial(); Texture2D.load("res/jfb.jpg", Handler.create(null, function (tex: Texture2D) { material.panoramicTexture = tex; skymat.material = material; })); 2020-03-19 0 0 ...
来源: Laya_社区 发布时间: 20200319
...SKY; var skyBox = new Laya.SkyBox(); skyBox.textureCube = Laya.TextureCube.load("../../res/threeDimen/skyBox/skyBox2/skyCube.ltc"); camera2.sky = skyBox; var directionLight = scene.addChild(new Laya.DirectionLight()); var layaMonkey = scene.addChild(Laya.Sprite3D.load("../../res/threeDimen/skinModel...
来源: Laya_示例 发布时间: 20251130
... fullscreenchange[static] 浏览器全屏更改时触发Event HIERARCHY_LOADED : String = hierarchyloaded[static] 定义 hierarchyloaded 事件对象的 type 属性值。Event INPUT : String = input[static] 定义 input 事件对象的 type 属性值。Event KEY_DOWN : String = keydown[stat...
来源: laya_api 发布时间: 20170929
...0.0, 3.0); pointLight.range = 3.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
... //创建男角色模型 this.roleMan = new Laya.MeshSprite3D(Laya.Mesh.load("man/hero-mon_1129.lm")); this.roleMan.transform.localScale = new Laya.Vector3(0.01,0.01,0.01); this.roleMan.transform.localPosition = new Laya.Vector3(0,-0.5,-3); this.scene.addChild(this.roleMan); //给男角色添加...
来源: Laya_社区 发布时间: 20180725