大约有 978 项符合查询结果, 库内数据总量为 30,778 项。 (搜索耗时: 0.0055 秒)
Laya_社区(516) Laya3.0_api(117) Laya2.0_文档(110) Laya2.0_api(94) laya_api(83) Laya_示例(40) Laya3.0_文档(18)
... scaleY scene scrollRect skewX skewY stage staticCache style texture timer transform url viewport visible width x y zOrder Methods _initialize _processActive addChild addChildAt addChildren addComponent addComponentInstance addInputChild callLater clearTimer contains customRender destroyChildren dra...
来源: Laya3.0_api 发布时间: 20231102
...+ 1]]; var vertex2: Laya.Vector3 = positions[indices[i + 2]]; Laya.Vector3.transformCoordinate(vertex0, sprite3D.transform.worldMatrix, this.transVertex0); Laya.Vector3.transformCoordinate(vertex1, sprite3D.transform.worldMatrix, this.transVertex1); Laya.Vector3.transformCoordinate(vertex2, sprite3D...
来源: Laya3.0_文档 发布时间: 20241014
...rrainSprite世界矩阵(为可行走区域世界矩阵) this.terrainSprite.transform.worldMatrix = meshSprite3D.transform.worldMatrix; //给terrainSprite添加PathFind组件 var pathFingding: Laya.PathFind = this.terrainSprite.addComponent(Laya.PathFind) as Laya.PathFind; pathFingding.setting = { al...
来源: Laya_社区 发布时间: 20180309
...rrainSprite世界矩阵(为可行走区域世界矩阵) this.terrainSprite.transform.worldMatrix = meshSprite3D.transform.worldMatrix; //读取墙壁的数据 this.aStarMap = Laya.Loader.getRes("res/threeDimen/scene/TerrainScene/Assets/AStarMap.png"); //通过遮挡图生成astar网格数据 var aSt...
来源: Laya2.0_文档 发布时间: 20210715
...; //加载到场景 scene.addChild(camera); //移动摄像机位置 camera.transform.position=new Laya.Vector3(-8, 4, 15); //旋转摄像机角度 camera.transform.rotate(new Laya.Vector3( -8, -25, 0), true, false); } return scene; }()); scene(); 附件 : --> 2018-01-08 添加评论 免费帖 --> ...
来源: Laya_社区 发布时间: 20180108
...新terrainSprite世界矩阵(为可行走区域世界矩阵) terrainSprite.transform.worldMatrix = meshSprite3D.transform.worldMatrix; //读取墙壁的数据 aStarMap = Loader.getRes("res/threeDimen/scene/TerrainScene/Assets/AStarMap.png"); //通过遮挡图生成astar网格数据 var aStarArr:Arra...
来源: Laya2.0_文档 发布时间: 20210714
... scaleY scene scrollRect skewX skewY stage staticCache style texture timer transform url viewport visible width x y zOrder Methods _initialize _processActive addChild addChildAt addChildren addComponent addComponentInstance addInputChild callLater clearTimer contains customRender destroyChildren dra...
来源: Laya3.0_api 发布时间: 20231102
...._renderAll (http://192.168.1.11/slider/lib ... 243668) at d.g.transform_drawLayaGL [as _fun] (http://192.168.1.11/slider/libs/laya.core.js:1:8243) at f.t.render (http://192.168.1.11/slider/lib ... 378119) at d.g.transform_drawN 附件里面包含demo和导出...
来源: Laya_社区 发布时间: 20190823
... touch.position.y; //根据移动的距离进行旋转 (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)...
来源: Laya2.0_文档 发布时间: 20210715
...清除颜色 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(new Camera(0, 0.1, 100)) as Camera; cam...
来源: Laya2.0_文档 发布时间: 20210715