大约有 532 项符合查询结果, 库内数据总量为 31,580 项。 (搜索耗时: 0.0046 秒)
Laya_社区(199) Laya3.0_api(96) Laya2.0_api(88) laya_api(81) Laya2.0_文档(51) Laya3.0_文档(11) Laya_示例(6)
...ra = this.scene.addChild(new Laya.Camera(0, 0.1, 100)); camera.transform.translate(new Laya.Vector3(0, 6, 9.5)); camera.transform.rotate(new Laya.Vector3(-15, 0, 0), true, false); camera.addComponent(CameraMoveScript); camera.clearFlag = Laya.BaseCamer...
来源: Laya_社区 发布时间: 20201127
...2017-11-21 0 8 分享 微博 QZONE 微信 wudi199553 赞同来自: target3.transform.position 2017-11-21 0 0 分享 微博 QZONE 微信 Faith_mkx 赞同来自: node 没有transform这个属性啊 2017-11-21 0 3 分享 微博 QZONE 微信 Faith_mkx 赞同来自: 这是场景在Unity中的形式 2017-...
来源: Laya_社区 发布时间: 20171121
... let camera = new Laya.Camera(0, 0.1, 100); scene.addChild(camera); camera.transform.translate(new Laya.Vector3(0, 2, 5)); camera.transform.rotate(new Laya.Vector3(-15, 0, 0), true, false); let directionLight = new Laya.DirectionLight(); scene.addChild(directionLight); let mat = directionLight.tra...
来源: Laya_社区 发布时间: 20200915
...Defined By extents : Vector3每个轴长度的一半OrientedBoundBox transformation : Matrix4x4这个矩阵表示包围盒的位置和缩放,它的平移向量表示该包围盒的中心OrientedBoundBoxPublic Methods MethodDefined By OrientedBoundBox(extents:Vector3, transformation:Matrix...
来源: laya_api 发布时间: 20170929
3D模型tween旋转 Laya.Tween.to(sss.transform,{rotationEuler:new Laya.Vector3(0,0,0)},2000); sss是MeshSprite3D的节点,从unity导入laya的模型 运行上述代码后,模型不旋转。 使用sss.transform.rotationEuler=new Laya.Vector3(0,0,0),赋值有效 想问下,是我这个...
来源: Laya_社区 发布时间: 20200806
...RO; Laya.Vector3.normalize(dir,norDir); console.log(norDir); //this.sprite.transform.translate(norDir,false); // let position = Laya.Vector3.ZERO; // Laya.Vector3.add(this.sprite.transform.position,norDir,position) // this.sprite.transform.position = position; this.sprite.transform.localPositionX +=...
来源: Laya_社区 发布时间: 20191026
...only] 父节点。Node scene : *[read-only] 获得所属场景。 Node transform : Transform3D[read-only] 获取精灵变换。 Sprite3D url : String[read-only] 获取资源的URL地址。 Sprite3DPublic Methods Hide Inherited Public Methods Show Inherited Public Methods MethodDefined By ...
来源: Laya2.0_api 发布时间: 20190513
...liderShape = new Laya.CompoundColliderShape(); this.cube.transform.localPosition = new Laya.Vector3(); } let pos = this.cubeP.transform.position; pos.z += dis; this.cubeP.transform.position = pos; if(this.cube.transform.lo...
来源: Laya_社区 发布时间: 20200223
...ene()); var camera = scene.addChild(new Laya.Camera(0, 0.1, 1000)); camera.transform.rotate(new Laya.Vector3(-90, 0, 0), false, false); //-30改为-90 camera.transform.translate(new Laya.Vector3(0, 0.5, 0)); //(0,0.5,500)改为(0, 0.5, 0) camera.orthographicProjection = true; var directionLight ...
来源: Laya_社区 发布时间: 20170807
...hSprite3D; scene_.addChild(cube_2); cube_2.transform.translate(new Laya.Vector3(0,0,-5)); scene_.addChild(spotLight_); scene_.addChild(camera_); scene_.addChild(cube_); Laya.stage.addChild(scene_); ...
来源: Laya_社区 发布时间: 20200506