大约有 758 项符合查询结果, 库内数据总量为 31,580 项。 (搜索耗时: 0.0067 秒)
Laya_社区(576) Laya2.0_文档(79) Laya3.0_api(36) Laya2.0_api(26) Laya3.0_文档(19) laya_api(18) Laya_示例(3) Laya2.0_示例(1)
...tring): void Inherited from Box.bgColor Defined in laya/ui/Box.ts:25 背景颜色 Returns string Inherited from Box.bgColor Defined in laya/ui/Box.ts:29 背景颜色 Parameters value: string Returns void blendMode get blendMode(): string set blendMode(value: string): void Inherited from Text.blendMo...
来源: Laya3.0_api 发布时间: 20231115
...情况: · 文本始终只有一行。 · 文本的样式始终不变(颜色、粗细、斜体、对齐等等)。 即使如此,实际编程中依旧会经常使用到这样的需要。
来源: Laya2.0_文档 发布时间: 20210715
...IDE1.7.8 json图集加载问题 关于适配采用showAll后留白部分的颜色问题 横屏模式在锁定竖屏的iphone上不能正常显示的问题 关于shader中opengl函数问题 关于逻辑贞更新间隔机制、时间和其他一些Timer相关的问题 Panel中的东西左右拖动好...
来源: Laya_社区 发布时间: 20170422
...tring): void Inherited from Box.bgColor Defined in laya/ui/Box.ts:25 背景颜色 Returns string Inherited from Box.bgColor Defined in laya/ui/Box.ts:29 背景颜色 Parameters value: string Returns void blendMode get blendMode(): string set blendMode(value: string): void Inherited from Text.blendMo...
来源: Laya3.0_api 发布时间: 20231115
...:`HTML文本` | | `img` | 图片标签,例如:`` | | `color` | 文本颜色标签,例如:`颜色` | 具体到style标签的属性支持如下: | style标签属性示例 | 属性说明 | | ------------------------------ | --------------------------- | | `italic:true|false;` | 是否是...
来源: Laya2.0_文档 发布时间: 20210715
...ite3D.meshRender.material as Laya.StandardMaterial; //修改材质的反射颜色,让模型偏红 shareMaterial.albedo = new Laya.Vector4(1,0,0,1); } ----- 看起来只是变量名字不同 shareMaterial. 我不太懂材质。原因是因为,引用的相同材质的模型,只要材质变了。...
来源: Laya_社区 发布时间: 20171109
...//开启雾化效果 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
... var directionLight = _scene.addChild(new Laya.DirectionLight()); //光照颜色 directionLight.color = new Laya.Vector3(1, 1, 1); directionLight.transform.rotate(new Laya.Vector3(-3.14 / 3, 0, 0)); //使用材质 var skyboxMaterial = Laya.Loader.getRes("res/threeDimen/skyBox/skyBox2/skyBox2.lmat");...
来源: Laya2.0_文档 发布时间: 20210715
... var directionLight = _scene.addChild(new Laya.DirectionLight()); //光照颜色 directionLight.color = new Laya.Vector3(1, 1, 1); directionLight.transform.rotate(new Laya.Vector3(-3.14 / 3, 0, 0)); //使用材质 var skyboxMaterial = Laya.Loader.getRes("res/threeDimen/skyBox/skyBox2/skyBox2.lmat") ...
来源: Laya2.0_文档 发布时间: 20210715
...onLight = _scene.addChild(new DirectionLight()) as DirectionLight; //光照颜色 directionLight.color = new Vector3(1, 1, 1); directionLight.transform.rotate(new Vector3(-3.14 / 3, 0, 0)); //使用材质 var skyboxMaterial:BaseMaterial = Loader.getRes("res/threeDimen/skyBox/skyBox2/skyBox2.lmat") a...
来源: Laya2.0_文档 发布时间: 20210715