大约有 80 项符合查询结果, 库内数据总量为 31,560 项。 (搜索耗时: 0.0076 秒)
... 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
..."); } } } 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
...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
...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
...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
...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
...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
...} 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
...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
...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