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

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

41. laya.d3.math.BoundSphere [ 95%]

...用于创建包围球。 Public Properties PropertyDefined By  center : Vector3包围球的中心。BoundSphere  radius : Number包围球的半径。BoundSpherePublic Methods  MethodDefined By  BoundSphere(center:Vector3, radius:Number) 创建一个 BoundSphere 实例。 BoundSphere  clone...

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

42. laya.d3.math.Viewport_API3.0 [ 95%]

...s:110 克隆 Parameters out: Viewport Returns void project project(source: Vector3, matrix: Matrix4x4, out: Vector4): void Defined in laya/d3/math/Viewport.ts:48 投影一个三维向量到视口空间。 Parameters source: Vector3 三维向量。 matrix: Matrix4x4 变换矩阵。 out: Vector4 x、y...

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

43. laya.d3.physics.PhysicsSimulation [ 95%]

...增加模拟精度,默认是1.0 / 60.0。PhysicsSimulation  gravity : Vector3 获取重力。 PhysicsSimulation  maxSubSteps : int = 1物理引擎在一帧中用于补偿减速的最大次数:模拟器每帧允许的最大模拟次数,如果引擎运行缓慢,可能需要增加该次数,...

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

44. laya.maths.Quaternion_API3.0 [ 95%]

...mber = 0 数组偏移。 Returns void getYawPitchRoll getYawPitchRoll(out: Vector3): void Defined in laya/maths/Quaternion.ts:388 分解四元数到欧拉角(顺序为Yaw、Pitch、Roll),参考自http://xboxforums.create.msdn.com/forums/p/4574/23988.aspx#23988,问题绕X轴翻转超过±90度...

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

45. laya.d3.math.BoundSphere_API3.0 [ 94%]

...bPoints createfromPoints Constructors constructor new BoundSphere(center?: Vector3, radius?: number): BoundSphere Defined in laya/d3/math/BoundSphere.ts:30 创建一个 BoundSphere 实例。 Parameters Default value center: Vector3 = new Vector3 包围球的中心。 Default value radius: number = 0...

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

46. 3D中摄像机绕物体旋转该如何实现? [ 94%]

...试着改一改就OK啦。。import Transform3D = Laya.Transform3D; import Vector3 = laya.d3.math.Vector3; import Quaternion = laya.d3.math.Quaternion; /* 用法: //初始化照相机 var camera = this.newScene.addChild(new Laya.Camera(0, 0.1, 100)) as Laya.Camera; camera.transform.rotationEuler =...

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

47. 官方案例里摄像机绕物体旋转脚本的问题 [ 94%]

...试着改一改就OK啦。。import Transform3D = Laya.Transform3D; import Vector3 = laya.d3.math.Vector3; import Quaternion = laya.d3.math.Quaternion; /* 用法: //初始化照相机 var camera = this.newScene.addChild(new Laya.Camera(0, 0.1, 100)) as Laya.Camera; camera.transform.rotationEuler =...

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

48. laya.d3.math.Quaternion_API3.0 [ 94%]

...mber = 0 数组偏移。 Returns void getYawPitchRoll getYawPitchRoll(out: Vector3): void Defined in laya/d3/math/Quaternion.ts:388 分解四元数到欧拉角(顺序为Yaw、Pitch、Roll),参考自http://xboxforums.create.msdn.com/forums/p/4574/23988.aspx#23988,问题绕X轴翻转超过±90...

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

49. 后处理 · LayaAir3.4 · 引擎文档 · LAYABOX [ 94%]

... number 旋转角度 0.0 autoRotate boolean 是否自动旋转 false scale Vector2 缩放(x, y) Vector2(1, 1) positionOffset Vector2 位置偏移(屏幕空间,x, y) Vector2(0, 0) 图3-1-4 我们将贴图拖入装饰器,再将镜头光晕数据和灯光拖入,即可实现图3-1-5的效...

来源: Laya3.0_文档 发布时间: 20260105

50. laya.d3.physicscannon.CannonPhysicsSimulation_API3.0 [ 94%]

...ysicsCannon/CannonPhysicsSimulation.ts:63 Accessors gravity get gravity(): Vector3 set gravity(value: Vector3): void Defined in laya/d3/physicsCannon/CannonPhysicsSimulation.ts:129 获取重力。 Returns Vector3 Defined in laya/d3/physicsCannon/CannonPhysicsSimulation.ts:135 获取重力。 Paramet...

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