大约有 17 项符合查询结果, 库内数据总量为 30,897 项。 (搜索耗时: 0.0081 秒)
...r  1. Mesh - Mesh Renderer  1. Materials - Size - Element 2. Lightmap Static - Lightmaps - Baked Lightmap - Lightmap Index - Tiling X - Tiling Y - Offset X - Offset Y - Skinned Mesh Re...
来源: Laya2.0_文档 发布时间: 20200822
...** 获取渲染状态。获取后还能对此进行修改。 ```typescript renderState(): RenderState ``` ### 1.多ShaderPass简单示例 下方示例来自于官方多Pass描边示例([demo示例](http://layaair2.ldc2.layabox.com/demo2/?language=ch&category=3d&group=Shader&name=Shader_MultiplePas...
来源: Laya2.0_文档 发布时间: 20210715
...** 获取渲染状态。获取后还能对此进行修改。 ```typescript renderState(): RenderState ``` ### 1.多ShaderPass简单示例 下方示例来自于官方多Pass描边示例([demo示例](http://layaair2.ldc2.layabox.com/demo2/?language=ch&category=3d&group=Shader&name=Shader_MultiplePas...
来源: Laya2.0_文档 发布时间: 20210715
...** 获取渲染状态。获取后还能对此进行修改。 ```typescript renderState(): RenderState ``` ### 1.多ShaderPass简单示例 下方示例来自于官方多Pass描边示例([demo示例](http://layaair2.ldc2.layabox.com/demo2/?language=ch&category=3d&group=Shader&name=Shader_MultiplePas...
来源: Laya2.0_文档 发布时间: 20210714
...ENE }; //定义BLINNPHONG的uniformMap var stateMap = { 's_Cull': Shader3D.RENDER_STATE_CULL, 's_Blend': Shader3D.RENDER_STATE_BLEND, 's_BlendSrc': Shader3D.RENDER_STATE_BLEND_SRC, 's_BlendDst': Shader3D.RENDER_STATE_BLEND_DST, 's_DepthTest': Shader3D.RENDER_STATE_DEPTH_TEST, 's_DepthWrite': Shader3...
来源: Laya2.0_文档 发布时间: 20210714
...; //定义BLINNPHONG的uniformMap var stateMap: any = { 's_Cull': Shader3D.RENDER_STATE_CULL, 's_Blend': Shader3D.RENDER_STATE_BLEND, 's_BlendSrc': Shader3D.RENDER_STATE_BLEND_SRC, 's_BlendDst': Shader3D.RENDER_STATE_BLEND_DST, 's_DepthTest': Shader3D.RENDER_STATE_DEPTH_TEST, 's_DepthWrite': Shader3...
来源: Laya2.0_文档 发布时间: 20210715
...ENE }; //定义BLINNPHONG的uniformMap var stateMap = { 's_Cull': Shader3D.RENDER_STATE_CULL, 's_Blend': Shader3D.RENDER_STATE_BLEND, 's_BlendSrc': Shader3D.RENDER_STATE_BLEND_SRC, 's_BlendDst': Shader3D.RENDER_STATE_BLEND_DST, 's_DepthTest': Shader3D.RENDER_STATE_DEPTH_TEST, 's_DepthWrite': Shader3...
来源: Laya2.0_文档 发布时间: 20210715
...模型。 ##### 4.4.1 普通模型 普通模型需要Mesh Filter组件Mesh Render组件,下面分别进行介绍。 ##### 网格过滤器Mesh Filter  在上图中的Unity网格过滤器属性里,LayaAir导出支持情况如下: | Unity的蒙皮网格渲染属性 | LayaAir...
来源: Laya2.0_文档 发布时间: 20210714
...下: ```typescript var buf:CommandBuffer = new CommandBuffer(); buf.setRenderTarget(renderTexture); buf.drawRender(renders[i],materials[i],0); ``` #### 2、需要将CBuffer绑定到Camera的渲染事件中,目前laya支持的Camera事件如下: ```typescript BeforeForwardOpaque = 0,//在渲染...
来源: Laya2.0_文档 发布时间: 20210715
...Box/skyBox1/SkyBox.lmat", Laya.Handler.create(null, function(mat) { var skyRenderer:SkyRenderer = camera.skyRenderer; skyRenderer.mesh = Laya.SkyBox.instance; skyRenderer.material = mat; })); ``` 效果如下(图3): (图3) **使用Unity的全景天空盒** 1.在Unity的Assets...
来源: Laya2.0_文档 发布时间: 20210715