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

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

351. 位图切片组件 · LayaAir3.4 · 引擎文档 · LAYABOX [ 55%]

...ipt { // 以下资源来自“引擎API使用示例” private buttonSkin: string = "resources/res/ui/button-7.png"; private clipSkin: string = "resources/res/ui/num0-9.png"; private bgSkin: string = "resources/res/ui/coutDown.png"; counter: any; controller: any; currFrame: any; //组件被激活后...

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

352. laya.ui.UIComponent [ 55%]

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

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

353. laya.ui.List [ 55%]

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

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

354. laya.d3.core.scene.Scene3D [ 54%]

...获取。设置为true,对性能有一定影响。 Sprite blendMode : String指定要使用的混合模式。目前只支持"lighter"。Sprite cacheAs : String 指定显示对象是否缓存为静态图像,cacheAs时,子对象发生变化,会自动重新缓存,同时也可以手动调用...

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

355. laya.ui.List [ 54%]

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

来源: laya_api 发布时间: 20170929

356. laya.ui.Component [ 54%]

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

来源: laya_api 发布时间: 20170929

357. 插件开发说明 · LayaAir3.4 · 引擎文档 · LAYABOX [ 53%]

...也可以省略这个声明 static test(this: IEditorEnv.IGameScene, msg: string) { console.log(msg); //hello return "ok"; } } //下面是UI进程的代码 let ret = await Editor.scene.runScript("TestSceneScript.test", "hello"); console.log(ret); //ok 特别的用法,可以通过window对象调用...

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

358. laya.ui.TextArea_API3.0 [ 52%]

...tPoint updateZOrder fromImage Constructors constructor new TextArea(text?: string): TextArea Overrides TextInput.constructor Defined in laya/ui/TextArea.ts:94 创建一个新的 TextArea 示例。 Parameters Optional text: string 文本内容字符串。 Returns TextArea Properties Optional _extra _...

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

359. laya.d3.core.scene.BaseScene [ 52%]

...获取。设置为true,对性能有一定影响。 Sprite blendMode : String指定要使用的混合模式。目前只支持"lighter"。Sprite cacheAs : String 指定显示对象是否缓存为静态图像,cacheAs时,子对象发生变化,会自动重新缓存,同时也可以手动调用...

来源: laya_api 发布时间: 20170422

360. laya.ui.Button_API3.0 [ 51%]

...entPoint updateZOrder fromImage Constructors constructor new Button(skin?: string, label?: string): Button Overrides UIComponent.constructor Defined in laya/ui/Button.ts:212 创建一个新的 Button 类实例。 Parameters Default value skin: string = null 皮肤资源地址。 Default value label:...

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