大约有 73 项符合查询结果, 库内数据总量为 31,560 项。 (搜索耗时: 0.0043 秒)
...方体(Cube)。前者用于绝大多数材质与贴图,后者用于反射与天空盒等具有空间方向性的渲染效果。 4.1.1 平面纹理(2D) 平面纹理 是最常见的纹理类型,用于在二维平面上采样像素颜色。 它不仅适用于 2D 游戏或 UI 元素,更是...
来源: Laya3.0_文档 发布时间: 20251128
...建精灵所属遮罩层。Scene3D customReflection : TextureCube 获取反射贴图。 Scene3D customRenderEnable : Boolean[write-only] 设置是否开启自定义渲染,只有开启自定义渲染,才能使用customRender函数渲染。 Sprite destroyed : Boolean = false[只读]是否已...
来源: Laya2.0_api 发布时间: 20190513
...ng 赞同来自: 具体对接流程请参考:对接渠道 Part.1 - 类名反射: 通过LayaNative构建出的iOS项目工程中我们会看到PlatformInterface目录下有自动创建的MarketAppStore类, 这个类继承自LayaPlatformInterface类, 并且在resource/config.ini中设置了platformC...
来源: Laya_社区 发布时间: 20170411
...getRes("res/threeDimen/texture/earth.png"); //为PBRStandard材质设置漫反射贴图 this.pbrStandardMaterial.albedoTexture = this.pbrTexture; //修改导出球的材质 this.sphere.meshRenderer.material = this.pbrStandardMaterial; ``` (图5) ### 3.是否能接受阴影 阴影在前...
来源: Laya2.0_文档 发布时间: 20210715
...毁后不能再使用。Node diffuseColor : Vector3 获取灯光的漫反射颜色。 LightSprite displayedInStage : Boolean[read-only] 表示是否在显示列表中显示。Node id : int[read-only] 获取唯一标识ID。 Sprite3D intensity : Number 获取灯光强度。 LightSprite isSta...
来源: Laya2.0_api 发布时间: 20190513
...实现改效果: 方法一:需要修改场景中所有精灵材质的反射率颜色为 albedo = new Vector4(0.0,0.0,0.0,1.0); 方法二:可以给场景中添加方向光,把方向光的环境光颜色ambientColor = new Vector3(0.0, 0.0, 0.0); 2017-06-14 0 0 分享 微博 QZONE 微信 ...
来源: Laya_社区 发布时间: 20170524
...hreeDimen/texture/earth.png") as Texture2D; //为PBRStandard材质设置漫反射贴图 pbrStandardMaterial.albedoTexture = pbrTexture; //修改导出球的材质 sphere.meshRenderer.material = pbrStandardMaterial; ``` (图5) ### 3.是否能接受阴影 阴影在前面的 **灯光篇**...
来源: Laya2.0_文档 发布时间: 20210715
...imen/texture/earth.png") as Laya.Texture2D; //为PBRStandard材质设置漫反射贴图 this.pbrStandardMaterial.albedoTexture = this.pbrTexture; //修改导出球的材质 this.sphere.meshRenderer.material = this.pbrStandardMaterial; ``` (图5) ### 3.是否能接受阴影 阴影在前...
来源: Laya2.0_文档 发布时间: 20210715
...毁后不能再使用。Node diffuseColor : Vector3 获取灯光的漫反射颜色。 LightSprite displayedInStage : Boolean[read-only] 表示是否在显示列表中显示。Node id : int[read-only] 获取唯一标识ID。 Sprite3D isStatic : Boolean是否静态,静态包含一系列的静态...
来源: laya_api 发布时间: 20170929
...l SPECULARSOURCE_DIFFUSEMAPALPHA : int[static] 高光强度数据源_漫反射贴图的Alpha通道。BlinnPhongMaterial SPECULARSOURCE_SPECULARMAP : int[static] 高光强度数据源_高光贴图的RGB通道。BlinnPhongMaterial specularTexture : BaseTexture 获取高光贴图。 BlinnPhong...
来源: Laya2.0_api 发布时间: 20190513