大约有 532 项符合查询结果, 库内数据总量为 31,580 项。 (搜索耗时: 0.0045 秒)
Laya_社区(199) Laya3.0_api(96) Laya2.0_api(88) laya_api(81) Laya2.0_文档(51) Laya3.0_文档(11) Laya_示例(6)
...urikenParticleRenderer _renderUpdate(context:RenderContext3D, transfrom:Transform3D):void[override] ShurikenParticleRenderer event(type:String, data:* = null):Boolean 派发事件。 EventDispatcher hasListener(type:String):Boolean 检查 EventDispatcher 对象是否为特定事件类型注册...
来源: Laya2.0_api 发布时间: 20190513
...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
...相机 var camera = scene.addChild(new Laya.Camera(0, 0.1, 100)); camera.transform.translate(new Laya.Vector3(0, 2, 5)); camera.transform.rotate(new Laya.Vector3(-15, 0, 0), true, false); camera.clearColor = null; //方向光 var directionLight = scene.addChild(new Laya.DirectionLight()); directionL...
来源: Laya_示例 发布时间: 20251209
...at newImpulsePercent, float impulseForce) { Vector3 a = base.transform.position - collision.gameObject.transform.position; float num = -(newImpulsePercent * impulseForce / 100f); num = Mathf.Clamp(num, -impulseForce, impulseForce); a.Normalize(); ...
来源: Laya_社区 发布时间: 20191028
...ue2D.create(ShaderDefines2D.SKINMESH, 0)); transform || (transform = Matrix.EMPTY); transform.translate(x, y); Matrix.mul(transform, context._curMat, _tempMatrix); transfor...
来源: Laya_社区 发布时间: 20190628
...ene()); var camera = scene.addChild(new Laya.Camera(0, 0.1, 1000)); camera.transform.translate(new Laya.Vector3(0, 1.5, 4)); camera.transform.rotate(new Laya.Vector3(-15, 0, 0), true, false); var directionLight = scene.addChild(new Laya.DirectionLight()); directionLight.direction = new Laya.Vector3(...
来源: Laya_示例 发布时间: 20251209
...接 提交 1 个回复 zszen 赞同来自: 我自己来 box.potOld = box.transform.position;Laya.Tween.to(box.potOld,{ x:1 ,y:2 ,update:new Laya.Handler(box,function(){ this.transform.position = this.potOld; }) }, ConstValue.animationTime,Laya.Ease.elasticOut,La...
来源: Laya_社区 发布时间: 20180112
...。使用这个方法就可以直接把第二个问题绕开了。 var t:Transform3D; t.localRotationEuler = new Vector3(0, 45, 0); 不过在这里还是贴一下使用代码: var q:Quaternion = new Quaternion(); Quaternion.createFromYawPitchRoll(45,0,0,q); 2017-09-19 1 0 分享 微博 QZONE 微...
来源: Laya_社区 发布时间: 20170919
...phere(0.5))); //将创建的球放置在导出球的同一点 this.sphere2.transform.position = this.sphere.transform.position; //将创建的球平移 this.sphere2.transform.translate(new Laya.Vector3(0, 1.3, 0),false); //将从导出球上拿到的材质 贴给代码创建的球 this.sphere2.meshR...
来源: Laya2.0_文档 发布时间: 20210715
camera坐标问题的疑问 camera.transform.position=new Vector3(0,3,10);//图片中的A点 camera.transform.rotate(new Vector3(-17,0,0),true,false);//图上的B点 但是效果竟然把三D模型放在舞台的正中间,这个坐标实在是不明白怎么来的, https://ldc.layabox.com/doc/?...
来源: Laya_社区 发布时间: 20180706