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

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

851. sprite3d怎样使用Laya.Tween.to来做缓动呢?比如position或者scale [ 47%]

...了一下好像不行,无论是Laya.Tween.to(lamp.transform, {localScale:Vector3.zero}, 500); 还是Laya.Tween.to(lamp.transform.localScale, {x:1, y:1, z:1}, 500);都没有反应,是不是我调用的方式不对呢 ? 2017-06-30 添加评论 免费帖 --> 分享 微博 QZONE 微信 没有找...

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

852. qq玩一玩 问题 [ 46%]

...   camera.fieldOfView = 20;       camera.transform.rotate(new Laya.Vector3(0,180,0),true,false);       var skyBox:Laya.SkyBox=new Laya.SkyBox();       camera.clearFlag= Laya.BaseCamera.CLEARFLAG_SKY;   camera.viewport.project(pos, camera.projectionViewMatrix, outPos);    outPos.x ...

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

853. 为什么1.7.10之后的IDE,创建的as的3d示例项目,运行黑屏? [ 46%]

...在已经处理这个问题了 Laya_Aaron • 2018-06-22 16:21 @SmokyEyes:Vector3 的那些再加回去,不然影响性能, 只删Utils3d的就行

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

854. 物体随着鼠标滑动旋转脚本 [ 46%]

...astMouseY = NaN;                   this.yawPitchRoll = new Laya.Vector3(); //       //实例化一个四元素     this.tempRotationZ = new Laya.Quaternion();            //鼠标是否按下默认为没有按下     this.isMouseDown = false;         //旋转速度 ...

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

855. websocket 中 protobuf 数据的发送与接收的具体方法是怎样的? [ 46%]

...,那个list中的数据也存在,但没渲染出。 有没有Unity3d的Vector3.Angle(计算两个三维向量之间的角度)这样的方法?或求3D抛物线移动的方法或算法。 官方"3D角色脚本控制与碰撞检测"这个方法是不是不适用于高低起伏的地面? 引...

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

856. Cannon物理设置了ColliderShape的localOffset属性 并 isKinematic=true时模型会匀速移动 [ 46%]

... position = transform.position; var btPosition = CannonPhysicsComponent._btVector30; if (shapeOffset.x !== 0 || shapeOffset.y !== 0 || shapeOffset.z !== 0) { var physicPosition = CannonPhysicsComponent._tempVector30; var worldMat = transform.worldMatrix; Laya.Vector3.transformCoordinate(shapeOffset,...

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

857. laya.d3.physics.PhysicsTriggerComponent_API3.0 [ 45%]

...理四元数 Returns Quaternion getPhysicsPosition getPhysicsPosition(): Vector3 Inherited from PhysicsTriggerComponent.getPhysicsPosition Defined in laya/d3/physics/PhysicsComponent.ts:432 获得物理位置 Returns Vector3 返回位置 hasHideFlag hasHideFlag(flag: number): boolean Inherited from ...

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

858. laya.d3.physics.PhysicsCollider_API3.0 [ 45%]

...理四元数 Returns Quaternion getPhysicsPosition getPhysicsPosition(): Vector3 Inherited from PhysicsTriggerComponent.getPhysicsPosition Defined in laya/d3/physics/PhysicsComponent.ts:432 获得物理位置 Returns Vector3 返回位置 hasHideFlag hasHideFlag(flag: number): boolean Inherited from ...

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

859. 如何为灯光添加阴影(JavaScript-3D基础(JS)-LayaAir3D之灯光) [ 45%]

...eSprite = this.addPBRSphere(Laya.PrimitiveMesh.createSphere(0.1), new Laya.Vector3(0, 0.2, 0.5), scene); sphereSprite.meshRenderer.castShadow = true; sphereSprite.meshRenderer.receiveShadow = true; ``` 然后来看下效果。 ![](img/1.png)(图1)

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

860. laya.d3.core.scene.VRScene [ 45%]

... : Array滤镜集合。可以设置多个滤镜组合。Sprite fogColor : Vector3 获取雾化颜色。 BaseScene fogRange : Number 获取雾化范围。 BaseScene fogStart : Number 获取雾化起始位置。 BaseScene globalScaleX : Number[read-only] 获得相对于stage的全局X轴缩放值...

来源: laya_api 发布时间: 20170422