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

大约有 787 项符合查询结果, 库内数据总量为 30,897 项。 (搜索耗时: 0.0064 秒)

421. 粒子加载报错 [ 71%]

...= new Laya.Particle2D(settings); // sp.emitter.start(); // sp.play(); Laya.stage.addChild(sp);  sp.x = Laya.stage.width / 2; sp.y = Laya.stage.height / 2; } 附件 : --> 2019-12-27 添加评论 免费帖 --> 分享 微博 QZONE 微信 没有找到相关结果 已邀请: 与内容相关的链接 提...

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

422. VR的demo有没有加载3D场景的啊,实在不知怎么加 [ 71%]

...都看不到, 附件有场景模型文件 Laya3D.init(0, 0,true); Laya.stage.scaleMode = Laya.Stage.SCALE_FULL; Laya.stage.screenMode = Laya.Stage.SCREEN_HORIZONTAL; Laya.Stat.show(); //var scene = Laya.stage.addChild(new Laya.Scene.load("cj02/LastHopeScene.ls")); var scene = Laya.stage.addChild(n...

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

423. SCALE_FIXED_WIDTH适配屏幕的问题 [ 71%]

...             //设置舞台缩放模式                 Laya.stage.scaleMode = Laya.Stage.SCALE_SHOWALL;                 Laya.stage.screenMode = Laya.Stage.SCREEN_NONE;             } else {                 Laya.stage.scaleMode = Laya.Stage.SCALE_FIXED_WIDTH;    ...

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

424. drawToCanvas内存泄漏 [ 71%]

...webglcanvas 后内存不会增加了    let htmlC: HTMLCanvas = Laya.stage.drawToCanvas(Laya.stage.width, Laya.stage.height, 0, 0);         if (htmlC) {             htmlC.toBase64("image/jpeg", 0.3, (base64) => {                 htmlC.releaseReso...

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

425. Templet资源删除不掉 [ 71%]

...0, WebGL);             Stat.show(0, 0);             Laya.stage.scaleMode = "showall";             Again();         }         private function onAssetLoaded(e:*=null):void         {             // var texture:Texture = Loader.getRes("res/Dragon...

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

426. List组件拖动浏览时item会出现重叠的现象 [ 71%]

...数 list.repeatX = 1; list.repeatY = 4; // list居中显示 list.x = (Laya.stage.width - ListDataSourceItem.WID) / 2; list.y = (Laya.stage.height - ListDataSourceItem.HEI * list.repeatY) / 2; // 使用但隐藏滚动条,滚动条水平滚动 list.vScrollBarSkin = ""; // list.vScrollBarSkin 滚动条...

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

427. laya.display.AnimationBase_API3.0 [ 71%]

...s count customRenderEnable destroyed displayHeight displayWidth displayedInStage drawCallOptimize filters globalRotation globalScaleX globalScaleY graphics height hideFlags hitArea index interval is3D isPlaying mask mouseEnabled mouseX mouseY numChildren parent pivotX pivotY rotation scaleX scaleY s...

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

428. 怎么对graphics画出来的图片进行鼠标点击拖动??? [ 71%]

...我改的代码如下: module laya { import Sprite = Laya.Sprite; import Stage = Laya.Stage; import Event = Laya.Event; import Rectangle = Laya.Rectangle; import Texture = Laya.Texture; import Browser = Laya.Browser; import Handler = Laya.Handler; import WebGL = Laya.WebGL; export class Interactio...

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

429. 使用对象池重复使用skeleton报错,请问有解决方案吗?谢谢 [ 71%]

...unction() { WebGL.enable(); Laya.init(Browser.width, Browser.height); Laya.stage.bgColor = "#ffffff"; Stat.show(); startFun(); })(); function startFun() { mAniPath = "res/spine/spineRes1/dragon.sk"; mFactory = new Templet(); mFactory.on(Event.COMPLETE, this, parseComplete); mFactory.on(Event.ERROR, ...

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

430. laya.display.FrameAnimation_API3.0 [ 71%]

...s count customRenderEnable destroyed displayHeight displayWidth displayedInStage drawCallOptimize filters globalRotation globalScaleX globalScaleY graphics height hideFlags hitArea index interval is3D isPlaying mask mouseEnabled mouseX mouseY numChildren parent pivotX pivotY rotation scaleX scaleY s...

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