大约有 619 项符合查询结果, 库内数据总量为 31,560 项。 (搜索耗时: 0.0045 秒)
Laya_社区(261) Laya2.0_api(123) laya_api(96) Laya_示例(56) Laya2.0_示例(44) Laya2.0_文档(26) Laya3.0_文档(7) Laya3.0_api(6)
...能统计Stat hide():void[static] 隐藏性能统计信息。 Stat show(x:Number = 0, y:Number = 0):void[static] 显示性能统计信息。 StatProperty DetailcanvasBitmappropertypublic static var canvasBitmap:int = 0 画布 canvas 使用位图渲染的次数。canvasNormalproperty public st...
来源: laya_api 发布时间: 20170929
...Laya.stage.alignH = Stage.ALIGN_CENTER; Laya.stage.scaleMode = Stage.SCALE_SHOWALL; Laya.stage.bgColor = "#232628"; Stat.show(); wrapBounds = new Rectangle(-padding, -padding, Laya.stage.width + padding * 2, Laya.stage.height + padding * 2); Laya.loader.load(texturePath, Handler.create(this, this.on...
来源: Laya2.0_示例 发布时间: 20251130
...function UpdatePath(len:int):void { // TODO Auto Generated method stub var show:int = len -1; for(var i=0;i<len;i++){ if(arr[i]){ arr[i].x+= speed; if(arr[i].x>= show* PATH_LEN){ arr[i].x-=show* PATH_LEN; } } } } private function GetPathLen():Number { // TODO Auto Generated method stub var dis...
来源: Laya_社区 发布时间: 20171113
...建圆柱碰撞器。 Public Properties Hide Inherited Public Properties Show Inherited Public Properties PropertyDefined By height : Number[read-only] 获取高度。 CylinderColliderShape localOffset : Vector3 获取Shape的本地偏移。 ColliderShape localRotation : Quaternion 获取Shape...
来源: Laya2.0_api 发布时间: 20190513
...建圆柱碰撞器。 Public Properties Hide Inherited Public Properties Show Inherited Public Properties PropertyDefined By height : Number[read-only] 获取高度。 ConeColliderShape localOffset : Vector3 获取Shape的本地偏移。 ColliderShape localRotation : Quaternion 获取Shape的...
来源: Laya2.0_api 发布时间: 20190513
...换成module后依然不行。 namespace Test { export class TestOne { Show(){ alert("调用成功!"); } } } Main.Ts ConfigLoaded 函数 onConfigLoaded(): void { var testOne=new Test.TestOne();//失败 未找到Test.TestOne testOne.Show(); ...
来源: Laya_社区 发布时间: 20190824
....init(Browser.width, Browser.height); Laya.stage.bgColor = "#ffffff"; Stat.show(); startFun(); })(); function startFun() { mAniPath = "../../res/spine/spineRes1/dragon.sk"; mFactory = new Templet(); mFactory.on(Event.COMPLETE, this, parseComplete); mFactory.on(Event.ERROR, this, onError); mFactory.l...
来源: Laya_示例 发布时间: 20251130
...reator 赞同来自: 在官方 dialog 那个demo中,不适用show,改为 Laya.stage.addChild(dialog1) 就可实现此效果。 2017-03-31 0 1 分享 微博 QZONE 微信 cuixueying 赞同来自: LayaAir本身就是一个canvas标签,多窗口可以实现,你用js原生的方法...
来源: Laya_社区 发布时间: 20170331
...Browser.width, Browser.height,WebGL); Laya.stage.bgColor = "#ffffff"; Stat.show(); startFun(); })(); function startFun() { mAniPath = "../../res/spine/spineRes5/vine.sk"; mFactory = new Templet(); mFactory.on(Event.COMPLETE, this, parseComplete); mFactory.on(Event.ERROR, this, onError); mFactory.loa...
来源: Laya_示例 发布时间: 20251130
...a.resource.Resource ... Public Properties Hide Inherited Public Properties Show Inherited Public Properties PropertyDefined By alphaTest : Boolean 获取是否透明裁剪。 BaseMaterial alphaTestValue : Number 获取透明测试模式裁剪值。 BaseMaterial ambientColor : Vector3TerrainMat...
来源: Laya2.0_api 发布时间: 20190513