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

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

341. laya.ui.TextInput [ 60%]

...nput textField : Text[read-only] 文本控件实体 Text 实例。 Label texture : Texture 设置一个Texture实例,并显示此图片(如果之前有其他绘制,则会被清除掉)。 等同于graphics.clear();graphics.drawImage(),但性能更高 还可以赋值一个图片地址,...

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

342. laya.ui.TextArea_API3.0 [ 60%]

...kewY skin stage staticCache stroke strokeColor templateVars text textField texture timer toolTip top transform type ubb underline underlineColor url vScrollBar vScrollBarSkin valign viewport visible width wordWrap x y zOrder Methods _initialize _processActive _setHeight _setSkin _setWidth addChild a...

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

343. laya.ui.Dialog [ 60%]

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

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

344. laya.ui.Tree_API3.0 [ 60%]

...em selectedPath skewX skewY source spaceBottom spaceLeft stage staticCache texture timer toolTip top transform url viewport visible width x xml y zOrder Methods _initialize _processActive addChild addChildAt addChildren addComponent addComponentInstance bubbleEvent callLater clearTimer contains cust...

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

345. 【简单跑酷--JS版】---Lv.3 添加地板 [ 60%]

...nction(){ /** * 地板类 */ function Floor(){ //背景贴图纹理 this.bgTexture = null; //背景 this.bg = null; Floor.__super.call(this); } //Floor 是一个显示对象 继承此 Sprite Laya.class(Floor, "Floor", laya.display.Sprite); var _proto = Floor.prototype; _proto.init = function(){ //...

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

346. 事件绑定不触发bug [ 60%]

...  = Laya.Sprite;         var Stage   = Laya.Stage;         var Texture = Laya.Texture;         var Browser = Laya.Browser;         var Handler = Laya.Handler;         var WebGL   = Laya.WebGL;         var sp;                  function callback(event) {   ...

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

347. [LayaAir3]3d预制体上通过UI3D挂在2d预制体进行进行倒计时进度条背景闪烁 [ 59%]

...问题 分享:LayaAir下Loading进度条的制作(ActionScript 3.0) Texture图片能否进行翻转? 播放背景音乐的问题 刚打开 桌面调试出现报错Uncaught (in promise) DOMException: play() laya3.0.6版本ide 预制体的问题 做好的粒子特效在U3D里循环正常。在...

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

348. 有关Laya3D碰撞检测疑问 [ 59%]

...eMat: Laya.StandardMaterial = new Laya.StandardMaterial(); planeMat.diffuseTexture = Laya.Texture2D.load("../../res/threeDimen/texture/layabox.png"); planeMat.albedo = new Laya.Vector4(0.9, 0.9, 0.9, 1); plane.meshRender.material = planeMat; var boxCollider = plane.addComponent(Laya.BoxCollider) as ...

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

349. htmlCanvas 像素级操作 [ 59%]

...hicsImg() { //临时sprite var img = new Laya.Sprite(); //img.graphics.drawTexture(Laya.loader.getRes(("../src/img/testImg.png"),0,0)); //获取图片资源 var tex = Laya.loader.getRes("../src/img/testImg.png"); //获取临时sprite的htmlCanvas var htmlCanvas = img.drawToCanvas(tex.width,tex.heigh...

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

350. 资源加载清除问题 [ 59%]

... onLoadCom)); 加载成功一个纹理后,用一个Sprite  graphics.drawTexture(e); 在加载成功方法里面写Loader.clearRes(mapBit, true); 会立刻清掉了纹理,Sprite上面也没有了。 如果在加载成功后加一个延时1秒,调用Loader.clearRes就清理不掉了? 2016-12-...

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