大约有 986 项符合查询结果, 库内数据总量为 31,580 项。 (搜索耗时: 0.0101 秒)
Laya_社区(522) Laya3.0_api(117) Laya2.0_文档(110) Laya2.0_api(94) laya_api(83) Laya_示例(40) Laya3.0_文档(20)
... if (this._cacheRootBone){ this._cacheRootBone.transform.off(/*laya.events.Event.TRANSFORM_CHANGED*/"transformchanged",this,this._boundChange); 这里的this._cacheRootBone非空,但是上面transform是空的 这个精灵是 SkinnedMeshRenderer绑定的RootBone的...
来源: Laya_社区 发布时间: 20191015
...// 加载到场景 scene.addChild(camera); // 移动摄像机位置 camera.transform.position = new Laya.Vector3(0, 5, 23); // 旋转摄像机角度 camera.transform.rotate(new Laya.Vector3(-17, 0, 0), false); // 设置摄像机视野范围(角度) camera.fieldOfView = 50; // 设置背景颜色 ...
来源: Laya_社区 发布时间: 20171227
...方式控制物体的运动状态,第一种是物理控制,第二种是transform控制。两种方式只能选择其中一种,设置isKinematic = false后你只能用物理控制物体,给物体一个大于等于物体阻力的力物体就会运动,使用transform无效。设置isKinematic...
来源: Laya_社区 发布时间: 20190318
...r camera = scene.addChild(new Laya.VRCamera( 0.03,0, 0, 0.1, 100)); camera.transform.translate(new Laya.Vector3(0.3, 0.3, 0.6)); camera.transform.rotate(new Laya.Vector3(-12, 0, 0), true, false); camera.clearFlag = Laya.BaseCamera.CLEARFLAG_SKY; camera.addComponent(VRCameraMoveScript); /* var camera...
来源: Laya_社区 发布时间: 20170707
...englongyu/denglongyu1.jpg"); fish.meshRender.material = fishmaterial; fish.transform.localScale = new Laya.Vector3(0.001,0.001,0.001); fish.transform.localPosition = new Laya.Vector3(0,1,0); fish.transform.rotate(new Laya.Vector3(0,-Math.PI/2,0)); //移动鱼 Laya.Tween.to(fish,{x:-1},3000,Laya.Ease...
来源: Laya_社区 发布时间: 20170918
...me = "camera"; //相机平移位置 camera.transform.translate(new Laya.Vector3(0, 0.8, 1.5)); //旋转相机 camera.transform.rotate(new Laya.Vector3(-15, 0, 0), true, false); //创建平行光 ...
来源: Laya_社区 发布时间: 20190605
...TrailSprite3D)TrailFilterPublic Constants ConstantDefined By ALIGNMENT_TRANSFORM_Z : int = 1[static] 轨迹准线_面向运动方向。TrailFilter ALIGNMENT_VIEW : int = 0[static] 轨迹准线_面向摄像机。TrailFilterProperty Detail_curtimepropertypublic var _curtime:Number = 0_lastPosit...
来源: Laya2.0_api 发布时间: 20190513
...(state.elapsedTime); } protected function mouseDown(e:Event):void { camera.transform.localRotation.getYawPitchRoll(yawPitchRoll); lastMouseX = Laya.stage.mouseX; lastMouseY = Laya.stage.mouseY; isMouseDown = true; } protected function mouseUp(e:Event):void { isMouseDown = false; } protected function...
来源: Laya_社区 发布时间: 20170218
...; //加载到场景 scene.addChild(camera); //移动摄像机位置 camera.transform.position = new Laya.Vector3(0, 5, 23); //旋转摄像机角度 camera.transform.rotate(new Laya.Vector3(-17, 0, 0), true, false); //设置摄像机视野范围(角度) camera.fieldOfView = 35; //设置背景颜...
来源: Laya_社区 发布时间: 20180426
... { this.camera = this.owner as Laya.Camera; if (this.target) { this.target.transform.position.cloneTo(this.curpos); this.delatpos = new Laya.Vector3(); } } /** * 每帧更新时执行,尽量不要在这里写大循环逻辑或者使用getComponent方法 * 此方法为虚方法,使用时重写覆...
来源: Laya3.0_文档 发布时间: 20251010