Enfusion Script API
Loading...
Searching...
No Matches
Public Member Functions | List of all members
ResourceManagerPlugin Interface Reference
Inheritance diagram for ResourceManagerPlugin:
[legend]

Public Member Functions

void OnRegisterResource (string absFileName, BaseContainer metaFile)
 
BuildResourceContext OnBuildResource (string absFileName, BaseContainer metaFile, GeneratedResources generatedResources)
 
void OnRenameResource (string absFileNameOld, string absFileNameNew, BaseContainer metaFile)
 
string OnGetMaterialGenerateDir (string absModelPath)
 Returns a directory where new default materials may be generated for given mesh object model (absModelPath).
 
string OnGetMaterialClassName (string absMaterialPath, GeneratedResources generatedResources)
 Returns suggested MaterialClass name for given material path.
 
void OnMaterialCreated (string absMaterialPath, BaseContainer materialSrc, GeneratedResources generatedResources)
 
- Public Member Functions inherited from WorkbenchPlugin
void Run ()
 
void RunCommandline ()
 
void Configure ()
 
void OnResourceContextMenu (notnull array< ResourceName > resources)
 
- Public Member Functions inherited from Managed
proto external ref Managed Clone ()
 Return shallow copy of object, or null if it is not allowed (not public constructor)
 

Member Function Documentation

◆ OnBuildResource()

BuildResourceContext ResourceManagerPlugin.OnBuildResource ( string  absFileName,
BaseContainer  metaFile,
GeneratedResources  generatedResources 
)

◆ OnGetMaterialClassName()

string ResourceManagerPlugin.OnGetMaterialClassName ( string  absMaterialPath,
GeneratedResources  generatedResources 
)

Returns suggested MaterialClass name for given material path.

◆ OnGetMaterialGenerateDir()

string ResourceManagerPlugin.OnGetMaterialGenerateDir ( string  absModelPath)

Returns a directory where new default materials may be generated for given mesh object model (absModelPath).

Implemented in ResourceImportPlugin.

◆ OnMaterialCreated()

void ResourceManagerPlugin.OnMaterialCreated ( string  absMaterialPath,
BaseContainer  materialSrc,
GeneratedResources  generatedResources 
)

◆ OnRegisterResource()

void ResourceManagerPlugin.OnRegisterResource ( string  absFileName,
BaseContainer  metaFile 
)

◆ OnRenameResource()

void ResourceManagerPlugin.OnRenameResource ( string  absFileNameOld,
string  absFileNameNew,
BaseContainer  metaFile 
)

Implemented in TextureImportPlugin.


The documentation for this interface was generated from the following file: