大约有 266 项符合查询结果, 库内数据总量为 31,560 项。 (搜索耗时: 0.0046 秒)
Laya_社区(71) Laya3.0_api(58) Laya2.0_api(41) laya_api(39) Laya2.0_文档(30) Laya_示例(22) Laya3.0_文档(5)
...Renderer.sharedMaterial as Laya.BlinnPhongMaterial).albedoColor = new Laya.Vector4(0.0, 0.0, 0.0, 1.0); } } 附件 : --> 2019-08-17 添加评论 免费帖 --> 分享 微博 QZONE 微信 没有找到相关结果 已邀请: 与内容相关的链接 提交 1 个回复 Laya_Aaron 赞同来自: 没demo ...
来源: Laya_社区 发布时间: 20190817
...标到2d坐标,当物体a移动,而正交相机不移动时,转换出来的vector4都一样,不会随着物体a移动而改变. 2020-01-14 添加评论 免费帖 --> 分享 微博 QZONE 微信 没有找到相关结果 已邀请: 与内容相关的链接 提交 0 个回复 为什么被折叠? 0 个...
来源: Laya_社区 发布时间: 20200114
... value: number Returns void lightmapScaleOffset get lightmapScaleOffset(): Vector4 set lightmapScaleOffset(value: Vector4): void Inherited from PixelLineRenderer.lightmapScaleOffset Defined in laya/d3/core/render/BaseRender.ts:269 光照贴图的缩放和偏移。 Returns Vector4 Inherited from Pixe...
来源: Laya3.0_api 发布时间: 20231115
... value: number Returns void lightmapScaleOffset get lightmapScaleOffset(): Vector4 set lightmapScaleOffset(value: Vector4): void Inherited from PixelLineRenderer.lightmapScaleOffset Defined in laya/d3/core/render/BaseRender.ts:269 光照贴图的缩放和偏移。 Returns Vector4 Inherited from Pixe...
来源: Laya3.0_api 发布时间: 20231115
...起来像天空一样。 #### 主要属性和方法 > 属性 `tintColor:Vector4` 颜色。 `exposure:Number` 曝光强度。 `textureCube:TextureCube` 天空盒纹理。 #### 创建和使用材质 下面的代码来自于官方示例([demo地址](https://layaair.ldc.layabox.com/demo2/?language...
来源: Laya2.0_文档 发布时间: 20210715
...起来像天空一样。 #### 主要属性和方法 > 属性 `tintColor:Vector4` 颜色。 `exposure:Number` 曝光强度。 `textureCube:TextureCube` 天空盒纹理。 #### 创建和使用材质 下面的代码来自于官方示例([demo地址](https://layaair.ldc.layabox.com/demo2/?language...
来源: Laya2.0_文档 发布时间: 20210715
... value: number Returns void lightmapScaleOffset get lightmapScaleOffset(): Vector4 set lightmapScaleOffset(value: Vector4): void Inherited from PixelLineRenderer.lightmapScaleOffset Defined in laya/d3/core/render/BaseRender.ts:269 光照贴图的缩放和偏移。 Returns Vector4 Inherited from Pixe...
来源: Laya3.0_api 发布时间: 20231115
... value: number Returns void lightmapScaleOffset get lightmapScaleOffset(): Vector4 set lightmapScaleOffset(value: Vector4): void Inherited from PixelLineRenderer.lightmapScaleOffset Defined in laya/d3/core/render/BaseRender.ts:269 光照贴图的缩放和偏移。 Returns Vector4 Inherited from Pixe...
来源: Laya3.0_api 发布时间: 20231115
...te(new Laya.Vector3(-15, 0, 0), true, false); camera.clearColor = new Laya.Vector4(0.2, 0.2, 0.2, 1.0); var directionLight = scene.addChild(new Laya.DirectionLight()) as Laya.DirectionLight; //设置平行光的方向 var mat = directionLight.transform.worldMatrix as Laya.Matrix4x4; mat.setForward(n...
来源: Laya_社区 发布时间: 20220815
...要修改场景中所有精灵材质的反射率颜色为 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 微信 为什么被折叠? 0 个回复被...
来源: Laya_社区 发布时间: 20170614