大约有 416 项符合查询结果, 库内数据总量为 31,560 项。 (搜索耗时: 0.0041 秒)
Laya_社区(176) Laya3.0_api(92) Laya2.0_api(50) laya_api(38) Laya2.0_文档(25) Laya3.0_文档(18) Laya2.0_示例(11) Laya_示例(6)
...iWorkerLoader类,继承自Laya.WorkerLoader,并重定向WorkerLoader的enable属性到MiniWorkerLoader类的enable属性中进行微信Worker的初始化,使用wx.createWorker方法创建Worker线程,如下图所示: 并在微信Worker线程的onMessage回调中注册为MiniWorkerLoade...
来源: Laya3.0_文档 发布时间: 20251010
...id: number; protected _cachedOwnerLayerMask: number; protected _cachedOwnerEnable: boolean; protected _enable: boolean; protected _owner: laya.d3.core.Sprite3D; /**是否已执行start函数。*/ started: boolean; /** * 获取唯一标识ID。 * @return 唯一标识ID。 */ id: number; /** * 获取...
来源: Laya_社区 发布时间: 20171109
...int = 0[static] 三角形面数。StatPublic Methods MethodDefined By enable():void[static] 激活性能统计Stat hide():void[static] 隐藏性能统计信息。 Stat show(x:Number = 0, y:Number = 0):void[static] 显示性能统计信息。 StatProperty DetailcanvasBitmappropertypublic s...
来源: laya_api 发布时间: 20170929
...面不能用图集,用不打包 ,main.ts 里面 Laya.ResourceVersion.enable("version.json", Laya.Handler.create(this, this.onVersionLoaded), Laya.ResourceVersion.FILENAME_VERSION); 和 Laya.AtlasInfoManager.enable("fileconfig.json", Laya.Handler.create(this, this.onConfigLoad...
来源: Laya_社区 发布时间: 20190305
...自动生成,如果没有也不影响后续流程 Laya.ResourceVersion.enable("version.json", Laya.Handler.create(this, this.onVersionLoaded), Laya.ResourceVersion.FILENAME_VERSION);4-在成功回调中加载场景 onVersionLoaded(): void { //激活大小图映射,加载小图的时候,如果...
来源: Laya_社区 发布时间: 20191130
...rmature:Skeleton; private mCurrSkinIndex:number = 0; constructor() { WebGL.enable(); Laya.init(Browser.width, Browser.height); Laya.stage.bgColor = "#ffffff"; Stat.show(); this.startFun(); } public startFun():void { this.mAniPath = "res/spine/spineRes1/dragon.sk"; this.mFactory = new Templet(); this...
来源: Laya2.0_示例 发布时间: 20251130
...eCanvas : Boolean = false[static] StatPublic Methods MethodDefined By enable():void[static] 激活性能统计Stat hide():void[static] 隐藏性能统计信息。 Stat show(x:Number = 0, y:Number = 0):void[static] 显示性能统计信息。 StatProperty Detail_useCanvaspropertypublic sta...
来源: Laya2.0_api 发布时间: 20190513
...://stand.alone.version/libs/laya.ui.js I/ViewRootImpl: CPU Rendering VSync enable = true I/LayaBox: alert=undefined:5155: SyntaxError: Block-scoped declarations (let, const, function, class) not yet supported outside strict mode let runtime = json.props.runtime; ^^^ SyntaxError: Block-scoped declara...
来源: Laya_社区 发布时间: 20180724
...rue; Laya.Laya.init(1200, 700, Laya.WebGL); Laya.Stat.show(); Laya.Physics.enable(); Laya.PhysicsDebugDraw.enable(); Laya.Laya.stage.alignV = Laya.Stage.ALIGN_MIDDLE; Laya.Laya.stage.alignH = Laya.Stage.ALIGN_CENTER; Laya.Laya.stage.scaleMode = Laya.Stage.SCALE_FIXED_AUTO; Laya.Laya.stage.bgColor = ...
来源: Laya2.0_示例 发布时间: 20251130
...ON_SLIDE=5000 REPORT_TIMES_SLIDE=16 D/OpenGLRenderer: HWUI Binary is enabled disableOutlineDraw is true D/a: Mainactivity---------------------------------oncreate Mainactivity---------------------------------initEngine D/: >>>>>>>>>>>>>>>...
来源: Laya_社区 发布时间: 20190723