• 首页
  • 动态
  • 案例
  • 引擎社区
  • API
  • 文档
  • 示例
  • 引擎下载

大约有 471 项符合查询结果, 库内数据总量为 30,724 项。 (搜索耗时: 0.0056 秒)

191. Laya3D,支持的IOS版本最低是多少? [ 59%]

...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

192. laya.display.Graphics [ 59%]

...图或者矢量图,还可以结合save,restore,transform,scale,rotate,translate,alpha等指令对绘图效果进行变化。 Graphics以命令流方式存储,可以通过cmds属性访问所有命令流。Graphics是比Sprite更轻量级的对象,合理使用能提高应用性能(...

来源: Laya2.0_api 发布时间: 20190513

193. laya.ui.AutoBitmap_API3.0 [ 59%]

... 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

194. 如何获得box单独每个面的material [ 58%]

...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

195. 教学文档永恒之光的动画例子,运行效果与例子不符合 [ 58%]

...); 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

196. 3D怎么使用canvas渲染,无论怎么看都是webgl [ 58%]

... 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

197. laya.display.Sprite [ 57%]

...轴心点会影响对象位置,缩放中心,旋转中心。Sprite  rotation : Number旋转角度,默认值为0。以角度为单位。Sprite  scaleX : NumberX轴缩放值,默认值为1。设置为负数,可以实现水平反转效果,比如scaleX=-1。Sprite  scaleY : NumberY轴缩...

来源: laya_api 发布时间: 20170929

198. 我就在unity中加了一个cube,导出后,在laya预览中怎么会有2个cube,而且位置还不一样,也没有贴图 [ 57%]

...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

199. 释放资源报错 [ 57%]

...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

200. laya.html.dom.HTMLDivElement_API3.0 [ 57%]

...displayHeight displayWidth displayedInStage drawCallOptimize filters globalRotation globalScaleX globalScaleY graphics height hideFlags hitArea innerHTML is3D mask mouseEnabled mouseX mouseY numChildren parent pivotX pivotY rotation scaleX scaleY scene scrollRect skewX skewY stage staticCache style ...

来源: Laya3.0_api 发布时间: 20231102