大约有 183 项符合查询结果, 库内数据总量为 31,560 项。 (搜索耗时: 0.0045 秒)
Laya3.0_api(87) Laya_社区(71) Laya3.0_文档(9) laya_api(5) Laya2.0_api(4) Laya2.0_示例(4) Laya_示例(2) Laya2.0_文档(1)
... console.log('bitmapFont loading', progress); }, null, false)); this.bitmapFont = new BitmapFont(); } onFontLoaded() { // 设置空格的宽 this.bitmapFont.setSpaceWidth(10); // 注册位图字体 Laya.Text.registerBitmapFont(fontName, this.bitmapFont); this.creat...
来源: Laya_社区 发布时间: 20190225
...xpressions and declarations with an implied 'any' type. */ // "strictNullChecks": true, /* Enable strict null checks. */ // "strictFunctionTypes": true, /* Enable strict checking of function types. */ // "strictPropertyInitialization": true, /*...
来源: Laya_社区 发布时间: 20190408
...报错 laya.d3.js:41972 Uncaught TypeError: Cannot read property 'off' of null at SkinnedMeshRenderer.__proto._destroy (laya.d3.js:41972) at SkinnedMeshSprite3D.__proto.destroy (laya.d3.js:34884) at SkinnedMeshSprite3D.__proto.destroy (laya.d3.js:43737) 发现 ...
来源: Laya_社区 发布时间: 20191015
...景 Laya.Scene3D.load("LayaScene_Laya3D01/Laya3D01.ls",Laya.Handler.create(null,function(scene){ Laya.stage.addChild(scene); //创建摄像机(横纵比,近距裁剪,远距裁剪) var camera= new Laya.Camera( 0, 0.1, 1000); //加载到场景 scene.addChild(camera); //移动摄像机位置 camera...
来源: Laya_社区 发布时间: 20180919
...,type:Laya.Loader.IMAGE} ]; Laya.loader.load(resArr, Laya.Handler.create(null, onLoaded)); function onLoaded(): void { Laya.URL.basePath ="https://xxx.com/"; //实例UI界面 var Main: MenuPageUI = new MenuPageUI(); Laya.stage.addChild(Main); } 在我找原因的...
来源: Laya_社区 发布时间: 20191122
...create(path, completeCallBack, this.loadProgressCallback, type).on("error",null,function(msg){ console.error("ERROR",msg) }) 2019-06-17 添加评论 悬赏 --> 分享 微博 QZONE 微信 没有找到相关结果 已邀请: 与内容相关的链接 提交 1 个回复 李长忠 赞同来自: 同一个...
来源: Laya_社区 发布时间: 20190617
...的函数的名称。例如,functionName。 Default value args: any[] = null 传递给 method 函数的可选参数列表。 Returns void clearTimer clearTimer(caller: any, method: Function): void Defined in laya/display/Node.ts:609 清理定时器。功能同Laya.timer.clearTimer()。 Parameters ...
来源: Laya3.0_api 发布时间: 20231115
....ao.<init>(android.content.Context, layaair.game.conch.LayaConch5) ((null):-1) at void layaair.game.conch.LayaConch5.InitView() ((null):-1) at void layaair.game.conch.LayaConch5.EngineStart() ((null):-1) at void layaair.ga...
来源: Laya_社区 发布时间: 20181119
...解答一下 public function addAssets(assets:Array,loadedFun:Function = null):void { var path = formatString("assets/otherAssets/" + file, STLConstant.scale); } package starling.utils { // TODO: add number formatting options /** Formats a String in .Net-style, with curly braces ("{0}"). Does not su...
来源: Laya_社区 发布时间: 20170525
...42 创建一个 Sprite3D 实例。 Parameters Default value name: string = null 精灵名称。 Default value isStatic: boolean = false 是否为静态。 Returns Sprite3D Properties Optional _extra _extra: INodeExtra Inherited from Node._extra Defined in laya/display/Node.ts:56 _scene _scene: Node ...
来源: Laya3.0_api 发布时间: 20231115