Exemplo n.º 1
0
        /// <summary>
        /// Returns info about a segment on the spline.
        /// </summary>
        static public SplineSegment GetSegment(this ISpline inSpline, float inPercent)
        {
            SplineSegment seg;

            inSpline.GetSegment(inPercent, out seg);
            return(seg);
        }
Exemplo n.º 2
0
 /// <summary>
 /// Returns the current segment on the spline.
 /// </summary>
 public SplineSegment GetSegment()
 {
     return(Spline.GetSegment(Percent));
 }