大约有 475 项符合查询结果, 库内数据总量为 31,560 项。 (搜索耗时: 0.0045 秒)
Laya_社区(150) Laya3.0_api(88) Laya2.0_api(75) laya_api(69) Laya2.0_文档(43) Laya_示例(37) Laya3.0_文档(11) Laya2.0_示例(2)
...om.style.webkitTransform="scale("+transform.scaleX+","+transform.scaleY+") rotate("+(Laya.stage.canvasDegree)+"deg)"; dom.style.width=width+'px'; dom.style.height=height+'px'; dom.style.left=transform.x+'px'; dom.style.top=transform.y+'...
来源: Laya_社区 发布时间: 20180113
...图或者矢量图,还可以结合save,restore,transform,scale,rotate,translate,alpha等指令对绘图效果进行变化。 Graphics以命令流方式存储,可以通过cmds属性访问所有命令流。Graphics是比Sprite更轻量级的对象,合理使用能提高应用性能(...
来源: Laya2.0_api 发布时间: 20190513
...mera; camera.transform.translate(new Vector3(0, 0.5, 1)); camera.transform.rotate(new Vector3( -15, 0, 0), true, false); var mc:Sprite3D = scene.addChild(Sprite3D.load("res/mod5_13.lh")) as Sprite3D; c416288806 • 2018-03-05 11:41 有看到回复的话...说一下处理情况啊。T.T不...
来源: Laya_社区 发布时间: 20180305
... fillBorderText fillText fillTexture getBounds loadImage removeCmd restore rotate save scale setState strokeText transform translate Constructors constructor new AutoBitmap(): AutoBitmap Inherited from Graphics.constructor Defined in laya/display/Graphics.ts:54 Returns AutoBitmap Properties _color _...
来源: Laya3.0_api 发布时间: 20231115
...var box = this.parent.addChild(new Laya.MeshSprite3D(mesh)); box.transform.rotate(new Laya.Vector3(0, 45, 0), false, false); box.transform.position = new Laya.Vector3(ConstValue.boxOutScreen,ConstValue.boxHeight/2,0); var material = new Laya.StandardMaterial(); material.albedo = new Laya.Vector4(thi...
来源: Laya_社区 发布时间: 20180113
...); camera.transform.translate(new Laya.Vector3(0, 2, 4)); camera.transform.rotate(new Laya.Vector3( -15, 0, 0), true, false); scene.addChild(Laya.Sprite3D.load("../../../../../../../res/resourse/particle/ETF_Eternal_Light.lh")); //此处为控制台的输出 Warning!,this class[MiniAdpter] already ...
来源: Laya_社区 发布时间: 20190301
... camera.transform.translate(new Laya.Vector3(0, 0.5, 1)); camera.transform.rotate(new Laya.Vector3( -15, 0, 0), true, false); var layaMonkey = scene.addChild(Laya.Sprite3D.load("../../res/threeDimen/skinModel/LayaMonkey/LayaMonkey.lh")); alert(Laya.Render.isWebGL) 2018-06-14 添加评论 免费帖 -...
来源: Laya_社区 发布时间: 20180614
...轴心点会影响对象位置,缩放中心,旋转中心。Sprite rotation : Number旋转角度,默认值为0。以角度为单位。Sprite scaleX : NumberX轴缩放值,默认值为1。设置为负数,可以实现水平反转效果,比如scaleX=-1。Sprite scaleY : NumberY轴缩...
来源: laya_api 发布时间: 20170929
...tion=new Laya.Vector3(-8, 4, 15); //旋转摄像机角度 camera.transform.rotate(new Laya.Vector3( -8, -25, 0), true, false); } return scene; }()); scene(); 附件 : --> 2018-01-08 添加评论 免费帖 --> 分享 微博 QZONE 微信 没有找到相关结果 已邀请: 与内容相关的链接 提...
来源: Laya_社区 发布时间: 20180108
...isStatic":false, "layer":16, "position":[ 0, -0.1193539, -5.217125E-09 ], "rotation":[ -0.7071068, 0, 0, -0.7071068 ], "scale":[ -0.1805366, -0.1261967, -0.1261967 ], "rootBone":52, "boundBox":{ "min":[ -0.330108, -0.5589796, -0.68723 ], "max":[ 0.6775162, 0.1249337, 0.06879723 ] }, "boundSphere":{ ...
来源: Laya_社区 发布时间: 20191015