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

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

311. laya.ui.HScrollBar [ 46%]

...以像素为单位)。 Component changeHandler : Handler滚动变化时回调,回传value参数。ScrollBar comXml : Object XML 数据。 Component customRenderEnable : Boolean[write-only] 设置是否开启自定义渲染,只有开启自定义渲染,才能使用customRender函数渲染...

来源: laya_api 发布时间: 20170929

312. laya.ui.TextArea_API3.0 [ 46%]

...。 Parameters caller: any 执行域(this)。 method: Function 结束时的回调方法。 Returns void contains contains(node: Node): boolean Inherited from Node.contains Defined in laya/display/Node.ts:546 当前容器是否包含指定的 Node 节点对象 。 Parameters node: Node 指定的 Node...

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

313. laya.display.Text_API3.0 [ 45%]

...。 Parameters caller: any 执行域(this)。 method: Function 结束时的回调方法。 Returns void contains contains(node: Node): boolean Inherited from Node.contains Defined in laya/display/Node.ts:546 当前容器是否包含指定的 Node 节点对象 。 Parameters node: Node 指定的 Node...

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

314. laya.display.Sprite [ 43%]

...高度。  complete:Handler (default = null) — (可选)加载完成回调。 ReturnsSprite — 返回精灵对象本身。 localToGlobal()method  public function localToGlobal(point:Point, createNewPoint:Boolean = false):Point 把本地坐标转换为相对stage的全局坐标。 Parameters ...

来源: laya_api 发布时间: 20170929

315. laya.ani.swf.MovieClip [ 42%]

...ull):void 从开始索引播放到结束索引,结束之后出发complete回调 MovieClip pos(x:Number, y:Number, speedMode:Boolean = false):Sprite 设置坐标位置。相当于分别设置x和y属性。 因为返回值为Sprite对象本身,所以可以使用如下语法:spr.pos(...).scale(....

来源: laya_api 发布时间: 20170929

316. laya.display.Input_API3.0 [ 42%]

...。 Parameters caller: any 执行域(this)。 method: Function 结束时的回调方法。 Returns void contains contains(node: Node): boolean Inherited from Node.contains Defined in laya/display/Node.ts:546 当前容器是否包含指定的 Node 节点对象 。 Parameters node: Node 指定的 Node...

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

317. laya.display.Text [ 42%]

...是在需要频繁执行的逻辑中,比如帧循环和MOUSE_MOVE事件回调函数里面。 getGraphicBounds()method override public function getGraphicBounds(realSize:Boolean = false):Rectangle 返回此实例中的绘图对象( Graphics )的显示区域,不包括子对象。 Parameters r...

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

318. Timer Handler被覆盖 [ 42%]

...new Laya.Handler的方式,也可以采用Laya.Handler.create(this,this.回调,null,false); 最后一个参数设置成false的意思就是用一次不回收,一直存在。感觉你Handler出问题应该是这个原因导致的。 2021-07-01 0 1 分享 微博 QZONE 微信 156*****628 赞同来...

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

319. CPU优化方式(ActionScript-2D进阶篇(AS3)-性能优化) [ 41%]

....height); })); Laya.stage.addChild(sp); ``` ​ loadImage在加载完成的回调函数触发之后才可以正确获取宽高。 3. **直接调用size设置:** ```javascript Laya.loader.load("res/apes/monkey2.png", Handler.create(this, function() {     var texture:Texture = Laya.loader.g...

来源: Laya2.0_文档 发布时间: 20210715

320. CPU优化方式(JavaScript-2D进阶篇(JS)-性能优化) [ 41%]

...h,sp.height); })); Laya.stage.addChild(sp); ``` loadImage在加载完成的回调函数触发之后才可以正确获取宽高。 1. **直接调用size设置:** ```javascript Laya.loader.load("res/apes/monkey2.png",Handler.create(this,function() { var texture=Laya.loader.getRes("res/apes/monkey2.p...

来源: Laya2.0_文档 发布时间: 20210715