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

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

371. window 下接收不到事件,Click,EnterFrame都接受不到 [ 66%]

...: 708 关注: 2 人 黄进 • 2018-06-11 17:23 啥意思? Content.once(Event.CLICK,this,OnMouseDown); Content.once(Event.MOUSE_OUT,this,OnMouseDown); Laya.stage.once(Event.FRAME,this,onEnterFrame); 这样事件都监听不到? Laya_Aaron • 2018-06-11 17:52 你描述的我也不懂是什么意...

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

372. laya.ani.swf.MovieClip_API3.0 [ 66%]

...ld addChildAt addChildren addComponent addComponentInstance addLabel bubbleEvent callLater clearTimer contains customRender destroy destroyChildren drawToCanvas drawToTexture drawToTexture3D event frameLoop frameOnce fromParentPoint getBounds getChildAt getChildByName getChildIndex getComponent getC...

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

373. laya.utils.PerfHUD [ 66%]

...All Classes | Index | Frames No Frames PerfHUDProperties | Methods | Events Packagelaya.utilsClasspublic class PerfHUDInheritancePerfHUD Sprite Node EventDispatcher ObjectPublic Properties Hide Inherited Public Properties Show Inherited Public Properties PropertyDefined By active : Boolean ...

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

374. laya.ui.ScaleBox [ 66%]

...ll Classes | Index | Frames No Frames ScaleBoxProperties | Methods | Events Packagelaya.uiClasspublic class ScaleBoxInheritanceScaleBox Box UIComponent Sprite Node EventDispatcher Object 自适应缩放容器,容器设置大小后,容器大小始终保持stage大小,子内容按照原...

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

375. 2D物理-碰撞事件与传感器 [ 66%]

...言、LayaAirIDE让项目开发更高效。class Physics_Physics_CollisionEvent { constructor() { this.count = 7; this.bodys = []; this.touching = []; Laya.Config.isAntialias = true; Laya.Laya.init(1200, 700, Laya.WebGL); Laya.Stat.show(); Laya.Physics.enable(); Laya.PhysicsDebugDraw.enable(); Laya....

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

376. laya.d3.core.trail.TrailRenderer [ 66%]

...re.trailClasspublic class TrailRendererInheritanceTrailRenderer BaseRender EventDispatcher Object TrailRenderer 类用于创建拖尾渲染器。 Public Properties Hide Inherited Public Properties Show Inherited Public Properties PropertyDefined By bounds : Bounds[read-only] 获取包围盒,只读...

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

377. 分享:SWF LABEL标签的使用! [ 66%]

...L标签的使用!  package { import laya.ani.swf.MovieClip; import laya.events.Event; public class SwfLabelUse { private var mc:MovieClip; public function SwfLabelUse() { Laya.init(600,600); Laya.stage.bgColor="#EEFFCC"; mc=new MovieClip(); mc.load("output/AAA.swf"); mc.on(Event.LOADED,this,onLoa...

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

378. Laya.loader.load加载位图字体 [ 66%]

...          this._data=data;                 this.event(/*laya.events.Event.PROGRESS*/"progress",0.5);                 return this._loadImage(this._url.replace(".fnt",".png"));             }else {                 var bFont=new Bitma...

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

379. laya.html.dom.HTMLDivElement [ 66%]

...sses | Index | Frames No Frames HTMLDivElementProperties | Methods | Events Packagelaya.html.domClasspublic class HTMLDivElementInheritanceHTMLDivElement Sprite Node EventDispatcher ObjectSubclasses HTMLIframeElement HTML图文类,用于显示html内容 支持的标签如下: a:链接标签...

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

380. 请问在2.0版本的js中,如何获取mouse_move的鼠标坐标 [ 66%]

...在2.0版本的js中,如何获取mouse_move的鼠标坐标 img.on(Laya.Event.MOUSE_MOVE,this,this.onmousemove); apesCtn.addChild(img); ........ onmousemove(e) { //console.log("e="+JSON.stringify(e)); for (var property in e) { console.log(property+"="+e[property]); } console.log("==================...

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