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

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

781. laya.ui.Tab_API3.0 [ 57%]

...ouseThrough name selectHandler tag drawtocanvCtx Accessors _isHeightSet _isWidthSet active activeInHierarchy alpha anchorX anchorY bgColor blendMode bottom cacheAs centerX centerY components customRenderEnable dataSource destroyed direction disabled displayHeight displayWidth displayedInStage drawCa...

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

782. 多摄像机窗口的使用(ActionScript-3D基础(AS3)-LayaAir3D之Camera) [ 57%]

... viewport1:Viewport = camera1.normalizedViewport; //修改参数 viewport1.width = 0.2; //重新赋值是视口 camera1.normalizedViewport = viewport1; var viewport2:Viewport = camera2.normalizedViewport; viewport2.width = 0.8; viewport2.x = 0.2; camera2.normalizedViewport = viewport2; }); ``` ![](i...

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

783. laya.ani.bone.Skeleton_API3.0 [ 57%]

...hitTestPrior mouseThrough name tag drawtocanvCtx Accessors _isHeightSet _isWidthSet active activeInHierarchy alpha anchorX anchorY aniMode animationName blendMode cacheAs components customRenderEnable destroyed displayHeight displayWidth displayedInStage drawCallOptimize filters globalRotation globa...

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

784. Laya事件不能添加给多边形吗? [ 57%]

...ickRect = new Laya.Sprite(); clickRect.graphics.drawRect( 0, 0, Laya.stage.width, Laya.stage.height-100, "#ffffff" ); Laya.stage.addChild( clickRect ); clickRect.on( Laya.Event.CLICK, this, function(){ console.log( 'adf' ) } );   我创建一个多边形,然后添加一个点击事件就没反应...

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

785. TileMap有明显的bug [ 57%]

...og("map create ..."); } var viewRect = new Laya.Rectangle(0, 0, Laya.stage.width, Laya.stage.height); var tMap = new Laya.TiledMap(); tMap.createMap("res/isometric_grass_and_water.json", viewRect, Laya.Handler.create(this, this._OnMapCreate), null, new Laya.Point(2 * 64, 2 * 32)); 附件 : --> 2019-...

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

786. laya.media.VideoNode_API3.0 [ 56%]

...hitTestPrior mouseThrough name tag drawtocanvCtx Accessors _isHeightSet _isWidthSet active activeInHierarchy alpha anchorX anchorY blendMode buffered cacheAs components currentSrc currentTime customRenderEnable destroyed displayHeight displayWidth displayedInStage drawCallOptimize duration ended err...

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

787. Button属性详解(TypeScript-IDE篇(TS)-IDE组件属性详解) [ 56%]

...加到舞台上 Laya.stage.addChild(btn); //设置Button相关属性 btn.width = 100; btn.height = 50; btn.pos(100,100); btn.label = "按钮"; } } new GameMain(); ``` 上述代码运行效果如动图2所示: ![动图2](img/2.gif) (动图2) **Tips:** Button 组件的属性接口介绍请参考 [Bu...

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

788. 微信小游戏报错 [ 56%]

...该是引擎的 1、undefined is not an object (evaluating 'measureResult.width');at socketTask.onmessage callback function 2、null is not an object (evaluating 'this._audio.play');at audioContext.onended callback function 3、Cannot read property 'play' of null;at audioContext.onended callback fun...

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

789. 为什么Tiledmap总是显示于stage的图片之上? [ 56%]

...: tiledMap.createMap("tiledMap/desert.json", new Rectangle(0, 0, Browser.width, Browser.height), new Handler(this, completeHandler)); } private function completeHandler(e:*=null):void { createImage(); } 2017-02-24 1 0 分享 微博 QZONE 微信 hamletborn 赞同来自: 谢谢! 2017-02-24 0 0 分...

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

790. drawToCanvas无法释放内存 [ 56%]

...s, ZX);function ZX():void{ var tex:Texture=new Texture(sp.drawToCanvas(sp.width,sp.height,0,0))             sp.graphics.clear()             sp.graphics.destroy()             tex.destroy()             tex.disposeBitmap()             tex.bit...

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