大约有 68 项符合查询结果, 库内数据总量为 31,722 项。 (搜索耗时: 0.0045 秒)
... directionLight.transform.worldMatrix = mat; //材质加载 this.mat1 = new Laya.BlinnPhongMaterial; //添加漫反射贴图 Laya.Texture2D.load("res/threeDimen/Physics/rocks.jpg", Laya.Handler.create(this, function (tex) { t...
来源: Laya_社区 发布时间: 20201127
...关系链:LayaAir引擎针对微信小游戏好友关系链实现方案 加载到舞台的3D模型不显示贴图 从unity导出的场景透贴和模型烘焙的灯光不显示,请问有知道是什么原因的吗?~~~~~~~~~~~~~ unity中的模型导出后在laya中显示不正常 2.1.1.1引擎...
来源: Laya_社区 发布时间: 20170707
...自动滚屏,使得新添加的元素始终保持在最底部显示? 加载到舞台的3D模型不显示贴图 成都雨墨游戏 求 laya 程序开发人员 关于Laya实现Matter.js官方案例凹多边形的问题 Laya mac版的IDE 是没测试就上线了吗? 【带附件】 使用Laya2.0....
来源: Laya_社区 发布时间: 20180731
VR的demo有没有加载3D场景的啊,实在不知怎么加 VR的demo有没有加载3D场景的啊,实在不知怎么加,用u3d导出的场景,怎么才能用VR功能?不要实景那个demo 2017-07-07 添加评论 免费帖 --> 分享 微博 QZONE 微信 没有找到相关结果 已邀...
来源: Laya_社区 发布时间: 20170707
... this.mat1 = new Laya.BlinnPhongMaterial(); //加载纹理资源 Laya.Texture2D.load("res/wood.jpg", Laya.Handler.create(this, (tex: Laya.Texture2D) => { this.mat1.albedoTexture = tex; //添加一...
来源: Laya_社区 发布时间: 20201120
...行,但是 constructor() { super(); //添加3D场景 this.onAwake(); //加载camera和light this.onStart(); //加载地面 this.loadGround(); //加载墙面 this.loadwall(); this.loopShoot(); } public loopShoot(): void{ Laya.timer.loop(1000, this, this.shootBall); } public shootBall(): void{ //...
来源: Laya_社区 发布时间: 20190506
...曝光强度 var exposureNumber = 0; mat.exposure = 0.6 + 1; })); ..... //加载Mesh Laya.Mesh.load("res/threeDimen/staticModel/teapot/teapot-Teapot001.lm", Laya.Handler.create(null, function(mesh){ teapot = scene.addChild(new Laya.MeshSprite3D(mesh)); teapot.transform.position = new Laya.Vector3(0,...
来源: Laya2.0_文档 发布时间: 20210715
...强度 var exposureNumber:Number = 0; mat.exposure = 0.6 + 1; })); ..... //加载Mesh Laya.Mesh.load("res/threeDimen/staticModel/teapot/teapot-Teapot001.lm", Laya.Handler.create(null, function(mesh) { teapot = scene.addChild(new Laya.MeshSprite3D(mesh)); teapot.transform.position = new Laya.Vector3(...
来源: Laya2.0_文档 发布时间: 20210715
...强度 var exposureNumber:Number = 0; mat.exposure = 0.6 + 1; })); ..... //加载Mesh Mesh.load("res/threeDimen/staticModel/teapot/teapot-Teapot001.lm", Handler.create(null, function(mesh:Mesh):void { teapot = scene.addChild(new MeshSprite3D(mesh)) as MeshSprite3D; teapot.transform.position = new Ve...
来源: Laya2.0_文档 发布时间: 20210715
...运行官方的那个物理引擎例子Singshat报了这个错误 如何预加载shader 哪里能找到on绑定事件的例子 3D模型贴图动作加载后,不使用了内存怎么释放?需要用到ResourceManager吗?有没有例子? 请问粒子,shader,动画缓存的优化应该如...
来源: Laya_社区 发布时间: 20180904