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

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

581. meshRender修改材质问题 [ 63%]

...se1.lh"); scene.addChild(warehouse1); warehouse1.transform.rotate(new Laya.Vector3(0, 90, 0), false, false); warehouse1.transform.translate(new Laya.Vector3(0,0,0),false); warehouseMeshSprite3D1= warehouse1.getChildAt(0).getChildByName("Mesh1"); var material = warehouseMeshSprite3D1.meshRender.mater...

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

582. 教学文档永恒之光的动画例子,运行效果与例子不符合 [ 63%]

...ddChild(new Laya.Camera(0, 0.1, 100)); camera.transform.translate(new Laya.Vector3(0, 2, 4)); camera.transform.rotate(new Laya.Vector3( -15, 0, 0), true, false); scene.addChild(Laya.Sprite3D.load("../../../../../../../res/resourse/particle/ETF_Eternal_Light.lh")); //此处为控制台的输出 Warn...

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

583. unity导出模型报KeyNotFoundException [ 63%]

...a (UnityEngine.GameObject gameObject, .JSONObject node, .JSONObject child, Vector3 position, Quaternion rotation, Vector3 scale, System.String& goPath) LayaExport.DataManager.getGameObjectData (UnityEngine.GameObject gameObject, System.String gameObjectPath, .JSONObject parentsChildNodes, Boolea...

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

584. 多摄像机窗口的使用(JavaScript-3D基础(JS)-LayaAir3D之Camera) [ 63%]

...new Laya.Vector4(0.3, 0.3, 0.3, 1.0); camera1.transform.translate(new Laya.Vector3(0, 0, 1.5)); //设置裁剪空间的视口 camera1.normalizedViewport = new Laya.Viewport(0, 0, 0.5, 1.0); //创建相机2 var camera2 = scene.addChild(new Laya.Camera(0, 0.1, 100)); camera2.clearColor = new Laya.Vect...

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

585. laya.d3.core.pixelline.PixelLineSprite3D_API3.0 [ 63%]

...组建实例。 Returns Component 组件。 addLine addLine(startPosition: Vector3, endPosition: Vector3, startColor: Color, endColor: Color): void Defined in laya/d3/core/pixelLine/PixelLineSprite3D.ts:69 增加一条线。 Parameters startPosition: Vector3 初始点位置 endPosition: Vector3 结...

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

586. 前述问题this.sp3Role.transform.position无效 [ 63%]

...相机跟随没对呢,麻烦看下这样写有问题吗 var newPos:Laya.Vector3 = this.sp3Role.transform.position; if (KeyBoardManager.hasKeyDown(Keyboard.W)) { this.spRole.y -= 1; // newPos.y += 0.1; this.rotateRole(this.rotationW); //转换2D屏幕坐标系统到3D正交投影下的坐标系统 ...

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

587. 多摄像机窗口的使用(TypeScript-3D基础(TS)-LayaAir3D之Camera) [ 63%]

...new Laya.Vector4(0.3, 0.3, 0.3, 1.0); camera1.transform.translate(new Laya.Vector3(0, 0, 1.5)); //设置裁剪空间的视口 camera1.normalizedViewport = new Laya.Viewport(0, 0, 0.5, 1.0); //创建相机2 var camera2 = scene.addChild(new Laya.Camera(0, 0.1, 100)); camera2.clearColor = new Laya.Vect...

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

588. [LayaAir 2.0]laya2.0 CharacterController move 运动不平滑,会抖动 [ 63%]

... new Laya.CapsuleColliderShape(0.5, 1); sphereShape.localOffset = new Laya.Vector3(0, 0.3, 0); this.characterController.colliderShape = sphereShape; this.characterController.gravity = new Laya.Vector3(0, -1, 0); this.characterController.restitution = 0; //弹力     在onUpdate 或者用timer驱...

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

589. 修改坐标后,实际效果不改变 [ 63%]

...回调中进行位置和大小改变 this.lz.transform.position = new Laya.Vector3(1000, 1000, 1000); this.lz.transform.localScale = new Laya.Vector3(3, 3, 3); 并且确实改变了对应的值。但是渲染的效果并没有变化 附件 : --> LayaScene_Effect.rar effect.rar WebGame.rar 2018-03-27...

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

590. 给带有rigitbody3d 组件的物品applyforce后,物体成功运动了,要怎么获得其速度,我取linearVelocity 但是值好像都是不对的.. [ 63%]

...13 • 2020-03-30 17:01 同问,偏差的非常大 let vectory = new Laya.Vector3(30,0,0); this.rigidbody.linearVelocity = vectory; console.log(this.rigidbody.linearVelocity); 获取得到的值确是 Vector3 {x: -0.20082436501979828, y: 0, z: 0.20082436501979828} z轴分量应该位0才对,就...

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