• 首页
  • 动态
  • 案例
  • 引擎社区
  • API
  • 文档
  • 示例
  • 引擎下载

大约有 142 项符合查询结果, 库内数据总量为 30,724 项。 (搜索耗时: 0.0065 秒)

41. laya.d3.core.material.UnlitMaterial_API3.0 [ 85%]

...Protected All Inherited Externals Only exported Menu Globals "laya/d3/core/material/UnlitMaterial" UnlitMaterial Class UnlitMaterial UnlitMaterial 类用于实现不受光照影响的材质。 Hierarchy Material UnlitMaterial Implements IClone Index Constructors constructor Properties _id destroyedI...

来源: Laya3.0_api 发布时间: 20231115

42. laya.d3.core.material.ExtendTerrainMaterial_API3.0 [ 85%]

...Protected All Inherited Externals Only exported Menu Globals "laya/d3/core/material/ExtendTerrainMaterial" ExtendTerrainMaterial Class ExtendTerrainMaterial ... author ... Hierarchy Material ExtendTerrainMaterial Implements IClone Index Constructors constructor Properties _id destroyedImmediately lo...

来源: Laya3.0_api 发布时间: 20231115

43. 如何设置Texture 某个像素点的信息 [ 84%]

...击区域? 使用钢体设置防穿后仍有几率会穿透 Laya3D里的material可以设置flat shading么 如何获取图片每个像素点的RGB? 将list里的scrollBar设置mouseWheelEnable=false后过一段时间设置mouseWheelEnable=true;无法滚动 list 每次滑动,都是可以滑动...

来源: Laya_社区 发布时间: 20180206

44. laya.d3.core.material.BlinnPhongMaterial_API3.0 [ 84%]

...Protected All Inherited Externals Only exported Menu Globals "laya/d3/core/material/BlinnPhongMaterial" BlinnPhongMaterial Class BlinnPhongMaterial BlinnPhongMaterial 类用于实现Blinn-Phong材质。 Hierarchy Material BlinnPhongMaterial Implements IClone Index Constructors constructor Properties...

来源: Laya3.0_api 发布时间: 20231115

45. 求助 Uncaught SyntaxError: Unexpected identifier [ 84%]

...ne.addChild(new MeshSprite3D(new BoxMesh(4,4,0.001))) as MeshSprite3D; var material = new StandardMaterial(); material.albedo = new Vector4(1.3, 1.3, 1.3, 1); material.diffuseTexture = Texture2D.load("res/bg.png"); plane.meshRender.material = material; //生成坐标中心,其实是球体 var sphe...

来源: Laya_社区 发布时间: 20170314

46. texture2d怎么设置纹理repeat次数? [ 83%]

...点设置不生效 龙骨skeleton鼠标点击区域的设置 Laya3D里的material可以设置flat shading么 关于同为object层,层级设置无效的问题 list 每次滑动,都是可以滑动一点点,可不可以如何设置,让他每次滑动,只能固定的值。 将list里的scroll...

来源: Laya_社区 发布时间: 20190930

47. 显存优化:纹理压缩的使用(TypeScript-2D进阶篇(TS)-性能优化) [ 83%]

...s/layabox.ktx", Laya.Handler.create(null, function (tex: Laya.Texture2D) { material.albedoTexture = tex; })); } else { //注意这里的加载 Laya.Texture2D.load("res/layabox.jpg", Laya.Handler.create(null, function (tex: Laya.Texture2D) { material.albedoTexture = tex; })); } ``` 另外,对于需...

来源: Laya2.0_文档 发布时间: 20210714

48. 3D阴影无法渲染出来 [ 83%]

...D); box.transform.rotate(new Laya.Vector3(0, 45, 0), false, false); // var material = new Laya.StandardMaterial(); // material.diffuseTexture = Laya.Texture2D.load("res/qiu/6.jpg"); // box.meshRender.material = material; box.meshRender.receiveShadow=true; box.meshRender.castShadow=true; va...

来源: Laya_社区 发布时间: 20170809

49. 场景环境反射(ActionScript-3D基础(AS3)-LayaAir3D之场景渲染配置) [ 83%]

...om模式 scene.reflectionMode = Scene3D.REFLECTIONMODE_CUSTOM; //天空盒 Material.load("res/threeDimen/skyBox/DawnDusk/SkyBox.lmat", Handler.create(null, function(mat:SkyBoxMaterial):void { //获取相机的天空盒渲染体 var skyRenderer:SkyRenderer = camera.skyRenderer; //设置天空盒mesh ...

来源: Laya2.0_文档 发布时间: 20210715

50. 请问如何让自定义Material在渲染周期执行两次不同的shader? [ 82%]

请问如何让自定义Material在渲染周期执行两次不同的shader? 自定义的Material,在每次render时如何按照顺序执行两个shader。 例如想要实现outline的勾线效果,那么我会给两个不同的shader。第一个shader是顶点沿法线放大后给一个底色...

来源: Laya_社区 发布时间: 20180910