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

大约有 901 项符合查询结果, 库内数据总量为 30,724 项。 (搜索耗时: 0.0066 秒)

541. laya.ui.ComboBox [ 69%]

...e : Boolean[read-only] 表示是否在显示列表中显示。Node displayHeight : Number[read-only] 对象的显示高度(以像素为单位)。 Component displayWidth : Number[read-only] 对象的显示宽度(以像素为单位)。 Component filters : Array滤镜集合。可以设置多...

来源: laya_api 发布时间: 20170929

542. Laya tiledmap 监听事件未响应 [ 69%]

...ic_grass_and_water.json", new Rectangle(0, 0, Laya.stage.width, Laya.stage.height), Handler.create(this, this.mapLoaded), null, new Point(1600, 800));      }      private mapLoaded(): void {         let _mapSprite = this.tiledMap.mapSprite();         _mapSprite.mouseEnabled = true;   ...

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

543. laya.ui.View_API3.0 [ 69%]

...stPrior mouseThrough name tag drawtocanvCtx unDestroyedScenes Accessors _isHeightSet _isWidthSet active activeInHierarchy alpha anchorX anchorY blendMode bottom cacheAs centerX centerY components customRenderEnable destroyed displayHeight displayWidth displayedInStage drawCallOptimize filters global...

来源: Laya3.0_api 发布时间: 20231115

544. ProgressBar属性详解(ActionScript-IDE篇(AS3)-IDE组件属性详解) [ 69%]

... = (Laya.stage.width - progressBar.width ) / 2; progressBar.y = Laya.stage.height / 2; //设置九宫格边距,以防变形 progressBar.sizeGrid = "5,5,5,5"; //数据改变时回调方法 progressBar.changeHandler = new Handler(this, onChange); //加载到舞台 Laya.stage.addChild(progressBar); /...

来源: Laya2.0_文档 发布时间: 20210715

545. Spine适配版(ActionScript-LayaAir基础篇(AS3)-动画基础) [ 69%]

...ex: Number = -1; public function Main() { Laya.init(Browser.width, Browser.height, WebGL); Laya.stage.scaleMode = Stage.SCALE_NOSCALE; Laya.stage.bgColor = "#232628"; Stat.show(); this.startFun(); } private function startFun(): void { this.templet = new SpineTempletBinary(); this.templet.loadAni(thi...

来源: Laya2.0_文档 发布时间: 20210715

546. 不带格式后缀的图片无法成功加载 [ 68%]

... nodee = new Laya.Sprite() nodee.texture = picTemp nodee.width = 500 nodee.height = 250 nodee.x = 100 nodee.y = 350 Laya.stage.addChild(nodee) }));上面这个图片无法正常显示,打印 texture 的宽是 undefined,如果是带后缀的图片,比如.jpg就可以正常展示图片。 附件...

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

547. laya.ui.Tab [ 68%]

...e : Boolean[read-only] 表示是否在显示列表中显示。Node displayHeight : Number[read-only] 对象的显示高度(以像素为单位)。 Component displayWidth : Number[read-only] 对象的显示宽度(以像素为单位)。 Component filters : Array滤镜集合。可以设置多...

来源: laya_api 发布时间: 20170929

548. [BUG]大量调用 graphics.drawCircle 导致错误 [ 68%]

...tage.addChild(Sprite) } 其他: Laya.init(Laya.Browser.width, Laya.Browser.height, Laya.WebGL);//Laya.WebGL Laya.stage.scaleMode = "showall"; Laya.stage.alignH = "center"; Laya.stage.alignV = "center"; Laya.stage.useHDRendering = false; //高清 laya.utils.Stat.show(); //调试 图片: 其他: 内...

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

549. new Laya.Templet() 时,说这不是一个constructor [ 68%]

...高度] this.aniFighter.pivot(512/2,304/2);//rectBounds.width/2,rectBounds.height/2); this.aniFighter.pos(Laya.stage.width/2,Laya.stage.height/2); iamnst • 2018-12-12 22:11 在编辑模式下,引入相关类库就可以了 狄 • 2018-11-30 16:47 请问有解决吗?我也遇到同样的问题...

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

550. SCALE_FIXED_WIDTH适配屏幕的问题 [ 68%]

...          Laya.stage.width = 1218;                 Laya.stage.height = 750;                 if (Laya.Browser.onPC) {                     //设置舞台缩放模式                     Laya.stage.scaleMode = Laya.Stage.SCALE_SHOWALL;                  ...

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