大约有 1,200 项符合查询结果, 库内数据总量为 30,897 项。 (搜索耗时: 0.0141 秒)
Laya_社区(569) Laya3.0_api(166) Laya2.0_文档(165) Laya2.0_api(116) laya_api(115) Laya_示例(43) Laya3.0_文档(26)
...se1.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 = warehouseMeshSprite3D1.meshRender....
来源: Laya_社区 发布时间: 20171225
...,形状都变了呢? meshbox.transform.worldMatrix.setForward(new Laya.Vector3(1, -1, 1)); 附件 : --> 2019-09-26 添加评论 免费帖 --> 分享 微博 QZONE 微信 没有找到相关结果 已邀请: 与内容相关的链接 提交 1 个回复 aplsong 赞同来自: directionLight.t...
来源: Laya_社区 发布时间: 20190926
...arent.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(this.color.r,this.c...
来源: Laya_社区 发布时间: 20180113
...根据移动的距离进行旋转 (owner as Sprite3D).transform.rotate(new Vector3(1 * deltaY /2, 1 * deltaX / 2, 0), true, false); } } else if (2 === touchCount){ _text.text = "触控点为2"; isTwoTouch = true; //获取两个触碰点 var touch:Touch = _scene.input.getTouch(0); var touch2:Touch = ...
来源: Laya2.0_文档 发布时间: 20210715
...0.1, 100)) as Camera; //设置相机1清除颜色 camera1.clearColor = new Vector4(0.3, 0.3, 0.3, 1.0); camera1.transform.translate(new Vector3(0, 0, 1.5)); //设置裁剪空间的视口 camera1.normalizedViewport = new Viewport(0, 0, 0.5, 1.0); //创建相机2 var camera2:Camera = scene.addChild(ne...
来源: Laya2.0_文档 发布时间: 20210715
...tShadowMap setInfo(scene:Scene3D, maxDistance:Number, globalParallelDir:Vector3, shadowMapTextureSize:int, numberOfPSSM:int, PCFType:int):voidParallelSplitShadowMap setPCFType(PCFtype:int):voidParallelSplitShadowMap setShadowMapTextureSize(size:int):voidParallelSplitShadowMapProperty Detail...
来源: Laya2.0_api 发布时间: 20190513
...eckHit); var hit = new Laya.RaycastHit(); var point = new Laya.Vector2(); var ray = new Laya.Ray(new Laya.Vector3(0, 0, 0), new Laya.Vector3(0, 0, 0)); function checkHit() { //从屏幕空间生成射线 point.elements[0] = Laya.MouseManager.instance.m...
来源: Laya_社区 发布时间: 20170915
...a (UnityEngine.GameObject gameObject, .JSONObject node, .JSONObject child, Vector3 position, Quaternion rotation, Vector3 scale, System.String& goPath) LayaExport.DataManager.getGameObjectData (UnityEngine.GameObject gameObject, System.String gameObjectPath, .JSONObject parentsChildNodes, Boolea...
来源: Laya_社区 发布时间: 20171106
...; //根据移动的距离进行旋转 this.owner.transform.rotate(new Laya.Vector3(1 * deltaY /2, 1 * deltaX / 2, 0), true, false); } } else if (2 === touchCount){ this._text.text = "触控点为2"; this.isTwoTouch = true; //获取两个触碰点 var touch = this._scene.input.getTouch(0); var touch2...
来源: Laya2.0_文档 发布时间: 20210715
...; //根据移动的距离进行旋转 this.owner.transform.rotate(new Laya.Vector3(1 * deltaY /2, 1 * deltaX / 2, 0), true, false); } } else if (2 === touchCount){ this._text.text = "触控点为2"; this.isTwoTouch = true; //获取两个触碰点 var touch = this._scene.input.getTouch(0); var touch2...
来源: Laya2.0_文档 发布时间: 20210715