大约有 1,194 项符合查询结果, 库内数据总量为 30,778 项。 (搜索耗时: 0.0049 秒)
Laya_社区(568) Laya3.0_api(166) Laya2.0_文档(165) Laya2.0_api(116) laya_api(115) Laya_示例(43) Laya3.0_文档(21)
...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
...么被折叠? 0 个回复被折叠 要回复问题请先登录 发起人 vector 1 相关问题 LayaAir3D UnityPlugin 使用须知-版本更新-问题解答(最新版本:1.7.16) Layabox 2.0 bate5 运行编译之后 bundle.js 文件里面没有使用命名空间类文件的定义!导致运行...
来源: Laya_社区 发布时间: 20190405
... transformUV.offset = new Vector2(0.099,0); mat.transformUV = transformUV; } var twoMc:MeshSprite3D = Sprite3D.instant...
来源: Laya_社区 发布时间: 20170311