iClient设置节点动画,如何设置相机跟随观察。
var nodeAnmination = jeepModel.get_nodeAnimationState(); var point3Ds = new SuperMap.Web.Core.Point3Ds();
point3Ds.add(new SuperMap.Web.Core.Point3D(116.37908400829375,40.000412266054596,10)); point3Ds.add(new SuperMap.Web.Core.Point3D(116.37456379912688,40.0002477066729,10)); point3Ds.add(new SuperMap.Web.Core.Point3D(116.374649436027,39.9994226989234,10));
var geoLine3D = new SuperMap.Web.Core.GeoLine3D(); geoLine3D.addPart(point3Ds); nodeAnmination.setTrack(geoLine3D); nodeAnmination.set_isEnabled(true); nodeAnmination.set_length(30); nodeAnmination.set_timePosition(0); nodeAnmination.set_playMode(SuperMap.Web.Realspace.PlayMode.SRONCE);
另外在资源中心没有搜索到