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

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

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

... Sprite_Example() { Laya.init(640, 800);//设置游戏画布宽高、渲染模式。 Laya.stage.bgColor = "#efefef";//设置画布的背景颜色。 onInit(); } private function onInit():void { sprite = new Sprite();//创建一个 Sprite 类的实例对象 sprite 。 sprite.loadImage("resource/ui/bg...

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

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

..."); } } } 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 [ 95%]

...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.Image_API3.0 [ 92%]

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

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

5. laya.particle.ParticleSetting_API3.0 [ 89%]

...lendState: number = 0 Defined in laya/particle/ParticleSetting.ts:90 混合模式,待调整,引擎中暂无BlendState抽象 boxEmitterCenterPosition boxEmitterCenterPosition: Float32Array = new Float32Array([0, 0, 0]) Defined in laya/particle/ParticleSetting.ts:108 盒发射器中心位置 boxEm...

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

6. laya.ui.Clip_API3.0 [ 86%]

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

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

7. laya.ui.Radio_API3.0 [ 85%]

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

8. laya.ui.HSlider_API3.0 [ 85%]

...} example Laya.init(640, 800, "canvas");//设置游戏画布宽高、渲染模式 Laya.stage.bgColor = "#efefef";//设置画布的背景颜色 var hSlider; var res = ["resource/ui/hslider.png", "resource/ui/hslider$bar.png"]; Laya.loader.load(res, laya.utils.Handler.create(this, onLoadComplete)); fu...

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

9. laya.ui.ColorPicker_API3.0 [ 85%]

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

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

10. laya.ui.VSlider_API3.0 [ 85%]

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

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