MixedRealityToolkitFiles.MapRelativeFilePath Method

Definition

Overloads

MapRelativeFilePath(String)

Maps a single relative path file to a concrete path from one of the core MRTK folders, if found. Otherwise returns null.

MapRelativeFilePath(MixedRealityToolkitModuleType, String)

Maps a single relative path file to a concrete path from one of the MRTK folders, if found. Otherwise returns null.

MapRelativeFilePath(String)

Maps a single relative path file to a concrete path from one of the core MRTK folders, if found. Otherwise returns null.

public:
 static System::String ^ MapRelativeFilePath(System::String ^ mrtkPathToFile);
public static string MapRelativeFilePath (string mrtkPathToFile);
static member MapRelativeFilePath : string -> string
Public Shared Function MapRelativeFilePath (mrtkPathToFile As String) As String

Parameters

mrtkPathToFile
String

The core MRTK folder relative path to the file.

Returns

The project relative path to the file.

Applies to

MapRelativeFilePath(MixedRealityToolkitModuleType, String)

Maps a single relative path file to a concrete path from one of the MRTK folders, if found. Otherwise returns null.

public:
 static System::String ^ MapRelativeFilePath(Microsoft::MixedReality::Toolkit::Utilities::Editor::MixedRealityToolkitModuleType module, System::String ^ mrtkPathToFile);
public static string MapRelativeFilePath (Microsoft.MixedReality.Toolkit.Utilities.Editor.MixedRealityToolkitModuleType module, string mrtkPathToFile);
static member MapRelativeFilePath : Microsoft.MixedReality.Toolkit.Utilities.Editor.MixedRealityToolkitModuleType * string -> string
Public Shared Function MapRelativeFilePath (module As MixedRealityToolkitModuleType, mrtkPathToFile As String) As String

Parameters

mrtkPathToFile
String

The MRTK folder relative path to the file.

Returns

The project relative path to the file.

Applies to