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

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

1. laya.d3.math.Quaternion [ 100%]

...I DocumentationAll Packages | All Classes | Index | Frames No Frames QuaternionProperties | Methods | Constants Packagelaya.d3.mathClasspublic class QuaternionInheritanceQuaternion ObjectImplements laya.d3.core.IClone Quaternion 类用于创建四元数。 Public Properties PropertyDefined...

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

2. laya.d3.math.Quaternion [ 99%]

...I DocumentationAll Packages | All Classes | Index | Frames No Frames QuaternionProperties | Methods | Constants Packagelaya.d3.mathClasspublic class QuaternionInheritanceQuaternion ObjectImplements laya.d3.core.IClone Quaternion 类用于创建四元数。 Public Properties PropertyDefined...

来源: laya_api 发布时间: 20170929

3. laya.maths.Quaternion_API3.0 [ 99%]

...c/Protected All Inherited Externals Only exported Menu Globals "laya/maths/Quaternion" Quaternion Class Quaternion Quaternion 类用于创建四元数。 Hierarchy Quaternion Implements IClone Index Constructors constructor Properties w x y z DEFAULT NAN Methods clone cloneTo equals forNativeElement...

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

4. laya.d3.math.Quaternion_API3.0 [ 99%]

...Protected All Inherited Externals Only exported Menu Globals "laya/d3/math/Quaternion" Quaternion Class Quaternion Quaternion 类用于创建四元数。 Hierarchy Quaternion Implements IClone Index Constructors constructor Properties w x y z DEFAULT NAN Methods clone cloneTo equals forNativeElement...

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

5. 灯光-聚光 [ 98%]

...mponentByType(Laya.Animator); animator.play(null, 1.0, 115, 150); }); var _quaternion = new Laya.Quaternion(); var _position = new Laya.Vector3(); Laya.timer.frameLoop(1, null, function () { Laya.Quaternion.createFromYawPitchRoll(0.025, 0, 0, _quaternion); Laya.Vector3.transformQuat(spotLight.transf...

来源: Laya_示例 发布时间: 20241118

6. 灯光-点光 [ 97%]

...tor.play(null, 1.0, 75, 110); }); var _position = new Laya.Vector3(); var _quaternion = new Laya.Quaternion(); Laya.timer.frameLoop(1, null, function () { Laya.Quaternion.createFromYawPitchRoll(0.025, 0, 0, _quaternion); Laya.Vector3.transformQuat(pointLight.transform.position, _quaternion, _positio...

来源: Laya_示例 发布时间: 20241118

7. 灯光-方向光 [ 96%]

...ComponentByType(Laya.Animator); animator.play(null, 1.0, 40, 70); }); var _quaternion = new Laya.Quaternion(); Laya.timer.frameLoop(1, null, function () { Laya.Quaternion.createFromYawPitchRoll(0.025, 0, 0, _quaternion); var _direction = directionLight.direction; Laya.Vector3.transformQuat(_directio...

来源: Laya_示例 发布时间: 20241118

8. 高级应用-实时阴影 [ 95%]

.../LayaMonkey/LayaMonkey.lh" ], Laya.Handler.create(this, onComplete)); var _quaternion = new Laya.Quaternion(); Laya.timer.frameLoop(1, null, function () { Laya.Quaternion.createFromYawPitchRoll(0.025, 0, 0, _quaternion); var _direction = directionLight.direction; Laya.Vector3.transformQuat(_directio...

来源: Laya_示例 发布时间: 20241118

9. 射线检测-点击行走 [ 95%]

...t = new Laya.Vector2(); var _position = new Laya.Vector3(0, 0.25, 0); var _quaternion = new Laya.Quaternion(); var _outHitInfo = new Laya.RaycastHit(); function checkHit() { box.transform.position = _position; box.transform.rotation = _quaternion; //从屏幕空间生成射线 point.elements[0] = La...

来源: Laya_示例 发布时间: 20241118

10. laya.d3.physics.PhysicsSimulation [ 94%]

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