• 首页
  • 动态
  • 案例
  • 引擎社区
  • API
  • 文档
  • 示例
  • 引擎下载

大约有 619 项符合查询结果, 库内数据总量为 31,560 项。 (搜索耗时: 0.0045 秒)

71. laya.utils.Stat [ 75%]

...能统计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

72. 性能测试-虫子(慎入) [ 75%]

...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

73. ScrollRect设置会引起其他的UI资源无法正在显示 [ 75%]

...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

74. laya.d3.physics.shape.CylinderColliderShape [ 75%]

...建圆柱碰撞器。 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

75. laya.d3.physics.shape.ConeColliderShape [ 75%]

...建圆柱碰撞器。 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

76. 请教,namspace 定义后,怎么使用里面的类 [ 74%]

...换成module后依然不行。   namespace Test { export class TestOne { Show(){ alert("调用成功!"); } } } Main.Ts ConfigLoaded 函数 onConfigLoaded(): void {                  var testOne=new Test.TestOne();//失败 未找到Test.TestOne         testOne.Show();    ...

来源: Laya_社区 发布时间: 20190824

77. 骨骼动画-多纹理 [ 74%]

....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

78. laya 是否多窗口开发开发??? [ 74%]

...reator 赞同来自:         在官方 dialog 那个demo中,不适用show,改为 Laya.stage.addChild(dialog1) 就可实现此效果。 2017-03-31 0 1 分享 微博 QZONE 微信 cuixueying 赞同来自: LayaAir本身就是一个canvas标签,多窗口可以实现,你用js原生的方法...

来源: Laya_社区 发布时间: 20170331

79. 骨骼动画-藤蔓 [ 74%]

...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

80. laya.d3.core.material.TerrainMaterial [ 74%]

...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