大约有 63 项符合查询结果, 库内数据总量为 30,902 项。 (搜索耗时: 0.0031 秒)
...tterTemplet = glitter.templet; var glitterMaterial = glitter.glitterRender.sharedMaterial; glitterMaterial.diffuseTexture = Laya.Texture2D.load("../../res/threeDimen/layabox.png"); glitterMaterial.albedo = new Laya.Vector4(1.3, 1.3, 1.3, 1); glitterTemplet.lifeTime = 1.3; glitterTemplet.minSegmentDi...
来源: Laya_示例 发布时间: 20250221
...183*****755 赞同来自: var mat:StandardMaterial = meshSprite.meshRender.sharedMaterial; mat.disableLight(); 设置材质禁用光源 2017-07-26 0 1 分享 微博 QZONE 微信 为什么被折叠? 0 个回复被折叠 要回复问题请先登录 发起人 wlj944973412 相关问题 2.0一不小心...
来源: Laya_社区 发布时间: 20170724
...r2.0 从u3d到处材质动画无法播放 为什么无法使用 meshRender.sharedMaterials 设置材质 如何让material 材质 实现渐变色 问题状态 最新活动: 2018-01-21 11:12 浏览: 896 关注: 2 人 zszen • 2018-01-22 10:40 768x512也是2的幂次方 六个数字每个数字为256x...
来源: Laya_社区 发布时间: 20180120
....8056641, 0.8056641, 0.001573598, -6.878261E-11)); meshSprite3D.meshRender.sharedMaterial = customMaterial; } for (var i = 0, n = spirit3D._childs.length; i < n; i++) setCustomMaterial(spirit3D._childs[i]); } function initShader() { var attributeMap = { 'a_Position': Laya.VertexElementUsage.POSITION...
来源: Laya_示例 发布时间: 20250221
...dByName('Scene3D').getChildByName('Plane').getComponent(Laya.MeshRenderer).sharedMaterial = mat; // 上面代码在3D场景中播放则无任何问题,包括微信浏览器,出问题的是在2D场景中在微信浏览器不能播放视频 // 附件三张图片分别是 Laya编辑器界面 - ...
来源: Laya_社区 发布时间: 20230825
...erial.albedoTexture = texture; })); //设置材质 layaMonkey.meshRenderer.sharedMaterial = customMaterial; //开启旋转 Laya.timer.frameLoop(1, this, function() { layaMonkey.transform.rotate(this.rotation, false); }); })); ``` ####
来源: Laya2.0_文档 发布时间: 20210715
...erial.albedoTexture = texture; })); //设置材质 layaMonkey.meshRenderer.sharedMaterial = customMaterial; //开启旋转 Laya.timer.frameLoop(1, this, function() { layaMonkey.transform.rotate(this.rotation, false); }); })); ``` ####
来源: Laya2.0_文档 发布时间: 20210715
...erial.albedoTexture = texture; })); //设置材质 layaMonkey.meshRenderer.sharedMaterial = customMaterial; //开启旋转 Laya.timer.frameLoop(1, this, function() { layaMonkey.transform.rotate(this.rotation, false); }); })); ``` ####
来源: Laya2.0_文档 发布时间: 20210715
... "skyBox":{ "sharedMaterial":{} } }, "components":{}, "child": }, { "type":"DirectionLight", ...
来源: Laya_社区 发布时间: 20180122
...erial.albedoTexture = texture; })); //设置材质 layaMonkey.meshRenderer.sharedMaterial = customMaterial; //开启旋转 Laya.timer.frameLoop(1, this, function() { layaMonkey.transform.rotate(this.rotation, false); }); })); ```  ### 2. stateMap 在 `subShader` 添加通道时,除...
来源: Laya2.0_文档 发布时间: 20210715