大约有 211 项符合查询结果, 库内数据总量为 30,935 项。 (搜索耗时: 0.0045 秒)
...trix4x4() Defined in laya/d3/physics/RaycastWheel.ts:13 worldPos worldPos: Vector3 = new Vector3() Defined in laya/d3/physics/RaycastWheel.ts:9 worldQuat worldQuat: Quaternion = new Quaternion() Defined in laya/d3/physics/RaycastWheel.ts:10 Accessors brake get brake(): number set brake(v: number): v...
来源: Laya3.0_api 发布时间: 20231115
....camera.addComponent(VRCameraMoveScript); this.ray = new Laya.Ray(new Laya.Vector3(0, 0, 0), new Laya.Vector3(0, 0, 0)); this.point = new Laya.Vector2(); this._outHitInfo = new Laya.RaycastHit(); // this.phasorSpriter3D = new Laya.PhasorSpriter3D(); } MousePickingScene.prototype.lateRender = functio...
来源: Laya_社区 发布时间: 20170323
...组建实例。 Returns Component 组件。 addLine addLine(startPosition: Vector3, endPosition: Vector3, startColor: Color, endColor: Color): void Defined in laya/d3/core/pixelLine/PixelLineSprite3D.ts:69 增加一条线。 Parameters startPosition: Vector3 初始点位置 endPosition: Vector3 结...
来源: Laya3.0_api 发布时间: 20231115
...arehouse/warehouse.lh")) as Sprite3D; warehouse1.transform.rotate(new Laya.Vector3(0, 0, 0), false, false); warehouse1.transform.translate(new Laya.Vector3(-25,0,0),false); var warehouseMeshSprite3D1 :MeshSprite3D = warehouse1.getChildAt(0).getChildByName("Mesh1") as MeshSprite3D; //添加盒型碰...
来源: Laya_社区 发布时间: 20171220
...hSprite3D; if(index == 0) { this.model.transform.position = new Laya.Vector3(0.8,0,0); } }); //===================报错====================== let temp:Laya.MeshSprite3D = Laya.MeshSprite3D.load("res/Coin/layaScene.lh") as Laya.MeshSprite3D; scene.addChild(temp); temp.on(Laya.Event.HI...
来源: Laya_社区 发布时间: 20180827
...a (UnityEngine.GameObject gameObject, .JSONObject node, .JSONObject child, Vector3 position, Quaternion rotation, Vector3 scale, System.String& goPath)” 附件是资源(第一次上传的资源缺shader,已换成默认的。又上传了一次,把无效脚本去掉了) 补充: U...
来源: Laya_社区 发布时间: 20171129
...//调整方向 this.layaMonkey.transform.lookAt(this._tarPosition, this._upVector3, false); //因为资源规格,这里需要旋转180度 this.layaMonkey.transform.rotate(this._rotation2, false, false); //调整位置 Tween.to(this._finalPosition, { x: this._position.x, y: this._position.y, z: thi...
来源: Laya3.0_文档 发布时间: 20230303
...wner.destroy(); }); } onUpdate() { this.owner.transform.translate(new Laya.Vector3(0, 0, -0.1)); } 2019-03-08 添加评论 免费帖 --> 分享 微博 QZONE 微信 没有找到相关结果 已邀请: 与内容相关的链接 提交 2 个回复 Sོ 赞同来自: 同问, 求解答 2019-03-09 0 0 ...
来源: Laya_社区 发布时间: 20190308
... new Laya.CapsuleColliderShape(0.5, 1); sphereShape.localOffset = new Laya.Vector3(0, 0.3, 0); this.characterController.colliderShape = sphereShape; this.characterController.gravity = new Laya.Vector3(0, -1, 0); this.characterController.restitution = 0; //弹力 在onUpdate 或者用timer驱...
来源: Laya_社区 发布时间: 20190626
...Laya.CharacterController); //添加组件 this.character.move(new Laya.Vector3(0 , 0 , 1))//移动,开始报错 2020-10-20 添加评论 免费帖 --> 分享 微博 QZONE 微信 没有找到相关结果 已邀请: 与内容相关的链接 提交 2 个回复 177*****593 赞同来自: 没加 ...
来源: Laya_社区 发布时间: 20201020