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

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

201. texture2DsetPixel纹理rgba数据之后会随着窗口缩放,渐变成黑色 [ 82%]

...着窗口缩放,渐变成黑色 export class Texture2dTest { private sprite3D:Laya.Sprite3D; private readonly AllPng:string[] = ["pic-001.png","output-06.png"]; private texture:Laya.Texture2D; private box; constructor(){ Laya3D.init(0, 0); Laya.stage.scaleMode = Laya.Stage.SCALE_FULL; Laya.stag...

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

202. untiy导出粒子特效有播放完成回掉吗? [ 82%]

...苦了! 这个事件是挂在ShurikenParticleSystem上。  var wjqs:Sprite3D = scene.addChild(Sprite3D.load("fff.lh")) as Sprite3D; wjqs.once(Event.HIERARCHY_LOADED, this, function():void { var aaa:ShurikenParticleSystem = wjqs.getChildAt(0).getChildAt(0).particleSystem; aaa.on(Event.COMPLETE,...

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

203. laya.d3.core.particleShuriKen.ShuriKenParticle3D [ 81%]

...lasspublic class ShuriKenParticle3DInheritanceShuriKenParticle3D RenderableSprite3D Sprite3D Node EventDispatcher Object ShuriKenParticle3D 3D粒子。 Public Properties Hide Inherited Public Properties Show Inherited Public Properties PropertyDefined By active : Boolean 获取自身是否激活...

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

204. 3d模型预加载后二次调用报错 [ 81%]

...二次调用报错 使用Laya.loader.create 预加载,第一次用Laya.Sprite3D.load("xxx.lh").getChildAt(0) 可以创建,第二次再调用Laya.Sprite3D.load("xxx.lh").getChildAt(0) 创建就返回undefined了,help~ 2018-03-07 添加评论 免费帖 --> 分享 微博 QZONE 微信 没有找到...

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

205. 碰撞检测 outHitInfo.distance 一直等于 -1 ?(TS代码) [ 81%]

...eControlScript extends Laya.Script{ /*角色模型*/ public roleModel:Laya.Sprite3D; /*角色动画组件*/ public roleAni:Laya.Animator; /*角色当前动作*/ public currentAction:string = "stand"; /*角色动画是否完成*/ public aniComplete:Boolean = true; /*角色移动速度*/ public speed:...

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

206. 多个UI3D出现点击位置不对 [ 81%]

多个UI3D出现点击位置不对 点击右边Sprite3D(1),点击事件会跑到左边Sprite3D去 但将右边Sprite3D(1)positionx值改为2.37622,则又正常了 附件 : --> LayaProject10.zip 2023-09-12 添加评论 免费帖 --> 分享 微博 QZONE 微信 没有找到相关结...

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

207. layaAir2.3克隆以及获取节点重大bug!!! [ 81%]

....Loader.getRes("res/my_res/guns_test.lh");          let a :Laya.Sprite3D = new Laya.Sprite3D();         a.addChild(guns_test.getChildAt(0).clone());         a.transform.translate(new Laya.Vector3(0,1.38,-60))//transform.localPositionX-=2;         a.transform.sc...

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

208. rigidBody.applyForce 物体不会移动 [ 81%]

...mera; private directionlight: Laya.DirectionLight; private character: Laya.Sprite3D; private monster_character: Laya.Sprite3D; private translateW: Laya.Vector3 = new Laya.Vector3(0, 0, 0.2); private translateS: Laya.Vector3 = new Laya.Vector3(0, 0, -0.2); private translateA: Laya.Vector3 = new Laya....

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

209. Laya3D,支持IOS版本最低是多少? [ 80%]

Laya3D,支持IOS版本最低是多少? 使用LAYA3D,到加载Sprite3D对象到场景上时候,遇到个问题。在PC端浏览器可以正常打开正常渲染,但是在苹果手机上,ios9以下版本(测试用了ios8.3和8.4),只出现声音。画面卡主不动了。后来...

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

210. laya.d3.graphics.StaticBatchManager [ 80%]

...StaticBatchManager 实例。 StaticBatchManager  combine(staticBatchRoot:Sprite3D, renderableSprite3Ds:Vector.<RenderableSprite3D> = null):void[static] 静态批处理合并,合并后子节点修改Transform属性无效,根节点staticBatchRoot可为null,如果根节点不为null,根...

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