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

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

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

62. 精灵 · LayaAir3.3 · 引擎文档 · LAYABOX [ 38%]

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

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

63. laya.ui.Tree [ 35%]

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

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

64. 使用3D精灵 · LayaAir3.3 · 引擎文档 · LAYABOX [ 33%]

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

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

65. 开放数据域组件 · LayaAir3.3 · 引擎文档 · LAYABOX [ 33%]

..., lineHeight: 200, fontSize: 40, textAlign: "center", }, // 文字的最终颜色为#ff0000 redText: { color: "#ff0000", }, }; // JS部分,用于控制开放数据域的各种逻辑 function init() { wx.onMessage((data) => { Layout.clear(); Layout.init(template, style); Layout.layout(sharedCont...

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

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