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

大约有 59 项符合查询结果, 库内数据总量为 30,724 项。 (搜索耗时: 0.0066 秒)

51. 插件开发说明 · LayaAir3.0文档 · LAYABOX [ 47%]

...tor.GUIUtils。 export interface IGUIUtils { /** * 编辑默认的背景颜色 */ bgColor: gui.Color; /** * 编辑默认的分割线颜色 */ lineColor: gui.Color; /** * 编辑默认的文字颜色 */ textColor: gui.Color; createButton(autoSize?: boolean): gui.Button; createIconButton(flat?...

来源: Laya3.0_文档 发布时间: 20240918

52. 项目设置详解 · LayaAir3.0文档 · LAYABOX [ 43%]

...4 画布背景色设置 画布背景色,其实就是给画布设置一个颜色,默认值为#888888,如图1-8所示: (图1-8) 1.2 引擎初始化设置 有一些引擎的配置项,需要在引擎初始化的时候设置,而设置的入口就是如图1-9所示: (图1-9) 2D属性...

来源: Laya3.0_文档 发布时间: 20230808

53. laya.ui.List [ 42%]

...设置为true,对性能有一定影响。 Sprite bgColor : String背景颜色Box blendMode : String指定要使用的混合模式。目前只支持"lighter"。Sprite bottom : Number 从组件底边到其内容区域底边之间的垂直距离(以像素为单位)。 UIComponent  cacheAs : ...

来源: Laya2.0_api 发布时间: 20190513

54. laya.ui.List_API3.0 [ 42%]

...、渲染模式。 Laya.stage.bgColor = "#efefef";//设置画布的背景颜色。 Laya.loader.load(["resource/ui/vscroll.png", "resource/ui/vscroll$bar.png", "resource/ui/vscroll$down.png", "resource/ui/vscroll$up.png"], Handler.create(this, onLoadComplete)); } private function onLoadComplete():voi...

来源: Laya3.0_api 发布时间: 20231115

55. 精灵 · LayaAir3.0文档 · LAYABOX [ 37%]

...是一个能够通过改变自身属性,比如角度、位置、缩放、颜色等,变为可控动画的2D图像。 Sprite 是基本的显示图形的显示列表节点。 通过 graphics 可以绘制图片或者矢量图,支持旋转,缩放,位移等操作。Sprite同时也是容类,...

来源: Laya3.0_文档 发布时间: 20240528

56. 通用发布 · LayaAir3.0文档 · LAYABOX [ 36%]

...纹理格式: png32为默认格式,此格式支持透明度和更多的颜色;png24,无透明度;纹理压缩参考文档《纹理压缩》。 第三步:发布生成图集 当设置好后,在“构建发布”进行发布,等待发布成功,这时来看看发布后的目录,如...

来源: Laya3.0_文档 发布时间: 20240926

57. laya.ui.Tree [ 35%]

...设置为true,对性能有一定影响。 Sprite bgColor : String背景颜色Box blendMode : String指定要使用的混合模式。目前只支持"lighter"。Sprite bottom : Number 从组件底边到其内容区域底边之间的垂直距离(以像素为单位)。 UIComponent cacheAs : St...

来源: Laya2.0_api 发布时间: 20190513

58. 使用3D精灵 · LayaAir3.0文档 · LAYABOX [ 33%]

... 是引擎中的 像素线精灵,可根据脚本的绘制数据产生任意颜色的像素线。一般用于场景中的引导效果或项目调试数据用途。 (图7-5) 7.5 Trail 精灵 Trail 是引擎中的 拖尾精灵,可根据精灵运动轨迹产生动态的拖尾特效。一般用于各...

来源: Laya3.0_文档 发布时间: 20240624

59. laya.ui.Tree_API3.0 [ 27%]

...Laya.init(640, 800); Laya.stage.bgColor = "#efefef";//设置画布的背景颜色。 Laya.loader.load(["resource/ui/vscroll.png", "resource/ui/vscroll$bar.png", "resource/ui/vscroll$down.png", "resource/ui/vscroll$up.png", "resource/ui/clip_selectBox.png", "resource/ui/clip_tree_folder.png", "resour...

来源: Laya3.0_api 发布时间: 20231115