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

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

381. 3D场景销毁后,仍有引用存在,内存中场景及引用其的对象无法销毁 [ 69%]

...     this.camera = new Laya.Camera();         this.camera.transform.translate(new Laya.Vector3(0, 2, 5));         this.camera.transform.rotate(new Laya.Vector3(-30, 0, 0), true, false);          this.scene.addChild(this.camera);         Laya.loader.cr...

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

382. layabox 只支持一个灯光? [ 69%]

...ht; this.loadCCDlight.color = new Laya.Vector3(1, 1, 1); this.loadCCDlight.transform.position = new Laya.Vector3(-1, 1.2, 0.0); this.loadCCDlight.direction = new Laya.Vector3(0.15, -1.0, 0.0); this.loadCCDlight.attenuation = new Laya.Vector3(0.0, 0.0, 0.8); this.loadCCDlight.range = 6.0; this.loadCC...

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

383. 3D模型加载帧动画的问题 [ 69%]

...000);//加载到场景scene.addChild(camera);//旋转摄像机角度camera.transform.rotate(new Laya.Vector3(-25,0,0),false,false);//移动摄像机位置camera.transform.position = new Laya.Vector3(0,5,10);//加入摄像机移动控制脚本camera.addComponent(CameraMoveScript); //添加蒙皮动...

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

384. 骨骼动画销毁后再创建,报错 [ 69%]

...Resource (anonymous function) __proto._drawTextureM __proto.drawTextureWithTransform ._drawTextureWithTransform __proto._renderAll __proto._graphics __proto._transform __proto.render __proto._childs __proto.render __proto._childs __proto.render __proto._childs __proto.render __proto._childs __proto....

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

385. 材质的功能介绍(ActionScript-3D基础(AS3)-LayaAir3D之Material材质) [ 69%]

...) as MeshSprite3D; //将创建的球放置在导出球的同一点 sphere2.transform.position = sphere.transform.position; //将创建的球平移 sphere2.transform.translate(new Vector3(0, 1.3, 0),false); //将从导出球上拿到的材质 贴给代码创建的球 sphere2.meshRenderer.material = b...

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

386. 修复开放数据域组件WXOpenDataViewer鼠标不能拖动的问题 [ 69%]

... Laya.Stage = Laya.stage;              mat.scale(stage._canvasTransform.getScaleX() * this.globalScaleX * stage.transform.getScaleX(), stage._canvasTransform.getScaleY() * this.globalScaleY * stage.transform.getScaleY());             this.postMsg({ type: "changeMatrix", a: m...

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

387. laya.ani.GraphicsAni_API3.0 [ 69%]

...Texture getBounds loadImage removeCmd restore rotate save scale strokeText transform translate create recycle Constructors constructor new GraphicsAni(): GraphicsAni Inherited from Graphics.constructor Defined in laya/display/Graphics.ts:54 Returns GraphicsAni Accessors cmds get cmds(): any[] set cm...

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

388. 拖尾效果在改变Cube的Y轴旋转的时候为什么会垂直了? [ 69%]

...尾目前一共提供两种朝向,一是朝向相机,二是朝向朝向transform组件的前向量。你用的是朝向相机的,所以移动过程中旋转,出现 扭曲是正常的。你可以看看unity中的现象。 2019-12-18 0 2 分享 微博 QZONE 微信 NilZ 赞同来自: 我给你...

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

389. 材质的功能介绍(TypeScript-3D基础(TS)-LayaAir3D之Material材质) [ 69%]

...MeshSprite3D; //将创建的球放置在导出球的同一点 this.sphere2.transform.position = this.sphere.transform.position; //将创建的球平移 this.sphere2.transform.translate(new Laya.Vector3(0, 1.3, 0),false); //将从导出球上拿到的材质 贴给代码创建的球 this.sphere2.meshR...

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

390. 1.7.18beta下转换3D坐标不正确 [ 68%]

...is._position.x = Math.sin(this.scaleDelta += 0.01);    this.layaMonkey3D.transform.position = this._position;    this.camera.viewport.project(this.layaMonkey3D.transform.position, this.camera.projectionViewMatrix, this._outPos);    this.layaMonkey2D.pos(this._outPos.x / Laya.stage.clientScaleX...

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