コード例 #1
0
 /// <summary>
 /// Retrieve the source position for a given relative position (TF)
 /// </summary>
 /// <param name="tf">relative position</param>
 /// <returns>
 /// a world position
 /// </returns>
 protected override Vector3 GetInterpolatedSourcePosition(float tf)
 {
     return((Space == Space.World) ? Path.Module.Generator.transform.TransformPoint(PathData.InterpolatePosition(tf)) : PathData.InterpolatePosition(tf));
 }