大约有 482 项符合查询结果, 库内数据总量为 31,722 项。 (搜索耗时: 0.0079 秒)
...向 light.direction = new Laya.Vector3(0.3, -1, 0); //设置灯光漫反射颜色 light.diffuseColor = new Laya.Vector3(1, 0, 0); //设置灯光高光色 // light.specularColor = new Laya.Vector3(0, 0.5, 0.5); //添加灯光投影 light.shadow=true; //产生投影的范围(如过小将不会产生...
来源: Laya_社区 发布时间: 20180307
...//开启雾化效果 GamePanel.curScene.enableFog = true; //设置雾化的颜色 GamePanel.curScene.fogColor = new Laya.Vector3(0.59, 0.59, 0.59); //设置雾化的起始位置,相对于相机的距离 GamePanel.curScene.fogStart = 1; //设置雾化最浓处的距离。 GamePanel.curScene.fogRang...
来源: Laya_社区 发布时间: 20190412
...d Defined in laya/d3/core/render/PostEffect/ColorGradEffect.ts:460 contrast颜色对比度range 0-2 Returns number Defined in laya/d3/core/render/PostEffect/ColorGradEffect.ts:464 contrast颜色对比度range 0-2 Parameters value: number Returns void enableBalance get enableBalance(): boolean set en...
来源: Laya3.0_api 发布时间: 20231115
...UV(忽略模型的UV贴图) | | `Ignore Vertices Color` | 忽略顶点颜色(忽略模型的顶点颜色信息) | | `Ignore Vertices Normal` | 忽略顶点法线(忽略模型的法线信息) | | `Ignore Vertices Tangent` | 忽略顶点切线信息(忽略模型的切线信息) | | `Co...
来源: Laya2.0_文档 发布时间: 20210714
...fined in laya/d3/core/particleShuriKen/ShurikenParticleSystem.ts:290 开始颜色,0模式。 startColorConstantMax startColorConstantMax: Vector4 = new Vector4(1, 1, 1, 1) Inherited from ShurikenParticleSystem.startColorConstantMax Defined in laya/d3/core/particleShuriKen/ShurikenParticleSystem.ts...
来源: Laya3.0_api 发布时间: 20231115
...nLight(); scene.addChild(directionLight); //设置平行光颜色 directionLight.color = new Laya.Vector3(0.6, 0.6, 0.6); var layaMonkey:Laya.Sprite3D = scene.addChild(Laya.Loader.getRes("Export/LayaScene_JJF/Conventional/JJF.lh")) as Laya.Sprite3D; ...
来源: Laya_社区 发布时间: 20190531
...轴和片。 红绿蓝三个轴分别代表X、Y、Z三个方向,轴的颜色与右上角的坐标轴对应。 箭头所指的方向为正方向,拖动其中一个轴,可使该模型按该轴的正负方向进行位移,效果如动图3-6所示。 (动图3-6) 留意属性面板,如果该模...
来源: Laya3.0_文档 发布时间: 20251010
...理的属性面板上,把纹理类型改为默认值类型。 勾选sRGB颜色空间 注意不要勾选预乘Alpha(Spine导出的时候也不要勾选) 点击应用 以上操作如图3-1所示: (图3-1) 注意:如果应用后效果不对,刷新一下IDE即可。 另外,如果有多...
来源: Laya3.0_文档 发布时间: 20260203
...Could not attach to main target 关于适配采用showAll后留白部分的颜色问题 IDE1.7.8 json图集加载问题 启动引擎报错 mPlugin.game_plugin_init(3); app启动动画应该如何去掉 (此问题已经无效) 问题状态 最新活动: 2017-03-20 11:37 浏览: 4238 关注: 5 人...
来源: Laya_社区 发布时间: 20170320
...Monica - 知识达人 赞同来自: 同一个文本中字体大小不同,颜色不同 var htmlD:HTMLDivElement = new HTMLDivElement(); Laya.stage.addChild(htmlD); htmlD.innerHTML = "<font style='fontSize:30' color='#67fc2c'>测试<br/></font><font style='fontSize:20'>html...
来源: Laya_社区 发布时间: 20161027