Synced
AssetSample.GetImportName
Section titled “AssetSample.GetImportName”
- Gets the original sample directory name for a writable Project copy.
Required contracts
Section titled “Required contracts”API: engine
Project: Inno.Assets.Pipeline
Declaration
Section titled “Declaration”public static string Inno.Assets.Pipeline.AssetSample.GetImportName(Inno.Assets.AssetPath path)Parameters
Section titled “Parameters”Parameter path: A sample directory path whose final segment starts with ~.
Returns
Section titled “Returns”The unchanged final directory segment, including every leading ~.
Exceptions
Section titled “Exceptions”Exception T:System.ArgumentException: Thrown when path does not identify a sample directory or has no usable name after its prefix.