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

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

201. texture2D的setPixel纹理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. 3d模型预加载后二次调用报错 [ 82%]

...二次调用报错 使用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

204. 碰撞检测 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

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

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

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

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

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

208. laya.d3.graphics.StaticBatchManager [ 81%]

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

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

209. 自定义shader-简单shader [ 81%]

...dComponent(CameraMoveScript); var layaMonkey = scene.addChild(new Laya.MeshSprite3D(Laya.Mesh.load("../../res/threeDimen/skinModel/LayaMonkey/Assets/LayaMonkey/LayaMonkey-LayaMonkey.lm"))); layaMonkey.transform.localScale = new Laya.Vector3(0.3, 0.3, 0.3); layaMonkey.transform.rotation = new Laya.Qu...

来源: Laya_示例 发布时间: 20250219

210. Laya3D,支持的IOS版本最低是多少? [ 81%]

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

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