API / convertAlias
Function: convertAlias()
ts
function convertAlias(from: string, to: string): string;Defined in: pixi/PixiAssetsUtil.ts:41
Convert the alias of an asset from one path to another.
Parameters
| Parameter | Type | Description |
|---|---|---|
from | string | The original alias path. |
to | string | The new alias (file name). |
Returns
string
The new alias path.
