大约有 648 项符合查询结果, 库内数据总量为 30,778 项。 (搜索耗时: 0.0052 秒)
Laya_社区(363) Laya3.0_api(124) Laya2.0_文档(97) Laya_示例(42) Laya3.0_文档(13) laya_api(5) Laya2.0_api(4)
...ticalSize = 7; //移动摄像机位置 camera.transform.translate(new Laya.Vector3(0, 26.5, 45)); //旋转摄像机角度 camera.transform.rotate(new Laya.Vector3( -30, 0, 0), true, false); ``` ![](img/2.png)(图2)正交投影的效果图
来源: Laya2.0_文档 发布时间: 20210714
... this.osizex && this.tsizez > this.osizez) { var eat = new Laya.Vector3(0, 0.5, 0);//龙卷风方法直接上升 other.owner.transform.translate(eat,true,false); //0.1秒后删除 Laya.timer.once(100, null, Wipe); function Wipe() { console.log(other._owner); //移除自己 other._owner.re...
来源: Laya_社区 发布时间: 20181017
...rameters value: number Returns void angularVelocity get angularVelocity(): Vector3 set angularVelocity(value: Vector3): void Defined in laya/d3/physicsCannon/CannonRigidbody3D.ts:171 角速度。 Returns Vector3 Defined in laya/d3/physicsCannon/CannonRigidbody3D.ts:179 角速度。 Parameters value:...
来源: Laya3.0_api 发布时间: 20231102
...s void generatePositionAndDirection generatePositionAndDirection(position: Vector3, direction: Vector3, rand?: Rand, randomSeeds?: Uint32Array): void Overrides BaseShape.generatePositionAndDirection Defined in laya/d3/core/particleShuriKen/module/shape/SphereShape.ts:56 用于生成粒子初始位...
来源: Laya3.0_api 发布时间: 20231115
...s void generatePositionAndDirection generatePositionAndDirection(position: Vector3, direction: Vector3, rand?: Rand, randomSeeds?: Uint32Array): void Overrides BaseShape.generatePositionAndDirection Defined in laya/d3/core/particleShuriKen/module/shape/HemisphereShape.ts:59 用于生成粒子初始...
来源: Laya3.0_api 发布时间: 20231115
...new Laya.Vector4(0.3, 0.3, 0.3, 1.0); camera1.transform.translate(new Laya.Vector3(0, 0, 1.5)); //设置裁剪空间的视口 camera1.normalizedViewport = new Laya.Viewport(0, 0, 0.5, 1.0); //创建相机2 var camera2 = scene.addChild(new Laya.Camera(0, 0.1, 100)); camera2.clearColor = new Laya.Vect...
来源: Laya2.0_文档 发布时间: 20210715
...到旋转之前的视角 摄像机旋转camera.transform.rotate(new Laya.Vector3(0.15, -5.95, 0.015)); 之后通过camera.transform.rotate(new Laya.Vector3(-0.15, 5.95, -0.015)); 不能回到原来的视角 2018-10-12 添加评论 免费帖 --> 分享 微博 QZONE 微信 没有找到相关结果 已...
来源: Laya_社区 发布时间: 20181012
...ape.ts:16 形状方向_Z轴正向 Accessors localOffset get localOffset(): Vector3 set localOffset(value: Vector3): void Inherited from CannonColliderShape.localOffset Defined in laya/d3/physicsCannon/shape/CannonColliderShape.ts:119 Shape的本地偏移。 Returns Vector3 Inherited from CannonColli...
来源: Laya3.0_api 发布时间: 20231102
...rectionLight()) as Laya.DirectionLight; this._PlayerLight.color = new Laya.Vector3(0.7, 0.6, 0.6); this._PlayerLight.transform.worldMatrix.setForward(new Laya.Vector3(1, -1, 0)); this._PlayerLight.layer = 9; 都没用啊 请问您是如何实现的。 135*****336 • 2020-05-20 16:18 你最后解决...
来源: Laya_社区 发布时间: 20190709
...ody.overrideGravity = true; rigidbody.gravity = new Laya.Vector3(); rigidbody.isTrigger = true; rigidbody.isKinematic = false; rigidbody.colliderShape = new Laya.CompoundColliderShape(); this.cube.transform.loc...
来源: Laya_社区 发布时间: 20200223