Home | History | Annotate | Download | only in cinematic

Lines Matching refs:spline

39 import com.jme3.math.Spline;
40 import com.jme3.math.Spline.SplineType;
62 private Spline spline = new Spline();
109 for (Iterator<Vector3f> it = spline.getControlPoints().iterator(); it.hasNext();) {
116 switch (spline.getType()) {
137 Geometry lineGeometry = new Geometry("line", new Curve(spline, 0));
147 Geometry lineGeometry = new Geometry("line", new Curve(spline, 10));
155 oc.write(spline, "spline", null);
161 spline = (Spline) in.readSavable("spline", null);
173 distance = distance % spline.getTotalLength();
175 for (Float len : spline.getSegmentsLength()) {
182 return new Vector2f((float) spline.getControlPoints().size() - 1, 1.0f);
190 spline.addControlPoint(wayPoint);
198 return spline.getTotalLength();
207 return spline.getControlPoints().get(i);
215 spline.removeControlPoint(wayPoint);
223 removeWayPoint(spline.getControlPoints().get(i));
231 return spline.getControlPoints().iterator();
235 * return the type of spline used for the path interpolation for this path
236 * @return the path interpolation spline type
239 return spline.getType();
243 * sets the type of spline used for the path interpolation for this path
247 spline.setType(pathSplineType);
304 return spline.getControlPoints().size();
321 return spline.getCurveTension();
329 spline.setCurveTension(curveTension);
340 spline.clearControlPoints();
349 spline.setCycle(cycle);
365 return spline.isCycle();
368 public Spline getSpline() {
369 return spline;