大约有 5,239 项符合查询结果, 库内数据总量为 31,560 项。 (搜索耗时: 0.0103 秒)
Laya_社区(4668) Laya2.0_文档(214) Laya3.0_api(117) Laya3.0_文档(90) Laya2.0_api(82) laya_api(64) Laya_示例(3) Laya2.0_示例(1)
...相关 | 变量名 | 描述 | | ---------- | ------ | | u_FogColor | 雾化颜色 | | u_FogRange | 雾化范围 | | u_FogStart | 雾化起始位置 | > 灯光相关 | 变量名 | 描述 | | ---------------------- | ------------------- | | u_DirationLightCount | 平行光数量 | | u_LightBuffer | ...
来源: Laya2.0_文档 发布时间: 20210715
...nParticleSystem colorOverLifetime : ColorOverLifetime 获取生命周期颜色,注意:如修改该值的某些属性,需重新赋值此属性才可生效。 ShurikenParticleSystem duration : Number粒子运行的总时长,单位为秒。ShurikenParticleSystem emission : Emission[read-only...
来源: Laya2.0_api 发布时间: 20190513
...L_LINEAR 前者表示“使用纹理中坐标最接近的一个像素的颜色作为需要绘制的像素颜色”, 后者表示“使用纹理中坐标最接近的若干个颜色,通过加权平均算法得到需要绘制的像素颜色”。 把 laya.core.js 里的 GL_LINEAR 相关的...
来源: Laya_社区 发布时间: 20190226
...相关 | 变量名 | 描述 | | ---------- | ------ | | u_FogColor | 雾化颜色 | | u_FogRange | 雾化范围 | | u_FogStart | 雾化起始位置 | > 灯光相关 | 变量名 | 描述 | | ---------------------- | ------------------- | | u_DirationLightCount | 平行光数量 | | u_LightBuffer | ...
来源: Laya2.0_文档 发布时间: 20210715
...模式裁剪值。 BaseMaterial ambientColor : Vector3 设置环境光颜色。 StandardMaterial ambientTexture : BaseTexture 获取环境贴图。 StandardMaterial blend : int透明混合。BaseMaterial blendConstColor : Vector4混合常量颜色。BaseMaterial blendEquation : int混合方...
来源: laya_api 发布时间: 20170929
...ance就是自定义instance的优化示例,示例中自定义了小球的颜色,并且实现了用一个渲染批次画出900个**颜色不同的**小球效果,体现了渲染优化的能力。  (图1) #### 1、如何添加drawMeshInstance渲染命令 由于drawMeshInstance渲...
来源: Laya2.0_文档 发布时间: 20210714
...or(color: number): string Defined in laya/ui/UIUtils.ts:37 转换uint类型颜色值为字符型颜色值。 Parameters color: number uint颜色值。 Returns string 字符型颜色值。 Globals "laya/ui/UIUtils" UIUtils fillArray gray toColor Legend Object literal Variable Function Type alias Clas...
来源: Laya3.0_api 发布时间: 20231115
...态 2018-03-27 0 0 分享 微博 QZONE 微信 qian 赞同来自: 把背景颜色改为 Laya.stage.bgColor = "#fffffe"; 就可以了 下个版本修复 2018-03-27 0 8 分享 微博 QZONE 微信 ccloving 赞同来自: 2018-03-27 0 0 分享 微博 QZONE 微信 为什么被折叠? 0 个回复被...
来源: Laya_社区 发布时间: 20180327
... Utils toHexColor(color:Number):String[static] 将传入的 uint 类型颜色值转换为字符串型颜色值。 Utils toRadian(angle:Number):Number[static] 角度转弧度。 UtilsProperty DetailparseXMLFromStringpropertypublic static var parseXMLFromString:Function 将字符串解析成 XML...
来源: laya_api 发布时间: 20170929
...eThickness:Number` 大气厚度,范围是0到5。 `skyTint:Vector4 ` 天空颜色。 `groundTint:Vector4` 地面颜色。 `exposure:Number` 曝光强度,范围是0到8。 #### 创建和使用材质 下面的代码对官方示例([demo地址](https://layaair.ldc.layabox.com/demo2/?language=ch&categ...
来源: Laya2.0_文档 发布时间: 20210715