Engines/FlatRedBallXNA/FlatRedBall.Content/ModelAnimation/X File/XModelImporter.cs
/// <summary>
/// Gets an absolute path of a content item
/// </summary>
/// <param name="contentItem">The content item's local filename path</param>
/// <returns>The absolute filename of the item</returns>
Gets an absolute path of a content item
Gets an absolute path of a content item
public string GetAbsolutePath(string contentItem)
        {
            if (Path.IsPathRooted(contentItem))
                return contentItem;
            string path = Path.GetDirectoryName(fileName) + Path.DirectorySeparatorChar
                + contentItem;
            return Path.GetFullPath(path);
        }
public string GetAbsolutePath ( string contentItem ) { if ( Path . IsPathRooted ( contentItem ) ) return contentItem ; string path = Path . GetDirectoryName ( fileName ) + Path . DirectorySeparatorChar + contentItem ; return Path . GetFullPath ( path ) ; }
Gets an absolute path of a content item
Gets an absolute path of a content item
The absolute filename of the item
The absolute filename of the item
contentItem
string
The content item's local filename path
The content item ' s local filename path