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.

C++
public:
 static System::String ^ MapRelativeFilePath(System::String ^ mrtkPathToFile);

Parameters

mrtkPathToFile
String

The core MRTK folder relative path to the file.

Returns

The project relative path to the file.

Applies to

MRTK2 Unity 2018 2.7.0 et autres versions
Produit Versions
MRTK2 Unity 2018 2.5.0, 2.5.1, 2.5.2, 2.5.3, 2.5.4, 2.6.0, 2.7.0
MRTK2 Unity 2019 2.5.0, 2.5.1, 2.5.2, 2.5.3, 2.5.4, 2.6.0, 2.7.0, 2.8.0
MRTK2 Unity 2020 2.5.2, 2.5.3, 2.5.4, 2.6.0, 2.7.0, 2.8.0

MapRelativeFilePath(MixedRealityToolkitModuleType, String)

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

C++
public:
 static System::String ^ MapRelativeFilePath(Microsoft::MixedReality::Toolkit::Utilities::Editor::MixedRealityToolkitModuleType module, System::String ^ mrtkPathToFile);

Parameters

mrtkPathToFile
String

The MRTK folder relative path to the file.

Returns

The project relative path to the file.

Applies to

MRTK2 Unity 2018 2.7.0 et autres versions
Produit Versions
MRTK2 Unity 2018 2.5.0, 2.5.1, 2.5.2, 2.5.3, 2.5.4, 2.6.0, 2.7.0
MRTK2 Unity 2019 2.5.0, 2.5.1, 2.5.2, 2.5.3, 2.5.4, 2.6.0, 2.7.0, 2.8.0
MRTK2 Unity 2020 2.5.2, 2.5.3, 2.5.4, 2.6.0, 2.7.0, 2.8.0