大约有 109 项符合查询结果, 库内数据总量为 31,560 项。 (搜索耗时: 0.0055 秒)
...7 关注: 2 人 whzooo • 2016-12-14 13:24 var tf:Matrix=new Matrix(); tf.translate(0,-_core.height); tf.rotate(ps[0]+3.141592653589793); tf.translate(0,_core.height); tf.translate(_core.p1.x,_core.p1.y-_core.height); page[1].transform=tf; 我全用transform了, 达到了想要的效果 cuixueying ...
来源: Laya_社区 发布时间: 20161214
...将模型和相机作为pos的子对象添加进去,使用pos.transform.translate移动pos,发现并没有用 2018-01-25 添加评论 免费帖 --> 分享 微博 QZONE 微信 没有找到相关结果 已邀请: 与内容相关的链接 提交 1 个回复 qian 赞同来自: 参数给的什么 201...
来源: Laya_社区 发布时间: 20180125
...hisp)); //trace(thisp.x,thisp.y,"dddddddd") var tf:Matrix=new Matrix(); tf.translate(-thisp.x,-thisp.y); __jd+=jd; tf.rotate(__jd); tf.translate(thisp.x,thisp.y); var otf:Matrix=new Matrix();//photoimg.transform?photoimg.transform:new Matrix(); //trace("jjjj1",photoimg.x,photoimg.y,photoimg.width,ph...
来源: Laya_社区 发布时间: 20161124
... mat.rotate(Math.PI / 2); mat.translate(screenHeight / pixelRatio, 0); canvasDegree = 90; } else { mat.rotate(-Math.PI / 2); ...
来源: Laya_社区 发布时间: 20180712
...ials/Dana.lmat'); plane.meshRenderer.receiveShadow = true; plane.transform.translate(new Laya.Vector3(0, 0.1, 0), false); let test: Laya.MeshSprite3D = scene.addChild(new Laya.MeshSprite3D(Laya.loader.getRes('sences/Assets/Scenes/TestPro/Models/215_qijiashe-215_qijiashe.lm'))) as Laya.MeshSprite3D...
来源: Laya_社区 发布时间: 20191030
...ra"; //相机平移位置 camera.transform.translate(new Laya.Vector3(0, 0.8, 1.5)); //旋转相机 camera.transform.rotate(new Laya.Vector3(-15, 0, 0), true, false); //创建平行光 ...
来源: Laya_社区 发布时间: 20190531
...骤一的基础上,进行局部平移。 /** * 平移变换。 * @param translation 移动距离。 * @param isLocal 是否局部空间。 */ //4.对box,进行x轴方向局部平移1米, box.transform.translate(new Vector3(0, 1, 0), true); 上图,上边为第一步旋转后的,...
来源: Laya_社区 发布时间: 20161223
...amera = (scene.addChild(new Laya.Camera()));//0, 0.3, 100 camera.transform.translate(new Laya.Vector3(3, 4, 3)); camera.transform.rotate(new Laya.Vector3(-30, 45, 0), true, false); camera.clearColor = null; camera.orthographic = false; //添加方向光 var directionLight = scene.addChild(new Laya.D...
来源: Laya_社区 发布时间: 20180402
...到场景 scene.addChild(camera); //移动摄像机位置 camera.transform.translate(new Laya.Vector3(0, 4, 8)); //旋转摄像机角度 camera.transform.rotate(new Laya.Vector3( -30, 0, 0), true, false); //创建方向光 var light:Laya.DirectionLight = scene.addChild(new Laya.DirectionLight()) as ...
来源: Laya_社区 发布时间: 20180307
... "name": "RootNode" }, "customProps": { "translate": [ 0, 0, 0 ], "rotation": [ 0, 0, 0, 1 ...
来源: Laya_社区 发布时间: 20170906