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

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

1361. laya.d3.core.light.DirectionLight_API3.0 [ 52%]

...dowTwoCascadeSplits timer transform url Methods _initialize _processActive addChild addChildAt addChildren addComponent addComponentInstance bubbleEvent callLater clearTimer clone contains destroy destroyChildren event frameLoop frameOnce getChildAt getChildByName getChildIndex getComponent getCompo...

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

1362. 2D寻路 · LayaAir3.3 · 引擎文档 · LAYABOX [ 52%]

...e; //sprite.cache = true; this._temp = new Laya.Sprite(); this.owner.scene.addChild(this._temp); this.findCompents(this._allAgent, sprite.scene, Nav2DAgent); } onMouseClick(evt: Laya.Event): void { let pos = new Laya.Vector2(evt.stageX, evt.stageY); console.log("click", pos); this._temp.graphics.cle...

来源: Laya3.0_文档 发布时间: 20251010

1363. scaleMode设为full时怎么pc浏览器跟平板上效果不一样? [ 52%]

...leteHandler():void { var bg:Image = new Image("assets/bg.jpg"); Laya.stage.addChild(bg); }这张图在三星平板上可以完整显示出来,为什么在电脑上显示不完整呢。图分辨率为2560*1600   2017-11-24 添加评论 免费帖 --> 分享 微博 QZONE 微信 没有找到相关结...

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

1364. LayaNative端使用.ttf字体 [ 52%]

...哈哈哈哈哈哈哈哈哈哈哈哈哈哈哈哈哈哈哈哈!"; Laya.stage.addChild(text); text.width=100; text.height=100; } } } 2016-12-19 0 6 分享 微博 QZONE 微信 皮 赞同来自: Browser.window.conch这个是未定义的,不会执行Browser.window.conch.setFontFaceFromBuffer("hu",arr);...

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

1365. CheckBox属性详解(ActionScript-IDE篇(AS3)-IDE组件属性详解) [ 51%]

... cb1:CheckBox = new CheckBox(skin1); //添加到舞台上显示 Laya.stage.addChild(cb1); //设置checkbox的坐标位置 cb1.pos(300,200); //文本标签内容 cb1.label="我是多选框1"; //label文本字体大小 cb1.labelSize = 20; //设置为默认选中状态 cb1.selected = true; //再创建...

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

1366. LayaAir引擎工具会员专属功能介绍(TypeScript-简介篇(TS)-LayaAir引擎简介) [ 51%]

..."); var sp:Sprite = new Sprite(); sp.graphics.drawTexture(img); Laya.stage.addChild(sp); })); Laya.loader.load("res/atlas/test.atlas", Handler.create(this, function():void { var img:Texture = Laya.loader.getRes("test/test.png"); var sp:Sprite = new Sprite(); sp.graphics.drawTexture(img); Laya.stage....

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

1367. laya.ui.Image_API3.0 [ 51%]

...象的宽度。 bg.height = 250;//设置 bg 对象的高度。 Laya.stage.addChild(bg);//将此 bg 对象添加到显示列表。 var image:Image = new Image("resource/ui/image.png");//创建一个 Image 类的实例对象 image ,并传入它的皮肤。 image.x = 100;//设置 image 对象的属性 ...

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

1368. LAYA转换后,MovieClip的gotoAndStop方法会使子MovieClip偶尔显示不出图片 [ 51%]

... 这个我倒没试过,我是用LOADER加载的,加载完后执行this.addChild(event.target.loader); jiahuafu • 2016-07-19 10:37 谢谢!另外一个游戏我去试下 jiahuafu • 2016-07-22 10:03 preSwfAssets这方法管用,哈哈,请问这个原理是什么? cuixueying • 2016-07-2...

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

1369. laya.d3.core.MeshTerrainSprite3D_API3.0 [ 51%]

... parent scene timer transform url width Methods _initialize _processActive addChild addChildAt addChildren addComponent addComponentInstance addInputChild callLater clearTimer clone contains destroy destroyChildren event frameLoop frameOnce getChildAt getChildByName getChildIndex getComponent getCom...

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

1370. 如何加载一个HTML页面 [ 51%]

...lement();      iframe.href="http://www.baidu.com";      Laya.stage.addChild(iframe);   //showText(); })();   2017-11-13 0 0 分享 微博 QZONE 微信 wudi199553 赞同来自: 麻烦你说的具体一点行么 2017-11-13 0 3 分享 微博 QZONE 微信 ymsdandan 赞同来自: Browser.window...

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