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

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

71. laya.ui.Clip [ 82%]

...手动刷新。 注意: 1.Sprite tag : * 对象的标签。 Component texture : Texture设置一个Texture实例,并显示此图片(如果之前有其他绘制,则会被清除掉)。等同于graphics.clear();graphics.drawTexture()Sprite timer : Timer时间控制器,默认Laya.timer...

来源: laya_api 发布时间: 20170929

72. laya.ui.AdvImage [ 82%]

...资源加载完成后,会自动缓存至资源库中。 Image source : Texture 对象的纹理资源。 Image stage : Stage[read-only] 对舞台 stage 的引用。Sprite staticCache : Boolean设置cacheAs非空时此值才有效,staticCache=true时,子对象变化时不会自动更新缓...

来源: Laya2.0_api 发布时间: 20190513

73. 跳转场景后laya.core.js就报Cannot read property 'width' of null的错误 [ 81%]

...promise) TypeError: Cannot read property 'width' of null     at Function.Texture._create (laya.core.js:15946)     at Texture.__proto._onLoaded (laya.core.js:15750)     at EventHandler.__proto.runWith (laya.core.js:1410)     at ResInfo.__proto.event (laya.core.js:1166)     at LoaderManager....

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

74. laya.map.TileTexSet [ 81%]

...XTileTexSet  offY : int = 0纹理显示时的坐标偏移YTileTexSet  texture : Texture子纹理的引用TileTexSet  textureArray : Array = null当前要播放动画的纹理序列TileTexSetPublic Methods  MethodDefined By  addAniSprite(aniName:String, sprite:TileAniSprite):void 加入一...

来源: laya_api 发布时间: 20170929

75. Node类中getChildByName没有null容错 [ 81%]

...eBytes方法啊 IDE打开某个场景时弹处弹框报错:对[Dialog]的texture属性赋值时遇错误:cannot read property 'width' of null TypeError: Cannot read property 'length' of null Laya.stage报null 问题状态 最新活动: 2017-03-23 19:56 浏览: 1347 关注: 2 人 palgerrard • 2...

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

76. 鼠标交互-Hold [ 81%]

...nt = Laya.Event; this.ape = new Sprite(); this.ape.loadImage(apePath); let texture = Laya.loader.getRes(apePath); this.ape.pivot(texture.width / 2, texture.height / 2); this.ape.pos(Laya.stage.width / 2, Laya.stage.height / 2); this.ape.scale(0.8, 0.8); Laya.stage.addChild(this.ape); // 鼠标交互...

来源: Laya2.0_示例 发布时间: 20240930

77. laya.display.AnimationPlayerBase [ 81%]

...但是可以通过调用 reCache 方法手动刷新。 注意: 1.Sprite texture : Texture设置一个Texture实例,并显示此图片(如果之前有其他绘制,则会被清除掉)。等同于graphics.clear();graphics.drawTexture()Sprite timer : Timer时间控制器,默认Laya.time...

来源: laya_api 发布时间: 20170929

78. laya.ui.ScrollBar [ 81%]

...的标签。 Component  target : Sprite 设置滚动对象。 ScrollBar texture : Texture设置一个Texture实例,并显示此图片(如果之前有其他绘制,则会被清除掉)。等同于graphics.clear();graphics.drawTexture()Sprite  thumbPercent : Number获取或设置一个值...

来源: laya_api 发布时间: 20170929

79. laya.ui.Panel [ 81%]

...手动刷新。 注意: 1.Sprite tag : * 对象的标签。 Component texture : Texture设置一个Texture实例,并显示此图片(如果之前有其他绘制,则会被清除掉)。等同于graphics.clear();graphics.drawTexture()Sprite timer : Timer时间控制器,默认Laya.timer...

来源: laya_api 发布时间: 20170929

80. laya.map.MapLayer [ 81%]

...方法手动刷新。Sprite  tarLayer : MapLayer被合到的层MapLayer texture : Texture 设置一个Texture实例,并显示此图片(如果之前有其他绘制,则会被清除掉)。 等同于graphics.clear();graphics.drawImage(),但性能更高 还可以赋值一个图片地址,...

来源: Laya2.0_api 发布时间: 20190513