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

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

1271. 播放视频只有声音没有图像 [ 55%]

...w Laya.Sprite(); reference.pos(0, 0); reference.size('100%', '100%'); this.addChild(reference); Laya.stage.on(Laya.Event.RESIZE, this, Laya.Utils.fitDOMElementInArea, [videoElement,reference,0, 0,'100%','100%']); Laya.Utils.fitDOMElementInArea(videoElement,reference,0, 0,'100%','100%') } } 2018-11-2...

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

1272. laya.ui.Slider_API3.0 [ 55%]

...wport visible width x y zOrder Methods _initialize _processActive _setSkin addChild addChildAt addChildren addComponent addComponentInstance bubbleEvent callLater clearTimer contains customRender destroy destroyChildren drawToCanvas drawToTexture drawToTexture3D event frameLoop frameOnce freshLayout...

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

1273. edge无妨访问facebook的图片 [ 55%]

...(33,33); image.skin = "https://platform-lookaside.fbs ... 3B%3B Laya.stage.addChild(image); 用edge无法访问该图片 用edge浏览器单独打开此图片可以打开 用firefox,chrome都可以访问到图片 这是火狐看到的   附件 : --> 2018-11-16 添加评论 免费帖 --> 分享 微...

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

1274. laya.ui.VScrollBar [ 55%]

... Inherited Public Methods Show Inherited Public Methods MethodDefined By addChild(node:Node):Node 添加子节点。 Node addChildAt(node:Node, index:int):Node 添加子节点到指定的索引位置。 Node addChildren(... args):void 批量增加子节点 Node callLater(method:Function, args:A...

来源: laya_api 发布时间: 20170929

1275. 骨骼Label事件,多接收一次 [ 55%]

...getSpineResource("ani/role/1/1.sk").buildArmature(1); Laya.stage.addChild(ske); let info:any = ske.templet.eventAniArr ske.x = 100; ske.y = 100; CUtil.Log(ske.getAniNameByIndex(0)) ske.play("atk",false) ske.on(Laya.Event.LABEL,this,function(e:any) { CUtil.Log("发动攻击:&...

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

1276. laya.ui.HScrollBar [ 55%]

... Inherited Public Methods Show Inherited Public Methods MethodDefined By addChild(node:Node):Node 添加子节点。 Node addChildAt(node:Node, index:int):Node 添加子节点到指定的索引位置。 Node addChildren(... args):void 批量增加子节点 Node callLater(method:Function, args:A...

来源: laya_api 发布时间: 20170929

1277. laya.ui.CheckBox [ 55%]

... null, label:String) 创建一个新的 CheckBox 组件实例。 CheckBox addChild(node:Node):Node 添加子节点。 Node addChildAt(node:Node, index:int):Node 添加子节点到指定的索引位置。 Node addChildren(... args):void 批量增加子节点 Node addComponent(type:Class):* 添加...

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

1278. 问个关于die的问题 [ 55%]

...rite=new Sprite(); sp.graphics.drawRect(0,0,100,100,"#FF0000"); Laya.stage.addChild(sp); var timeLine:TimeLine=new TimeLine(); timeLine.to(sp,{x:50,y:50},1000).to(sp,{x:30,y:30},1000); timeLine.play(); 2017-06-15 0 2 分享 微博 QZONE 微信 为什么被折叠? 0 个回复被折叠 要回复问题...

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

1279. laya.ui.FontClip_API3.0 [ 55%]

... y zOrder Methods _initialize _processActive _setHeight _setSkin _setWidth addChild addChildAt addChildren addComponent addComponentInstance bubbleEvent callLater clearTimer contains customRender destroy destroyChildren drawToCanvas drawToTexture drawToTexture3D event frameLoop frameOnce freshLayout...

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

1280. 百度小游戏 内存不断增大的情况 [ 55%]

...Open){ return; } this.isOpen=true; var testView=new TestView(); Laya.stage.addChild(testView); Laya.timer.once(200,this,this.removeUi,[testView]); } __proto.removeUi=function(ui){ if(ui!=null){ ui.destroy(); this.isOpen=false; } }  代码主要是做了重复打开关闭一个界面,调用界面...

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