大约有 978 项符合查询结果, 库内数据总量为 30,778 项。 (搜索耗时: 0.0046 秒)
Laya_社区(516) Laya3.0_api(117) Laya2.0_文档(110) Laya2.0_api(94) laya_api(83) Laya_示例(40) Laya3.0_文档(18)
...ined;at api readFile success callback function discard property,please use transform's property instead Cannot set property text of #<Button> which has only a getter XmlDom类没有了?解析xml时,报错Property 'attributes' does not exist on type 'Node & ChildNode'. 问题状态 最...
来源: Laya_社区 发布时间: 20180709
...ction(mesh) { teapot = scene.addChild(new Laya.MeshSprite3D(mesh)); teapot.transform.position = new Laya.Vector3(0, 1.75, 2); teapot.transform.rotate(new Laya.Vector3(-90, 0, 0), false, false); })); //实例PBR材质 var pbrMat = new Laya.PBRStandardMaterial(); //开启该材质的反射 pbrMat.enab...
来源: Laya2.0_文档 发布时间: 20210715
...,且它是由20个扇形平成的圆环 this.m_vLastPos = this.m_circle.transform.localPosition; for(index = 0; index < 10; index++){ var circle = Laya.Sprite3D.instantiate(this.m_circle) this.m_pillar.addChild(circle); this.m_arrCircle.push(circle); this.m_vLastPos.y -= 60; circle.transform.lo...
来源: Laya_社区 发布时间: 20180809
...标((0,0)在屏幕左上角)的转换。 Utils3D createAffineTransformationArray(tX:Number, tY:Number, tZ:Number, rX:Number, rY:Number, rZ:Number, rW:Number, sX:Number, sY:Number, sZ:Number, outArray:Float32Array, outOffset:int):void[static] 过数平移、旋转、缩放值计算到结...
来源: laya_api 发布时间: 20170929
...votX:Number = 0, pivotY:Number = 0):void 旋转当前绘图。(推荐使用transform,性能更高) Graphics save():void 保存当前环境的状态。 Graphics scale(scaleX:Number, scaleY:Number, pivotX:Number = 0, pivotY:Number = 0):void 缩放当前绘图至更大或更小。(推荐使用trans...
来源: laya_api 发布时间: 20170929
...ild(Sprite3D.load("model/warehouse/warehouse.lh")) as Sprite3D; warehouse1.transform.rotate(new Laya.Vector3(0, 0, 0), false, false); warehouse1.transform.translate(new Laya.Vector3(-25,0,0),false); var warehouseMeshSprite3D1 :MeshSprite3D = warehouse1.getChildAt(0).getChildByName("Mesh1") as MeshSp...
来源: Laya_社区 发布时间: 20171220
... { teapot = scene.addChild(new MeshSprite3D(mesh)) as MeshSprite3D; teapot.transform.position = new Vector3(0, 1.75, 2); teapot.transform.rotate(new Vector3(-90, 0, 0), false, false); })); //实例PBR材质 var pbrMat:PBRStandardMaterial = new PBRStandardMaterial(); //开启该材质的反射 pbrMat...
来源: Laya2.0_文档 发布时间: 20210715
...ntiate(temp,scene) as Laya.MeshSprite3D; if(index == 0) { this.model.transform.position = new Laya.Vector3(0.8,0,0); } }); //===================报错====================== let temp:Laya.MeshSprite3D = Laya.MeshSprite3D.load("res/Coin/layaScene.lh") as Laya.MeshSprite3D; scene.addChil...
来源: Laya_社区 发布时间: 20180827
... camera:Camera = scene.addChild(new Camera(0, 0.1, 100)) as Camera; 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...
来源: Laya_社区 发布时间: 20180305
...yle="position: absolute; left: 0px; top: 0px; background: rgb(35, 38, 40); transform-origin: 0px 0px 0px; transform: matrix(0.333333, 0, 0, 0.333333, 0, 0);"></canvas><div style="position: absolute; z-index: 100000;"></div><div style="z-index: 10000000; padding: 0px; position...
来源: Laya_社区 发布时间: 20170322