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

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

481. 组件装饰器说明 · LayaAir3.4 · 引擎文档 · LAYABOX [ 39%]

...输入)、string(字符串输入)、boolean(多选框)、color(颜色框+调色盘+拾色器)、vec2(XY输入组合)、vec3(XYZ输入组合)、vec4(XYZW输入组合)、asset(选择资源),这些输入控件。 通常情况下,IDE会根据组件属性类型自动选...

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

482. 在父sprite中添加子sprite ,移动父Sprite 子sprite为什么不动? [ 39%]

...元素始终保持在最底部显示? btn 鼠标移动上去默认文本颜色是绿色,我想换成其他颜色,如何操作? 图片添加点击事件 有的不生效 lh文件内meshSprite添加阴影属性无效 怎么讲layaAir里的显示对象添加到matter.js里的物理引擎世界...

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

483. laya.ui.UIGroup [ 38%]

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

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

484. laya.ui.List [ 38%]

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

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

485. 【简单跑酷--JS版】---Lv.6 终篇 [ 38%]

...据我们的UI来分析一下 其实两个能量条都是一样的 只是颜色不一样 那我们可以只写一个HP.js 来实现两个能量条的功能,我们创建一个Hp.js  代码如下  (function () { /** * 血条 * */ function Hp(type){ //背景 this.bg = null; //进度条 this.bar = n...

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

486. LayaAir3D UnityPlugin 使用须知-版本更新-问题解答(最新版本:1.7.16) [ 38%]

...                  Ignore Vertices Color         忽略顶点颜色信息,可减小lm文件大小         Texture Setting   ---   贴图设置                 Original Texture Type    ---   需要转换格式的原始纹理类型                         ...

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

487. 开放数据域组件 · LayaAir3.4 · 引擎文档 · LAYABOX [ 37%]

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

488. laya.display.Input [ 37%]

...性能有一定影响。 Sprite  bgColor : String[override] 文本背景颜色,以字符串表示。 Input blendMode : String指定要使用的混合模式。目前只支持"lighter"。Sprite bold : Boolean 指定文本是否为粗体字。 默认值为 false,这意味着不使用粗体字...

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

489. laya.ui.Radio_API3.0 [ 37%]

...、渲染模式。 Laya.stage.bgColor = "#efefef";//设置画布的背景颜色。 Laya.loader.load("resource/ui/button.png", Handler.create(this,onLoadComplete)); } private function onLoadComplete():void { trace("资源加载完成!"); var button:Button = new Button("resource/ui/button.png","labe...

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

490. laya.ui.RadioGroup_API3.0 [ 36%]

...戏画布宽高。 Laya.stage.bgColor = "#efefef";//设置画布的背景颜色。 Laya.loader.load(["resource/ui/radio.png"], Handler.create(this, onLoadComplete));//加载资源。 } private function onLoadComplete():void { var radioGroup:RadioGroup = new RadioGroup();//创建一个 RadioGroup 类...

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