大约有 196 项符合查询结果, 库内数据总量为 31,560 项。 (搜索耗时: 0.0036 秒)
Laya_社区(55) Laya3.0_api(53) Laya2.0_api(29) Laya_示例(21) laya_api(19) Laya2.0_文档(17) Laya3.0_文档(2)
Laya.Quaternion.lerp和Laya.Quaternion.rotationLookAt问题! 图1想实现图2的效果,蓝球跟随红球旋转 在这里卡住了: Laya.Quaternion.lerp(left四元数,right四元数b,插值比例,输出四元数) Laya.Quaternion.rotationLookAt(方向,上向量,输出四元数) 里...
来源: Laya_社区 发布时间: 20190308
... Parameters value: Vector3 Returns void localRotation get localRotation(): Quaternion set localRotation(value: Quaternion): void Inherited from CompoundColliderShape.localRotation Defined in laya/d3/physics/shape/ColliderShape.ts:140 Shape的本地旋转。 Returns Quaternion Inherited from Compound...
来源: Laya3.0_api 发布时间: 20231115
... Parameters value: Vector3 Returns void localRotation get localRotation(): Quaternion set localRotation(value: Quaternion): void Inherited from CannonColliderShape.localRotation Defined in laya/d3/physicsCannon/shape/CannonColliderShape.ts:130 Shape的本地旋转。 Returns Quaternion Inherited fro...
来源: Laya3.0_api 发布时间: 20231102
...sform.position = new Vector3(0, 0, -1); QiPanMesh.transform.rotation = new Quaternion(-1, 0, 0, 1); QiPanMesh.layer = Layer.getLayerByNumber(5); QiPanMesh.meshRender.castShadow = true; QiPanMesh.meshRender.receiveShadow = true; scene.addChild(QiPanMesh); var gTitleMesh:MeshSprite3D = new MeshSprite3...
来源: Laya_社区 发布时间: 20170617
...nsform3D = 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 = new Laya.Vector3(-32, -75, 0); camera....
来源: Laya_社区 发布时间: 20170714
...nsform3D = 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 = new Laya.Vector3(-32, -75, 0); camera....
来源: Laya_社区 发布时间: 20190224
... Parameters value: Vector3 Returns void localRotation get localRotation(): Quaternion set localRotation(value: Quaternion): void Inherited from CompoundColliderShape.localRotation Defined in laya/d3/physics/shape/ColliderShape.ts:140 Shape的本地旋转。 Returns Quaternion Inherited from Compound...
来源: Laya3.0_api 发布时间: 20231115
..._Aaron 赞同来自: a503807636 // 程序入口 class LayaAir3D { private _quaternion: Laya.Quaternion = new Laya.Quaternion(); constructor() { //初始化引擎 Laya3D.init(0, 0, true); //适配模式 Laya.stage.scaleMode = Laya.Stage.SCALE_FULL; Laya.stage.screenMode = Laya.Stage.SCREEN_NONE; let ...
来源: Laya_社区 发布时间: 20180302
... Parameters value: Vector3 Returns void localRotation get localRotation(): Quaternion set localRotation(value: Quaternion): void Inherited from CompoundColliderShape.localRotation Defined in laya/d3/physics/shape/ColliderShape.ts:140 Shape的本地旋转。 Returns Quaternion Inherited from Compound...
来源: Laya3.0_api 发布时间: 20231115
... new Laya.Vector3(0.3, 0.3, 0.3); layaMonkey.transform.rotation = new Laya.Quaternion(0.7071068, 0, 0, -0.7071067); var customMaterial = new CustomMaterial(); layaMonkey.meshRender.sharedMaterial = customMaterial; var rotation = new Laya.Vector3(0, 0.01, 0); Laya.timer.frameLoop(1, this, function ()...
来源: Laya_示例 发布时间: 20251130