• 首页
  • 动态
  • 案例
  • 引擎社区
  • API
  • 文档
  • 示例
  • 引擎下载

大约有 758 项符合查询结果, 库内数据总量为 31,580 项。 (搜索耗时: 0.0067 秒)

741. laya.ui.HBox_API3.0 [ 47%]

...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

742. 渲染优化原则(ActionScript-2D进阶篇(AS3)-性能优化) [ 47%]

...情况: · 文本始终只有一行。 · 文本的样式始终不变(颜色、粗细、斜体、对齐等等)。 ​ 即使如此,实际编程中依旧会经常使用到这样的需要。

来源: Laya2.0_文档 发布时间: 20210715

743. List滚动条问题 [ 47%]

...IDE1.7.8 json图集加载问题 关于适配采用showAll后留白部分的颜色问题 横屏模式在锁定竖屏的iphone上不能正常显示的问题 关于shader中opengl函数问题 关于逻辑贞更新间隔机制、时间和其他一些Timer相关的问题 Panel中的东西左右拖动好...

来源: Laya_社区 发布时间: 20170422

744. laya.ui.Panel_API3.0 [ 46%]

...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

745. 一篇了解所有的LayaAir文本组件(TypeScript-LayaAir基础篇(TS)-文本) [ 46%]

...:`HTML文本` | | `img` | 图片标签,例如:`` | | `color` | 文本颜色标签,例如:`颜色` | 具体到style标签的属性支持如下: | style标签属性示例 | 属性说明 | | ------------------------------ | --------------------------- | | `italic:true|false;` | 是否是...

来源: Laya2.0_文档 发布时间: 20210715

746. 我浏览在线文档 关于共享材质和自身材质的代码 貌似没有什么不同? [ 46%]

...ite3D.meshRender.material as Laya.StandardMaterial; //修改材质的反射颜色,让模型偏红 shareMaterial.albedo = new Laya.Vector4(1,0,0,1); } ----- 看起来只是变量名字不同 shareMaterial. 我不太懂材质。原因是因为,引用的相同材质的模型,只要材质变了。...

来源: Laya_社区 发布时间: 20171109

747. 2.0 添加场景雾之后 粒子特效离原点越远 效果越淡 [ 44%]

...//开启雾化效果 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

748. 资源加载(JavaScript-3D基础(JS)-LayaAir3D之资源加载) [ 43%]

... 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

749. 资源加载(TypeScript-3D基础(TS)-LayaAir3D之资源加载) [ 43%]

... 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

750. 资源加载(ActionScript-3D基础(AS3)-LayaAir3D之资源加载) [ 42%]

...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