大约有 494 项符合查询结果, 库内数据总量为 30,786 项。 (搜索耗时: 0.0044 秒)
Laya_社区(165) Laya3.0_api(90) Laya2.0_api(78) laya_api(73) Laya2.0_文档(47) Laya_示例(34) Laya3.0_文档(7)
... var layaMonkey = scene.addChild(new Laya.MeshSprite3D(mesh)); layaMonkey.transform.localScale = new Laya.Vector3(0.3, 0.3, 0.3); layaMonkey.transform.rotation = new Laya.Quaternion(0.7071068, 0, 0, -0.7071067); //创建材质 var customMaterial = new Laya.MultiplePassOutlineMaterial(); //漫反射...
来源: Laya2.0_文档 发布时间: 20210715
...etBounds 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 _color: string = "#ffffff" Defined in l...
来源: Laya3.0_api 发布时间: 20231115
... var layaMonkey = scene.addChild(new Laya.MeshSprite3D(mesh)); layaMonkey.transform.localScale = new Laya.Vector3(0.3, 0.3, 0.3); layaMonkey.transform.rotation = new Laya.Quaternion(0.7071068, 0, 0, -0.7071067); //创建材质 var customMaterial = new Laya.MultiplePassOutlineMaterial(); //漫反射...
来源: Laya2.0_文档 发布时间: 20210715
... Bodies.circle(300, 230, 26, ballOptions) 跟踪发现,在计算球的transform时数据不对,继续跟踪,最终发现问题根源在于LayaRender.body()处理的一bug导致,具体见附件截图。在LayaRenders.js文件的Line269 sprite.rotation = (body.angle - sprite.initialAngle) *...
来源: Laya_社区 发布时间: 20180621
...r camera = new Laya.Camera(0, 0.1, 1000); scene3d.addChild(camera); camera.transform.rotate(new Laya.Vector3(-45, 0, 0), false, false); camera.transform.translate(new Laya.Vector3(1000, 0, 0)); camera.orthographic = true; //正交投影垂直矩阵尺寸 camera.orthographicVerticalSize = 10; camera....
来源: Laya_社区 发布时间: 20191206
...l/build/warehouse1/warehouse1.lh"); scene.addChild(warehouse1); warehouse1.transform.rotate(new Laya.Vector3(0, 90, 0), false, false); warehouse1.transform.translate(new Laya.Vector3(0,0,0),false); warehouseMeshSprite3D1= warehouse1.getChildAt(0).getChildByName("Mesh1"); var shareMaterial = warehous...
来源: Laya_社区 发布时间: 20171225
...{ this.isDown = false; } public rotate(vec:Laya.Vector3):void{ this.entity.transform.rotate(vec,true,false); } 2018-01-13 添加评论 免费帖 --> 分享 微博 QZONE 微信 没有找到相关结果 已邀请: 与内容相关的链接 提交 1 个回复 Laya_Aaron 赞同来自: 你逻辑写的...
来源: Laya_社区 发布时间: 20180113
... var layaMonkey = scene.addChild(new Laya.MeshSprite3D(mesh)); layaMonkey.transform.localScale = new Laya.Vector3(0.3, 0.3, 0.3); layaMonkey.transform.rotation = new Laya.Quaternion(0.7071068, 0, 0, -0.7071067); //创建材质 var customMaterial = new Laya.MultiplePassOutlineMaterial(); //漫反射...
来源: Laya2.0_文档 发布时间: 20210715
...xHeight); 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.V...
来源: Laya_社区 发布时间: 20180113
...cene()); var camera = scene.addChild(new Laya.Camera(0, 0.1, 100)); 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...
来源: Laya_社区 发布时间: 20180614