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

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

1. laya.display.Animation_API3.0 [ 100%]

...imation_Example() { Laya.init(640, 800);//设置游戏画布宽高、渲染模式。 Laya.stage.bgColor = "#efefef";//设置画布的背景颜色。 init();//初始化 } private function init():void { var animation:Animation = new Animation();//创建一个 Animation 类的实例对象 animation 。...

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

2. laya.ui.Button_API3.0 [ 97%]

..."); } } } example Laya.init(640, 800);//设置游戏画布宽高、渲染模式。 Laya.stage.bgColor = "#efefef";//设置画布的背景颜色。 Laya.loader.load("resource/ui/button.png",laya.utils.Handler.create(this,loadComplete));//加载资源 function loadComplete() { console.log("资源加...

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

3. laya.ui.CheckBox_API3.0 [ 97%]

...n Button_toggle() { Laya.init(640, 800);//设置游戏画布宽高、渲染模式。 Laya.stage.bgColor = "#efefef";//设置画布的背景颜色。 Laya.loader.load("resource/ui/button.png", Handler.create(this,onLoadComplete)); } private function onLoadComplete():void { trace("资源加载完成...

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

4. laya.ui.Radio_API3.0 [ 96%]

...n Button_toggle() { Laya.init(640, 800);//设置游戏画布宽高、渲染模式。 Laya.stage.bgColor = "#efefef";//设置画布的背景颜色。 Laya.loader.load("resource/ui/button.png", Handler.create(this,onLoadComplete)); } private function onLoadComplete():void { trace("资源加载完成...

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

5. laya.utils.Stat_API3.0 [ 80%]

...下(所有参数都是每大约1秒进行更新): FPS(WebGL):WebGL 模式下的帧频,也就是每秒显示的帧数,值越高、越稳定,感觉越流畅; Sprite:统计所有渲染节点(包括容器)数量,它的大小会影响引擎进行节点遍历、数据组织和渲...

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

6. laya.ui.DialogManager_API3.0 [ 66%]

...的open和close事件 可以通过UIConfig设置弹出框背景透明度,模式窗口点击边缘是否关闭,点击窗口是否切换层次等 通过设置对话框的zOrder属性,可以更改弹出的层次 Hierarchy Sprite DialogManager Index Constructors constructor Properties _extra _ownG...

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

7. laya.display.AnimationBase_API3.0 [ 64%]

...t.blendMode Defined in laya/display/Sprite.ts:1056 指定要使用的混合模式。目前只支持"lighter"。 Returns string Inherited from Text.blendMode Defined in laya/display/Sprite.ts:1060 指定要使用的混合模式。目前只支持"lighter"。 Parameters value: string Returns void cache...

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

8. laya.display.FrameAnimation_API3.0 [ 64%]

...t.blendMode Defined in laya/display/Sprite.ts:1056 指定要使用的混合模式。目前只支持"lighter"。 Returns string Inherited from Text.blendMode Defined in laya/display/Sprite.ts:1060 指定要使用的混合模式。目前只支持"lighter"。 Parameters value: string Returns void cache...

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

9. laya.display.EffectAnimation_API3.0 [ 63%]

...t.blendMode Defined in laya/display/Sprite.ts:1056 指定要使用的混合模式。目前只支持"lighter"。 Returns string Inherited from Text.blendMode Defined in laya/display/Sprite.ts:1060 指定要使用的混合模式。目前只支持"lighter"。 Parameters value: string Returns void cache...

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