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

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

21. laya.d3.physics.PhysicsSimulation [ 88%]

...omPosition:Vector3, toPosition:Vector3, out:HitResult = null, fromRotation:Quaternion = null, toRotation:Quaternion = null, collisonGroup:int, collisionMask:int, allowedCcdPenetration:Number = 0.0):Boolean 形状检测第一个碰撞的物体。 PhysicsSimulation  shapeCastAll(shape:ColliderShape,...

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

22. 2.0版本可用的CameraMoveScript.ts [ 88%]

... Laya.Vector3 = new Laya.Vector3();     protected resultRotation: Laya.Quaternion = new Laya.Quaternion();     protected tempRotationZ: Laya.Quaternion = new Laya.Quaternion();     protected tempRotationX: Laya.Quaternion = new Laya.Quaternion();     protected tempRotationY: Laya.Qua...

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

23. 求LayaMonkey旋转四元数Laya.Quaternion.lookAt的时候为什么Z坐标要用负值来算 [ 87%]

LayaMonkey旋转四元数Laya.Quaternion.lookAt的时候为什么Z坐标要用负值来算 注释代码里的直接用他的坐标和目标点坐标算旋转的方向是错的。 改成负值之后就正常了 附件 : --> 2017-11-25 添加评论 免费帖 --> 分享 微博 QZONE 微信 没有...

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

24. laya.d3.physics.shape.ColliderShape [ 83%]

...t : Vector3 获取Shape的本地偏移。 ColliderShape  localRotation : Quaternion 获取Shape的本地旋转。 ColliderShape  needsCustomCollisionCallback : Boolean = falseColliderShape  type : int[read-only] 获取碰撞类型。 ColliderShapePublic Methods  MethodDefined By  ColliderSh...

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

25. 怎么让模型原地依照Y轴旋转到 我指定的角度? 角度 如何 转换成 Y轴旋转 的四元数? [ 83%]

...= new Vector3(0, 45, 0); 不过在这里还是贴一下使用代码: var q:Quaternion = new Quaternion(); Quaternion.createFromYawPitchRoll(45,0,0,q);   2017-09-19 1 0 分享 微博 QZONE 微信 avpvsdoom 赞同来自: box.transform.rotate(new Vector3(0,45,0),true,false); 我知道 这个方法可...

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

26. laya.d3.core.Transform3D [ 82%]

...calPosition : Vector3 获取局部位置。 Transform3D  localRotation : Quaternion 获取局部旋转。 Transform3D  localRotationEuler : Vector3 获取局部空间的旋转角度。 Transform3D  localScale : Vector3 获取局部缩放。 Transform3D  owner : Sprite3D[read-only] 获取所...

来源: laya_api 发布时间: 20170929

27. laya.d3.webxr.core.WebXRCameraManager_API3.0 [ 81%]

...ructors constructor Properties owner Accessors position rigCameras rotationQuaternion Methods _updateFromXRSession destroy Constructors constructor new WebXRCameraManager(camera: any, manager?: WebXRSessionManager): WebXRCameraManager Defined in laya/d3/WebXR/core/WebXRCameraManager.ts:66 用来创...

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

28. laya.d3.math.Matrix4x4 [ 81%]

...:void 克隆。 Matrix4x4  createAffineTransformation(trans:Vector3, rot:Quaternion, scale:Vector3, out:Matrix4x4):void[static] 计算仿射矩阵 Matrix4x4  createFromQuaternion(rotation:Quaternion, out:Matrix4x4):void[static] 从四元数计算旋转矩阵 Matrix4x4  createLookAt(eye:Vector3...

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

29. laya.d3.math.Matrix4x4 [ 81%]

...:void 克隆。 Matrix4x4  createAffineTransformation(trans:Vector3, rot:Quaternion, scale:Vector3, out:Matrix4x4):void[static] 计算仿射矩阵 Matrix4x4  createFromQuaternion(rotation:Quaternion, out:Matrix4x4):void[static] 从四元数计算旋转矩阵 Matrix4x4  createLookAt(eye:Vector3...

来源: laya_api 发布时间: 20170929

30. laya.d3.physics.PhysicsSimulation_API3.0 [ 80%]

...romPosition: Vector3, toPosition: Vector3, out?: HitResult, fromRotation?: Quaternion, toRotation?: Quaternion, collisonGroup?: number, collisionMask?: number, allowedCcdPenetration?: number): boolean Defined in laya/d3/physics/PhysicsSimulation.ts:500 形状检测第一个碰撞的物体。 Paramet...

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