public void SetCurves()
 {
     x.keys = keysx.ToArray();
     CurveUtilities.SetTangents(x, CurveTangentMode.smooth);
     y.keys = keysy.ToArray();
     CurveUtilities.SetTangents(y, CurveTangentMode.smooth);
     z.keys = keysz.ToArray();
     CurveUtilities.SetTangents(z, CurveTangentMode.smooth);
 }
Пример #2
0
 public void SetCurves()
 {
     curvex.keys = keysx.ToArray();
     curvex      = CurveUtilities.SetTangents(curvex, CurveTangentMode.smooth);
     curvey.keys = keysy.ToArray();
     curvey      = CurveUtilities.SetTangents(curvey, CurveTangentMode.smooth);
     curvez.keys = keysz.ToArray();
     curvez      = CurveUtilities.SetTangents(curvez, CurveTangentMode.smooth);
     curvew.keys = keysw.ToArray();
     curvew      = CurveUtilities.SetTangents(curvew, CurveTangentMode.smooth);
 }
Пример #3
0
    public void SetCurves()
    {
        curveX.keys = keysX.ToArray();
        curveX      = CurveUtilities.SetTangents(curveX, CurveTangentMode.smooth);

        curveY.keys = keysY.ToArray();
        curveY      = CurveUtilities.SetTangents(curveY, CurveTangentMode.smooth);

        curveZ.keys = keysZ.ToArray();
        curveZ      = CurveUtilities.SetTangents(curveZ, CurveTangentMode.smooth);
    }
Пример #4
0
 public void SetCurves()
 {
     curve.keys = keys.ToArray();
     curve      = CurveUtilities.SetTangents(curve, CurveTangentMode.smooth);
 }