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

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

581. laya.d3.core.render.BaseRender [ 64%]

...获取包围盒,不允许修改其值。 BaseRender  boundingBoxCenter : Vector3[read-only] 获取包围盒中心,不允许修改其值。 BaseRender  boundingSphere : BoundSphere[read-only] 获取包围球,不允许修改其值。 BaseRender  castShadow : Boolean 是否产生阴影。 BaseRen...

来源: laya_api 发布时间: 20170929

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

583. 教学文档永恒之光的动画例子,运行效果与例子不符合 [ 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

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

585. 多摄像机窗口的使用(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

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

587. 前述问题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

588. 多摄像机窗口的使用(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

589. [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

590. 修改坐标后,实际效果不改变 [ 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