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

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

471. laya.map.GridSprite_API3.0 [ 41%]

...oyChildren drawToCanvas drawToTexture drawToTexture3D event frameLoop frameOnce fromParentPoint getBounds getChildAt getChildByName getChildIndex getComponent getComponents getGraphicBounds getMousePoint getRepaint getSelfBounds get_anchorX get_anchorY get_height get_scaleX get_scaleY get_transform ...

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

472. laya.display.Sprite_API3.0 [ 41%]

.../将此 sprite 对象添加到显示列表。 sprite.on(Event.CLICK, this, onClickSprite);//给 sprite 对象添加点击事件侦听。 shape = new Sprite();//创建一个 Sprite 类的实例对象 sprite 。 shape.graphics.drawRect(0, 0, 100, 100, "#ccff00", "#ff0000", 2);//绘制一个有边框...

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

473. laya.utils.TimeLine [ 41%]

...事件。 EventDispatcher off(type:String, caller:*, listener:Function, onceOnly:Boolean = false):EventDispatcher 从 EventDispatcher 对象中删除侦听器。 EventDispatcher offAll(type:String = null):EventDispatcher 从 EventDispatcher 对象中删除指定事件类型的所有侦听器。 Ev...

来源: laya_api 发布时间: 20170929

474. unity中的模型导出后在laya中显示不正常 [ 41%]

...ar scene = Laya.stage.addChild(Laya.Scene.load("res/layaScene.ls")); scene.once(Laya.Event.HIERARCHY_LOADED, this, function (sceneTemp) { var camera = sceneTemp.getChildByName("Main Camera"); camera.transform.translate(new Laya.Vector3(0, 0, 200)); //移动camera });2.问题2:加载完看官方的...

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

475. laya.map.MapLayer_API3.0 [ 41%]

...oyChildren drawToCanvas drawToTexture drawToTexture3D event frameLoop frameOnce fromParentPoint getBounds getChildAt getChildByName getChildIndex getComponent getComponents getDrawSprite getGraphicBounds getLayerProperties getMousePoint getObjectByName getObjectDataByName getRepaint getScreenPositio...

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

476. laya.utils.TimeLine [ 41%]

...事件。 EventDispatcher off(type:String, caller:*, listener:Function, onceOnly:Boolean = false):EventDispatcher 从 EventDispatcher 对象中删除侦听器。 EventDispatcher offAll(type:String = null):EventDispatcher 从 EventDispatcher 对象中删除指定事件类型的所有侦听器。 Ev...

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

477. laya.ui.DialogManager_API3.0 [ 41%]

...ose doOpen drawToCanvas drawToTexture drawToTexture3D event frameLoop frameOnce fromParentPoint getBounds getChildAt getChildByName getChildIndex getComponent getComponents getDialogsByGroup getGraphicBounds getMousePoint getRepaint getSelfBounds get_anchorX get_anchorY get_height get_scaleX get_sca...

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

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

...发这个回调方法,那么就需要对`Hanlder.create()`方法中的`once`参数设置为`false`。或者用`new Handler()`的方式创建。 例如,我们需要在游戏开始界面中加载资源,需要对加载资源的进度进行显示,下面的编码为就是错误的。 ```javascrip...

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

479. laya.ani.swf.MovieClip_API3.0 [ 41%]

...oyChildren drawToCanvas drawToTexture drawToTexture3D event frameLoop frameOnce fromParentPoint getBounds getChildAt getChildByName getChildIndex getComponent getComponents getGraphicBounds getMousePoint getRepaint getSelfBounds get_anchorX get_anchorY get_height get_scaleX get_scaleY get_transform ...

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

480. UI加载完成后无法获取控件的大小——超详细版问题 [ 41%]

...的链接 提交 4 个回复 cuixueying 赞同来自: peterz3g Laya.timer.once(500,this,this.onLoopOnce); } private onLoopOnce():void { this.mypan.vScrollBar.on(Laya.Event.CHANGE, this, this.fitDOMElements_scroll); }加个延迟再看下! 2017-07-20 1 1 分享 微博 QZONE 微信 peterz3g 赞同...

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