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

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

261. 3D支持图集吗? [ 76%]

...呢?3D不支持取图片中的一个图片吗?  //2D加载图集 var texture: Laya.Texture = Laya.loader.getRes("magic/sg.png"); var sp = new Laya.Sprite(); sp.graphics.drawTexture(texture, 0, 0); Laya.stage.addChild(sp);   //3D加载图集 var box: Laya.MeshSprite3D = scene.addChild(new Laya....

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

262. 关于微信小游戏的开放数据域,请问如何将开放数据域的canvas绘制到layaair的image上? [ 76%]

...据域canvas // this.view.image_rank_list //要绘制的图片 // var rankTexture = new Laya.Texture(wxMgr.getOpenDataCanvas()); // rankTexture.bitmap.alwaysChange = true;//小游戏使用,非常费,每帧刷新 // console.log(rankTexture); // var img = wxMgr.getOpenDataCanvas().toDataURL("image...

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

263. laya.ui.Slider [ 75%]

...手动刷新。 注意: 1.Sprite tag : * 对象的标签。 Component texture : Texture设置一个Texture实例,并显示此图片(如果之前有其他绘制,则会被清除掉)。等同于graphics.clear();graphics.drawTexture()Sprite  tick : Number 滑动的刻度值,滑动数值...

来源: laya_api 发布时间: 20170929

264. 浏览器和微信工具都截屏不了 [ 75%]

...p.drawToCanvas(100,100,0,0);             //获取截屏区域的texture             var _texture = htmlC.getTexture();             //将截屏的texture进行draw绘制并显示到舞台             var sp2 = new Laya.Sprite();             sp2.x...

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

265. laya.ui.AsynDialog [ 75%]

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

来源: laya_api 发布时间: 20170929

266. laya.ui.Panel [ 75%]

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

来源: laya_api 发布时间: 20170929

267. laya.display.AnimationBase_API3.0 [ 75%]

...votY rotation scaleX scaleY scene scrollRect skewX skewY stage staticCache texture timer transform url viewport visible width x y zOrder Methods _initialize _processActive addChild addChildAt addChildren addComponent addComponentInstance addLabel bubbleEvent callLater clear clearTimer contains custo...

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

268. laya.ui.Component [ 75%]

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

来源: laya_api 发布时间: 20170929

269. laya.device.media.Video [ 75%]

...RT_PROBABLY : String = probably[static] 表示最有可能支持。 Video texture : Texture设置一个Texture实例,并显示此图片(如果之前有其他绘制,则会被清除掉)。等同于graphics.clear();graphics.drawTexture()Sprite timer : Timer时间控制器,默认为Laya.time...

来源: laya_api 发布时间: 20170929

270. laya.ui.Tree [ 75%]

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

来源: laya_api 发布时间: 20170929