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

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

1831. Laya.Sprite3D.instantiate克隆的对象过多,渲染不出来 [ 50%]

...ex++){ var circle = Laya.Sprite3D.instantiate(this.m_circle) this.m_pillar.addChild(circle); this.m_arrCircle.push(circle); this.m_vLastPos.y -= 60; circle.transform.localPosition = this.m_vLastPos; circle.active = true; } 2018-08-09 0 0 分享 微博 QZONE 微信 luckybryce 赞同来自: 回馈一...

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

1832. laya.d3.core.SkinnedMeshSprite3D_API3.0 [ 50%]

...skinnedMeshRenderer 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

1833. laya.d3.core.trail.TrailSprite3D_API3.0 [ 50%]

...trailFilter trailRenderer transform url Methods _initialize _processActive addChild addChildAt addChildren addComponent addComponentInstance bubbleEvent callLater clear clearTimer clone contains destroy destroyChildren event frameLoop frameOnce getChildAt getChildByName getChildIndex getComponent ge...

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

1834. 龙骨删除后内存不减少 [ 50%]

... templet.buildArmature(1);                          this.pos1.addChild(this.skeleton);             this.skeleton.play("work", true);         });         templet.loadAni("spine/ndz01/ndz01.sk"); 我龙骨是这样调用的,后面不用了,我就  this.skeleton.destroy(...

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

1835. 向TiledMap中的对象层中的矩形框添加精灵,不显示 [ 50%]

...aphics.drawRect(0,0,100,100,"#FF0000"); sp.zOrder=1000; mapLayer.addChild(sp); Laya.timer.loop(200,this,onLoop); } private var aaa:Number=0; private var bbb:Number=0; private function onLoop():void { aaa--; sp.x++; tiledMap.moveViewPort(aaa,bbb); } spooner • 2017-05-25 12:25 例子如何...

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

1836. 调用动画结束on方法,报错this.zombieAnimator.on is not a function [ 50%]

...lh", Laya.Handler.create(this, function(zombie:Laya.Sprite3D):void { scene.addChild(zombie); this.zombieAnimator = (zombie.getChildAt(0) as Laya.Sprite3D).getComponent(Laya.Animator) as Laya.Animator;//获取Animator动画组件 this.zombieAnimator.on(Laya.Event.COMPLETE, this, this.onAniComplete); ...

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

1837. laya.ui.VBox_API3.0 [ 50%]

...port visible width x y zOrder Methods _initialize _processActive _setWidth addChild addChildAt addChildren addComponent addComponentInstance bubbleEvent callLater clearTimer contains customRender destroy destroyChildren drawToCanvas drawToTexture drawToTexture3D event frameLoop frameOnce freshLayout...

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

1838. 图集打包与动画 [ 50%]

...oji.ani'; this.ani=new Laya.Animation(); this.ani.loadAnimation(url); this.addChild(this.ani); this.ani.play(0,true,'XiuXian'); 3、顺便确认一下:Laya中的事件系统,鼠标事件是冒泡的,其他事件都不冒泡且只能在同一个View被侦听到 是这样的么? 2018-02-04 添...

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

1839. laya.ui.HBox_API3.0 [ 50%]

...ort visible width x y zOrder Methods _initialize _processActive _setHeight addChild addChildAt addChildren addComponent addComponentInstance bubbleEvent callLater clearTimer contains customRender destroy destroyChildren drawToCanvas drawToTexture drawToTexture3D event frameLoop frameOnce freshLayout...

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

1840. 使用以下代码打开超大分辨率图片 WebGL 模式无法正常显示 [ 50%]

...dImage("comp/hug.png"); //读取大分辨率图片 无法显示 Laya.stage.addChild(sp); } } new GameMain();//问题描述 客户要求使用LAYA引擎打开一张图片 可以随意拖动缩放, 由于图太大, 选择使用WebGL模式打开图片 以上代码当图片分辨率不太大时 正常...

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