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

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

641. laya.html.dom.HTMLDivElement_API3.0 [ 67%]

...otation scaleX scaleY scene scrollRect skewX skewY stage staticCache style texture timer transform url viewport visible width x y zOrder Methods _initialize _processActive addChild addChildAt addChildren addComponent addComponentInstance addInputChild callLater clearTimer contains customRender destr...

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

642. laya.ui.RadioGroup [ 67%]

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

来源: laya_api 发布时间: 20170929

643. cache bitmap size larger than 2048,cache ignored [ 66%]

...合适 请问Native下,怎么将二进制的图片转换为bitmap或者texture? 将ui设置为bitmap,当鼠标悬浮在button上时,会导致ui重绘,有什么方法能避免吗? button就是一张静态图+文本,不需要选中按下等状态 Maximum call stack size exceeded 微信...

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

644. laya.ui.VScrollBar [ 66%]

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

来源: laya_api 发布时间: 20170929

645. 我想任意的在图片上圈一个不规则闭合的曲线,然后得到曲线内的图片。LayaAir应该怎么实现? [ 66%]

...曲线,就能够将这部分绘制出来 使用LayaAir的.graphics.drawTexture(tex:Texture, x:Number = 0, y:Number = 0, width:Number = 0, height:Number = 0, m:Matrix = null, alpha:Number = 1) 获得只能是一个矩形,请问Laya应该如何实现同样的功能? 2017-04-14 添加评论 免...

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

646. this.bitmap.activeResource is not a function TypeError: this.bitmap.activeResource is not a function [ 66%]

...s.bitmap.activeResource is not a function     使用代码如下:var rankTexture:Texture = new Texture(Laya.Browser.window.sharedCanvas); var image:Laya.Image = new Laya.Image(); image.source = rankTexture; Laya.stage.addChild(image);     附件 : --> 2018-04-03 1 条评论 免费帖 --> 分享 ...

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

647. 我想移动容器来实现前进的动画,但是移动不了。这里的y有问题 但是又不知道改成什么 [ 66%]

...ain=(function() {   var Sprite = Laya.Sprite; var Stage = Laya.Stage; var Texture = Laya.Texture; var Browser = Laya.Browser; var Handler = Laya.Handler; var WebGL = Laya.WebGL;   (function() { // 不支持WebGL时自动切换至Canvas Laya.init(400,852); Laya.stage.alignV = Stage.ALIGN_MIDDLE; La...

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

648. laya.ui.HScrollBar [ 66%]

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

来源: laya_api 发布时间: 20170929

649. png使用base64显示异常 [ 66%]

...n () { // image.onload = null; // image.onerror = null; // var data = Laya.Texture2D._parse(image); // data._url = "sdfasf" // _this.onLoaded(data); img=HTMLImage.create(image.width,image.height,1); img.loadImageSource(image,true); img._setCreateURL(url); _this.onLoaded(img); }; var url = _this.arra...

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

650. 3D场景环境设置 · LayaAir3.3 · 引擎文档 · LAYABOX [ 66%]

...数据要更少,所以这种天空的性能要更好一些。 Panoramic Texture:天空盒的纹理贴图(一张球形模型对应的贴图) 2.1.1 立方体天空 立方体天空盒用到的6张可以无缝相接的贴图参考,图2-5所示 (图2-5) 2.1.2 球形天空 是一个球形模...

来源: Laya3.0_文档 发布时间: 20251010