大约有 2,740 项符合查询结果, 库内数据总量为 31,625 项。 (搜索耗时: 0.0385 秒)
Laya_社区(1925) Laya3.0_api(248) Laya2.0_api(162) laya_api(132) Laya_示例(81) Laya2.0_文档(81) Laya2.0_示例(65) Laya3.0_文档(46)
...e("res/h5/LayaScene_Effect/Effect.lh",Handler.create(this,this.onEffectOK),null,Laya.Sprite3D); Laya.loader.create("res/h5/LayaScene_aixin/aixin.lh",Handler.create(this,this.onEffectOK),null,Laya.Sprite3D); onEffectOK() : void{ this._createSprite3D -= 1; if(this._createSprite3D <= 0){ // var logi...
来源: Laya_社区 发布时间: 20180403
...mber,speed:number)=>{ onEvent('downloading',Math.floor((now/total)*100),null); return false; }, //完成回调 (curlret:number,httpret:number)=>{ if(curlret!=0 || httpret<200||httpret>=300){ onEvent('downloadError'); //throw 'download error'; }else{ onEvent('downloadOK'); //let md5 = cal...
来源: Laya_社区 发布时间: 20180108
...Scene3D.load("res/LayaScene_game/Conventional/game.ls",Laya.Handler.create(null,function(scene3d){ // HelperApp.a = scene3d; //加载完成获取到了Scene3d scene3d.name = 'good'; self.owner.addChild(scene3d); ...
来源: Laya_社区 发布时间: 20220506
... /* this._submits[this._submits._length++] = SubmitCanvas.create(src, 0, null); _curSubmit = SubmitBase.RENDERBASE; //画出src._targets //drawTexture(src._targets.target.getTexture(), x, y, width, height, 0, 0); */ //应用并清空canvas中的指令。如果内容需要重画,RenderSprite会给...
来源: Laya_社区 发布时间: 20210527
...区域滚动效果,但scrollRect会保持0,0点位置不变。 default null Returns Rectangle Inherited from Text.viewport Defined in laya/display/Sprite.ts:1885 视口大小,视口外的子对象,将不被渲染(如果想实现裁剪效果,请使用srollRect),合理使用能提高渲染...
来源: Laya3.0_api 发布时间: 20231115
...源版本控制 Laya.ResourceVersion.enable("version.json", Handler.create(null, beginLoad), Laya.ResourceVersion.FILENAME_VERSION); function beginLoad(){ let timerFont = new Laya.BitmapFont(); timerFont.loadFont('res/timerfont.fnt', Laya.Handler.create(this, () => { ...
来源: Laya_社区 发布时间: 20180509
...取下载,测试小游戏正常可用 private static _sp: Laya.Sprite = null; private static tempTexture2D: Laya.Texture2D; private static tempTexture: Laya.Texture; /**截图 */ public static drawScreenshot(width, height, x, y) { if (!SwitchHelper.screenDraw) { return null; } if (!this.tempText...
来源: Laya_社区 发布时间: 20191016
...区域滚动效果,但scrollRect会保持0,0点位置不变。 default null Returns Rectangle Inherited from Text.viewport Defined in laya/display/Sprite.ts:1885 视口大小,视口外的子对象,将不被渲染(如果想实现裁剪效果,请使用srollRect),合理使用能提高渲染...
来源: Laya3.0_api 发布时间: 20231115
...Texture 实例。 Parameters Default value source: Texture | BaseTexture = null Default value uv: ArrayLike<number> = null UV 数据信息。 Default value sourceWidth: number = 0 Default value sourceHeight: number = 0 Returns Texture Properties _id _id: number = 0 Inherited from Resource._id ...
来源: Laya3.0_api 发布时间: 20231115
... Defined in laya/ui/AdvImage.ts:29 Parameters Default value skin: string = null Returns AdvImage Properties Optional _extra _extra: INodeExtra Inherited from Node._extra Defined in laya/display/Node.ts:58 _ownGraphics _ownGraphics: boolean = false Inherited from AnimationBase._ownGraphics Defined in...
来源: Laya3.0_api 发布时间: 20231102