示例#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);
        }
 /// <summary>
 /// Returns the current segment on the spline.
 /// </summary>
 public SplineSegment GetSegment()
 {
     return(Spline.GetSegment(Percent));
 }