getAsset
Summary
Retrieve a registered file asset by its virtual path.Signature
Parameters
path
Type:string
Virtual path of the asset (e.g. “/textures/hero.png”).
Returns
Type:NfFile
Retrieve a registered file asset by its virtual path.
Documentation Index
Fetch the complete documentation index at: /llms.txt
Use this file to discover all available pages before exploring further.
Retrieve a registered file asset by its virtual path.
getAsset(path: string): NfFile;
string
Virtual path of the asset (e.g. “/textures/hero.png”).
NfFile
Retrieve a registered file asset by its virtual path.